
$('document').ready(function(){

$('.mdiv').mouseover(function(){
$(this).addClass('jmact');
}).mouseout(function(){
$(this).removeClass('jmact');
});


$('.msub > a').mouseover(function(){
$(this).addClass('mover');
}).mouseout(function(){
$(this).removeClass('mover');
});

var aact = $("a.act").parent();
//alert(!$(aact).is(".mtop"));
//aact = $(aact).parent();
//alert(!$(aact).is(".mtop"));
var num = 0;

while(!$(aact).is(".mtop")){
	//alert($(aact).html());
	aact = $(aact).parent();	
	num++;
	if(num>10){ return false; }
}

$(aact).removeClass('hide');




});



