s1 = ""; if(s1.substr(s1.length-1,1) == "\/") { s1 = s1.substr(0,s1.length - 1); } if(s1.substr(0,7).toLowerCase() == "http:\/\/") { a = s1.split("\/"); szURL = "\/"; for(i=3;i<\/script>"; document.write(szText);