function hideprod(){if(document.getElementById("tc0")) document.getElementById("tc0").style.display = "none";} function dosearch(){var s=jQuery.trim(document.getElementById("txtkey").value); if(s!=""){window.open("/BeautifulSkin/BeautifulSkinList-0-"+ geturlencode(s) +".html");}} function geturlencode(ss){var s="";jQuery.ajax({type:"post",url:"/ajax.aspx",data:"mode=urlencode&s="+escape(ss),async:false,success:function(data){s=data;}});return s;} function AddFavorite(sURL, sTitle) { try{window.external.addFavorite(sURL, sTitle);} catch (e){try{window.sidebar.addPanel(sTitle, sURL, "");}catch (e){alert("加入收藏失败,请使用Ctrl+D进行添加");}} }
//function openurl() //{ // var url = ""; // if(location.href.indexOf("quheitou")>0) // { // //url = "http://www.xifuquan.com/product/ps-heitouquanneng-100-1.html"; // url = "http://www.xifuquan.com/Topics/xfqqht.html?f=qhtseo"; // } // else if(location.href.indexOf("qudou")>0) // { // //url = "http://www.xifuquan.com/tuiguang/vip.aspx"; // url = "http://www.xifuquan.com/tuiguang/vip.aspx?f=qdseo"; // } // else if(location.href.indexOf("bushui")>0) // { // //url = "http://www.xifuquan.com/topics/bushui.aspx"; // url = "http://www.xifuquan.com/topics/bushui.aspx?f=bsseo"; // } // else if(location.href.indexOf("meibai")>0) // { // //url = "http://www.xifuquan.com/product/ps-tyyingrunshuininglu-198-1.html"; // url = "http://www.xifuquan.com/topics/2011/ztmb.html?f=mbseo"; // } // else if(location.href.indexOf("quban")>0) // { // //url = "http://www.xifuquan.com/quban/"; // url = "http://www.xifuquan.com/Topics/xfqnjjb.html?f=qbseo"; // } // else // { // //url = "http://www.xifuquan.com/tuiguang/vip.aspx"; // url = "http://www.xifuquan.com/tuiguang/vip.aspx?f=dyseo"; // } // //url = "http://www.xifuquan.com/Topics/2011/JuhuiFriday.aspx"; // //koyoz.launchURL(url); //} //function openinit() //{ //document.body.innerHTML += ''; //} //eval("window.attachEvent('onload',openinit);"); //eval("window.attachEvent('onunload',openurl);");