var domain = ""; var website = '美女娱乐社区-最全的美女模特图片门户网!'; var curUrl = window.location.href; var curTitle = document.title; var enUrl = encodeURIComponent(curUrl); var enTitle = encodeURIComponent(curTitle); function SetFavorite(sURL, sTitle) { try { window.external.addFavorite('http://www.jiuxiuwang.com/?fav', website); } catch(e) { try { window.sidebar.addPanel("http://www.jiuxiuwang.com/?fav", ""); } catch(e) { alert("加入收藏失败,请使用Ctrl+D进行添加"); } } } function SetHome(obj) { vrl = 'http://'+domain+'/'; try { obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl+"?setHome"); } catch(e) { if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch(e) { alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。"); } var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref('browser.startup.homepage', vrl+"?setHome"); } } } if(document.URL=="http://www.jiuxiuwang.com/"||document.URL=="http://www.jiuxiuwang.com/"){document.getElementById("home").className="cur";} var _cur=document.getElementById("nav").getElementsByTagName("li")[4]; _cur.innerHTML=_cur.innerHTML+"";