$(document).ready(function() {
	$("#content").fadeIn(3000);
	$('#top-nav-level-2').droppy();
	$('#thumb-gallery').cycle({ 
    	fx:     'fade', 
    	speed:  500,
    	timeout: 0,
    	prev: '#thumb-galllery-back', 
    	next: '#thumb-galllery-next' 
	});
	$('#gallery').cycle({ 
    	fx:     'fade', 
    	speed:  1000, 
    	timeout: 0,
    	pager:  '#thumb-gallery', 
    	pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#thumb-gallery li:eq(' + idx + ') a'; 
    	} 
	});
	$("#top-left-panel").hover(function(){
    $("#top-left-panel-overlay").fadeIn("slow");
	},
	function(){
    $("#top-left-panel-overlay").fadeOut();
	});
	
	$("#top-right-panel").hover(function(){
    $("#top-right-panel-overlay").fadeIn("slow");
	},
	function(){
    $("#top-right-panel-overlay").fadeOut();
	});
	
	$("#mid-left-panel").hover(function(){
    $("#mid-left-panel-overlay").fadeIn("slow");
	},
	function(){
    $("#mid-left-panel-overlay").fadeOut();
	});
	
	$("#bottom-left-panel").hover(function(){
    $("#bottom-left-panel-overlay").fadeIn("slow");
	},
	function(){
    $("#bottom-left-panel-overlay").fadeOut();
	});
	
	$("#bottom-right-panel").hover(function(){
    $("#bottom-right-panel-overlay").fadeIn("slow");
	},
	function(){
    $("#bottom-right-panel-overlay").fadeOut();
	});
					   
   
    	
 $('#btm-body-text').toggleElements( { fxAnimation:'slide', fxSpeed:1000 } );
    	



});
