function addCookie(){ try{ window.external.AddFavorite('http://30tc080.ganqi.net/','<%enter_name%>'); }catch(e){ (window.sidebar)?window.sidebar.addPanel('<%enter_name%>','http://30tc080.ganqi.net/',''):alert('请使用按键 Ctrl+d,收藏<%enter_name%>'); } } function setHomepage(){  // 设置首页 try{ document.body.style.behavior = 'url(#default#homepage)'; document.body.setHomePage('http://30tc080.ganqi.net/'); }catch(e){ if (window.netscape){ try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); }catch (e) { alert("该操作被浏览器拒绝,如果想启用该功能,请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true"); } }else{ alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将'http://30tc080.ganqi.net/'设置为首页。"); }; } } $(function(){ //导航条鼠标滑过; $(".menu_980 ul li").hover(function(){ $(this).children("span").children("a").addClass("ov"); $(this).siblings().children("span").children("a").removeClass("ov"); $(this).children("dl").show(); }, function(){ $(this).children("span").children("a").removeClass("ov") $(this).children("dl").hide(); }); }); $(function(){ //导航条鼠标滑过; $(".menu ul li").hover(function(){ $(this).children("span").children("a").addClass("ov"); $(this).siblings().children("span").children("a").removeClass("ov"); $(this).children("dl").show(); }, function(){ $(this).children("span").children("a").removeClass("ov") $(this).children("dl").hide(); }); }); $(function(){ $('a,input[type="button"],input[type="submit"],map,area').bind('focus',function(){ if(this.blur){ this.blur(); }; }); });