// JavaScript Document

			var options = {
				resizeLgImages:     true,
				displayNav:         false,
				handleUnsupported:  'remove',
				keysClose:          ['c', 27], // c or esc
				autoplayMovies:     false,
				handleLgImages: 'drag'
			};

			function accSet(dataset)
			{
				$(dataset).Accordion(
					{
						headerSelector: 'dt',
						panelSelector: 'dd',
						activeClass: 'accActive',
						hoverClass: 'accHover',
						panelHeight: 350,
						speed: 200
					}
				);
			}


		
		function loader(loc)
				{
				if (s===true)
					{
						$("div#thisweek").hide();
						$("#front-media").hide();
					}
				if (l===true)
					{
						$("div#centr").hide();
					}
				if (n===true)
					{
						$("div#not-front").hide();
						$("div#bknd").fadeIn(1000);
					}
				if (siz===true)
				{
					$("div#sizzler").hide();
					$("div#siz-centr").hide();
					$("div#bknd").fadeIn(1000);
				}
				$("#centr").load(loc, function()
					{
						accSet('#seasondata');
						Shadowbox.clearCache();
						Shadowbox.setup();
						$("div#centr").fadeIn(2000);
						$("dl#seasondata").before("<ul class='archnav'><li class='arch'> <a href='directory.html'>Directory</a></li><li class='arch' onclick='cl()'><a href=#>Close</a></li></ul>");
						$(".synops").corner("round 15px");
						l=true;
						s=false;
						siz=false;
					});
				
				}
				
				
				
				
		function sizzler(loc)
				{
					$("#front-media").hide();
							
						if (s===true || siz===false)
							{
								$("div#thisweek").hide();
								$("div#bknd").hide();
								$("div#sizzler").fadeIn(4000);
							}
						if (l===true)
							{
								$("div#centr").hide();
							}
						if (n===true)
							{
								$("div#not-front").hide();
								$("div#sizzler").fadeIn(2500);
							}

						if (siz===false)
							{
								$("div#sizzler").fadeIn(4000);
							}
							
						$("#siz-centr").load(loc, function()
							{
								accSet('#sizzlerdata');
								Shadowbox.clearCache();
								Shadowbox.setup();
								$("#siz-centr").hide();
								$("dl#sizzlerdata").before("<ul class='archnav'><li class='arch'> <a href='directory.html'>Directory</a></li><li class='arch' onclick='sizcl()'><a href=#>Close</a></li></ul>");
								$(".synops").corner("round 15px");
								siz=true;
								s=false;
								$("div#siz-centr").fadeIn(5000);
								
								
							});
					
				}
				
	function timedCl()
	{
	var t=setTimeout('$("div#bknd").fadeIn(1000);', 3000);
	}
	
		function epMusic()
			{
				$(".musicBtn").hide();
				$(".epMusic").fadeIn(1500);
			}
		function cl()
			{
				if (l===true)
					{
						$("div#centr").fadeOut("fast");
					}
			}
			
		function sizcl()
			{
				if (siz===true)
					{
						$("div#sizzler").fadeOut(3000);
						timedCl();
						siz=false;
					}
			}
		
		
		startList = function() {
			if (document.all&&document.getElementById) {
			navRoot = document.getElementById("nav");
			for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
			node.onmouseover=function() {
			this.className+=" over";
			  };
			  node.onmouseout=function() {
			  this.className=this.className.replace(" over", "");
			   };
			   }
			  }
			 }
			};
			window.onload=startList;