
// JavaScript Document
/*
Christmas Time
	to display christmas items
	change
	isChristmas = 0;
	 to 
	isChristmas = 1; 
*/
isChristmas = 0;
function makePDFsInNewWindow() { 
 if (!document.getElementsByTagName) return; 
 var anchors = $('a'); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && (anchor.getAttribute("class") == "pdf" || anchor.getAttribute("class") == "blank")) 
     anchor.target = "_blank"; 
 } 
}


function showChristmasMenusAndStuff()
{
	if(isChristmas)
	{
		if($('#christmas_time'))
		{
		  $('#christmas_time').css('display','block');
		}
		if($('#christmas_time1'))
		{
		  $('#christmas_time1').css('display','block');
		}
	}
}

$(document).ready(function(){
	makePDFsInNewWindow();
	showChristmasMenusAndStuff();
  $('#fader').cycle()
	$('#menu').lavaLamp({
		speed:300,
		click:function(event, menuItem) {return false;}
	});
});