$(document).ready 

( 
function() 
{
	//str=window.location.href;
   //aa=str.split("/");
   //alert(str);
   //alert($("a[href='"+str+"']").parent("li").className);

   //$("a[href='"+str+"']").parent("li").className="varbj1";
	if($.cookie('ch')!=null)
	{
		$('.maintop_var_m_top li').get($.cookie('ch')).className="varbj1";
		
		}
	else
	{
		$('.maintop_var_m_top li').get(4).className="varbj1";
		}
	
    $(".varbj2").mouseover(function() { this.className = "varbj1"; });
    $(".varbj2").mouseout(function() { this.className = "varbj2"; });
	$('.maintop_var_m_top li').bind('click',function(){
	$.cookie('ch',$('.maintop_var_m_top li').index(this))
	this.className="varbj1";
            });
	
	
}
);