// JavaScript Document
// shadowbox-options.js

	var shadowbox_conf = {
		adapter: "mootools",
		language: "en",
		players: ["iframe", "img", "qt", "swf"], // "wmp", "flv", "html", 
		animate: true,
		animateFade: true,
		animSequence: "sync",
		autoDimensions: false,
		modal: false,
		showOverlay: true,
		overlayColor: "#000",
		overlayOpacity: 0.8,
		//flashBgColor: "#000000",
		autoplayMovies: true,
		showMovieControls: true,
		slideshowDelay: 0,
		resizeDuration: 0.35,
		fadeDuration: 0.35,
		displayNav: true,
		continuous: false,
		displayCounter: true,
		counterType: "default",
		counterLimit: 10,
		viewportPadding: 20,
		handleOversize: "resize",
		handleUnsupported: "link",
		//initialHeight: 160,
		//initialWidth: 320,
		enableKeys: true,
		skipSetup: false,
		flashParams: {allowFullScreen:true}, //bgcolor:"#000000", 
		flashVars: {},
		flashVersion: "9.0.0"
	};
	Shadowbox.init(shadowbox_conf);
	
	
	/*
	
	// If you want to postpone Shadowbox.setup()
	Shadowbox.init({
		 // skip the automatic setup, we'll do this later manually
		 skipSetup: true,
		 // include the quicktime and windows media player players for playing
		 // movies (assuming we have some movies we want to show in either of
		 // those formats)
		 players: ["qt", "wmp", "img"]
	});
	
	window.onload = function(){
		 // set up all anchor elements with a "movie" class to work with Shadowbox
		 Shadowbox.setup("a.moview", {
			  //gallery:            "My Movies",
			  //autoplayMovies:     true
		 });
	
	};
	
	// To call specific Shadowbox functions
	function loadMySupaDupaFantasticPage(){
		Shadowbox.open({
			player: 'html',
			content: 'http://some.url',
			height: 100,
			width: 200,
			title: 'title'
		});
	};
	
	*/
	