function getdomian1(str,type) { str=str.replace("http://","") str=str.replace("http:\\","") str=str.replace("https://","") str=str.replace("https:\\","") index= str.indexOf("#"); if( index != -1) str = str.substring(0, index); index= str.indexOf("?"); if( index != -1) str = str.substring(0, index); return str } function getdomian2(str,type) { index= str.indexOf("?"); if( index != -1) str = str.substring(0, index); str=str.replace("?","6982") str=str.replace("=","6993") str=str.replace("&","6964") return str } function getdomian(str,type) { str=str.replace("http://","") str=str.replace("http:\\","") str=str.replace("https://","") str=str.replace("https:\\","") var index = str.indexOf(":"); if (index != -1) str = str.substring(0, index); index= str.indexOf("/"); if( index != -1) str = str.substring(0, index); index= str.indexOf("\\"); if( index != -1) str = str.substring(0, index); index= str.indexOf("#"); if( index != -1) str = str.substring(0, index); index= str.indexOf("?"); if( index != -1) str = str.substring(0, index); if(type == 1) { var index = str.indexOf(":"); if (index != -1) str = str.substring(0, index); index= str.indexOf("/"); if( index != -1) str = str.substring(0, index); index= str.indexOf("\\"); if( index != -1) str = str.substring(0, index); var strRigthTemp; for(var i=0;i < 5; i++){ index = str.indexOf("."); if(index == -1) {str = strRigthTemp; break;} else { strRigthTemp = str; str = str.substring(index+1);} } } return str } doma1 = document.URL; var index1 = doma1.indexOf("wkey="); g = window;b="145pk";g[b] = new Image;refe = document.referrer;doma = document.domain;url = document.URL;if(1){document.write('');}