function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { real_url = url_str.split('/'); real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/'; } return real_url; } function goLocate(go_url) { document.location = purl + go_url; } $(document).ready(function(){ $("div#menu").bind("focusin mouseover" , function(){$(this).stop(true).animate({ "height" : "150px" }, 200); }).bind("focusout mouseleave" , function(){$(this).stop(true).animate({ "height" : "35px" }, 200); }); $("div#menu ul li.mainmenu").hover(function() { $(">a", this).addClass("on"); },function(){ $(">a", this).removeClass("on"); }); });