//mod by Lee
 
$j(document).ready(function(){
							
 
	//var highestCol = Math.max($j('#ileft').height(),$j('#iright').height());
 	 //$j('.eqheight').height(highestCol); 
			  
 


        var hide = false;

            $j("#productPanel").fadeOut("fast");
			$j("#downloadsPanel").fadeOut("fast");
			$j("#anthem_panel").fadeOut("fast");
			$j("#statement_panel").fadeOut("fast");
        

		//Products Panel
		
		$j("li.item21 a").hover(function(){

            if (hide) clearTimeout(hide);

            $j("#productPanel").fadeIn();
			$j("#downloadsPanel").fadeOut("fast");
			$j("#anthem_panel").fadeOut("fast");
			$j("#statement_panel").fadeOut("fast");

        }, function() {

            hide = setTimeout(function() {$j("#productPanel").fadeOut("fast");}, 50);

        });

        $j("#productPanel").hover(function(){

            if (hide) clearTimeout(hide);
 
        }, function() {

            hide = setTimeout(function() {$j("#productPanel").fadeOut("fast");}, 50);

        });

		

		//Downloads Panel
		
		$j("li.item20 a").hover(function(){

            if (hide) clearTimeout(hide);

            $j("#downloadsPanel").fadeIn();
			$j("#productPanel").fadeOut("fast");
			$j("#anthem_panel").fadeOut("fast");
			$j("#statement_panel").fadeOut("fast");

        }, function() {

            hide = setTimeout(function() {$j("#downloadsPanel").fadeOut("fast");}, 50);

        });

        $j("#downloadsPanel").hover(function(){

            if (hide) clearTimeout(hide);

        }, function() {

            hide = setTimeout(function() {$j("#downloadsPanel").fadeOut("fast");}, 50);

        });
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
				//Brand Anthem Panel
		
		$j("li.brand_anthem a#at").hover(function(){

            if (hide) clearTimeout(hide);

            $j("#anthem_panel").fadeIn();
 		$j("#statement_panel").fadeOut("fast");
        	$j("#downloadsPanel").fadeOut();
		$j("#productPanel").fadeOut("fast");
			
			}, function() {

            hide = setTimeout(function() {$j("#anthem_panel").fadeOut("fast");}, 50);

        });

        $j("#anthem_panel").hover(function(){

            if (hide) clearTimeout(hide);
			$j("li.brand_anthem a#at").addClass("on")

			

        }, function() {

            hide = setTimeout(function() {$j("#anthem_panel").fadeOut("fast");}, 50);
			$j("li.brand_anthem a#at").removeClass("on")

        });

		

		//Brand Anthem Statement Panel
		
		$j("li.brand_statement a#st").hover(function(){

            if (hide) clearTimeout(hide);

            $j("#statement_panel").fadeIn();
			$j("#anthem_panel").fadeOut("fast");
            $j("#downloadsPanel").fadeOut();
			$j("#productPanel").fadeOut("fast");
			
			}, function() {

            hide = setTimeout(function() {$j("#statement_panel").fadeOut("fast");}, 50);

        });

        $j("#statement_panel").hover(function(){

            if (hide) clearTimeout(hide);
			$j("li.brand_statement a#st").addClass("on")


        }, function() {

            hide = setTimeout(function() {$j("#statement_panel").fadeOut("fast");}, 50);
			$j("li.brand_statement a#st").removeClass("on")
        });


		

		

    });
    
 
