/* DROP DOWN MENU SCRIPT */
$(document).ready(function() {
		$('nav#main-navigation ul > li').bind('mouseover', openSubMenu);
		$('nav#main-navigation ul > li').bind('mouseout', closeSubMenu);
		
		function openSubMenu() {
			$(this).find('ul').css('visibility', 'visible');	
		};
		
		function closeSubMenu() {
			$(this).find('ul').css('visibility', 'hidden');	
		};
				   
});
/* END SCRIPT */

/* TEAM SCRIPT */
$(document).ready(function(){
				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute

				//Horizontal Sliding
				$('.boxgrid.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});
				
			});
/* END SCRIPT */


/* TOGGLE SCRIPT */
(function($) { //* hide the namespace


$(document).ready(function(){

	//Hide (Collapse) the toggle containers on load
	$(".toggle_container").hide(); 

	//Switch the "Open" and "Close" state per click
	$("h2.trigger").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});

	//Slide up and down on click
	$("h2.trigger").click(function(){
		$(this).next(".toggle_container").slideToggle("slow");
	});

});

})(jQuery); //* hide the namespace
/* END SCRIPT */


/* TEAM SCRIPT */
$(document).ready(function(){
				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute

				//Horizontal Sliding
				$('.boxgrid.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});
				
			});
/* END SCRIPT */

































