// initialise Superfish 
 
    $(document).ready(function() { 
        $('ul#nav').superfish({ 
            delay:       100,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'fast',                          // faster animation speed 
            autoArrows:  false                           // disable generation of arrow mark-up 
        });
		
		//Team Slide Toggle
		$(".full-bio").hide();			   
		$('.more').click(function () {	
							   
		if($(this).hasClass('switch'))  {  $(this).html("Read More &darr;"); $(this).removeClass('switch'); }
		else 													{ $(this).html("Close &uarr;"); $(this).addClass('switch'); }
						                 
		
     	$(this).prev().slideToggle('slow');
    });
		
		//IE Browser Support
		if ($.browser.msie) {
		$('ul#nav li ul li:first-child, .sub-nav li:first-child').css('border-top', 'none');
		$('ul#nav li ul li:last-child, .sub-nav li:last-child').css('border-bottom','none');
	}
	
	//header-image slidedown
		//$("#company-img-head").hoverIntent({
			//sensitivity: 3, 
			//interval: 100, 
			//over: expand, 
			//timeout: 500, 
			//out: retract
		//});
	
	//header-image slidedown
		$("#google-maps-img-head").hoverIntent({
			sensitivity: 3, 
			interval: 100, 
			over: expandgoogle, 
			timeout: 500, 
			out: retractgoogle
		});
	});
	function expand(){ $(this).animate({"height":140},500);}
	function retract(){ $(this).animate({"height":60},500);}
	function expandgoogle(){$(this).animate({"height":500},500);}
	function retractgoogle(){$(this).animate({"height":140},500);}


