var navHider=function(){var showNav=function(){clearTimeout(navHideTimer);$('#navigation-wrapper').slideDown("slow");};var hideNav=function(){clearTimeout(navHideTimer);navHideTimer=setTimeout(navHider,1000);};$('#header').mouseenter(showNav);$('#header a').focus(showNav);$('#header a').blur(hideNav);$('#content').mouseover(hideNav);var navHider=function(){$('#navigation-wrapper').slideUp("slow",function(){});}
$(window).scroll(function(){clearTimeout(navHideTimer);$('#navigation-wrapper').slideUp(100);});var navHideTimer=0;};


var revealContent=function(){$('#content').each(function(){$contentEl=$(this);$('>div',$contentEl).each(function(){if($(this).css("float")=="right")return true;$('>*',this).not('.dropdown-menu').each(function(){var $blockEl=$(this);var nodeSet=[this];if((!$.browser.msie||$.browser.version>7)&&this.tagName=='P')nodeSet=$('>*',this);$(nodeSet).each(function(){var $subEl=$(this);$subEl.css('visibility','hidden');$contentEl.queue(function(){$subEl.hide().css('visibility','visible').fadeIn(200,function(){$contentEl.dequeue();$subEl.css('visibility','visible');if($.browser.msie)this.style.removeAttribute("filter");});});});});});$contentEl.queue(function(){initVideo();});});}

$(document).ready(function(){
						   
																																																																																																																																																																																																																																																																																																																																																																																												
			
		
			
			
			  $('#slider').nivoSlider({
            
                effect:'boxRain',
                animSpeed:1500,
                pauseTime:7000,
				boxCols: 10, // For box animations
        		boxRows: 7, // For box animations
				controlNav:false,
            });
        

			
			
			});
			
			
/*
NIVO SLIDER EFFECTS

sliceDown
sliceDownLeft
sliceUp
sliceUpLeft
sliceUpDown
sliceUpDownLeft
fold
fade
random
slideInRight
slideInLeft
boxRandom
boxRain
boxRainReverse
boxRainGrow
boxRainGrowReverse
*/


	
	
		




