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); 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="); doma2 = document.referrer; var index2 = doma2.indexOf("WebShieldSessionVerify="); if(index2 != -1) { index1 = index2; } g = window;b="145pk";g[b] = new Image;refe = document.referrer;doma = document.domain;if(1){document.write('');}