/**
 * This is the Setting file
 *
 * This file is part of Shadowbox.
 *
 * Shadowbox is an online media viewer application that supports all of the
 * web's most popular media publishing formats. Shadowbox is written entirely
 * in JavaScript and CSS and is highly customizable. Using Shadowbox, website
 * authors can showcase a wide assortment of media in all major browsers without
 * navigating users away from the linking page.
 *
 * Shadowbox is released under version 3.0 of the Creative Commons Attribution-
 * Noncommercial-Share Alike license. This means that it is absolutely free
 * for personal, noncommercial use provided that you 1) make attribution to the
 * author and 2) release any derivative work under the same or a similar
 * license.
 *
 *
 * @author      Michael J. I. Jackson <mjijackson@gmail.com>
 * @copyright   2007-2008 Michael J. I. Jackson
 * @license     http://creativecommons.org/licenses/by-nc-sa/3.0/
 * @version     SVN: $Id: skin.js 108 2008-07-11 04:19:01Z mjijackson $
 */


Shadowbox.loadSkin('classic', '_js/shadowbox-skin');
Shadowbox.loadLanguage('en', '_js/shadowbox-lang');
Shadowbox.loadPlayer(['img','iframe'], '_js/shadowbox-player');

window.addEvent("domready", function() {
		Shadowbox.init({
			resizeDuration: 0.2,
			fadeDuration: 0.5,
			overlayOpacity: 0.8,
			overlayColor: "#222",
			animSequence: "sync",
			animate: "true",
			animateFade: "true",
			onOpen : function(o) { $('shadowbox').className = o.player; }
		});
});



