function pathurl() { browserName = navigator.appName; browserVer = navigator.appVersion; // browserVer = parseInt(navigator.appVersion); condition1 = (browserName.indexOf("Netscape") >=0 ) && browserVer > 2 ; condition2 = (browserName.indexOf("Explorer") >=0) && (browserVer.indexOf("MSIE 5.0") >=0); //alert(condition2); if(document.all) { if(condition2==true) { path2='http://babelfish.altavista.com/babelfish/urltrurl?url=http://www.sbepl.com/&lp=en_ja&tt=url'; } else { path=opener.location.href; if(path.indexOf("translate_c")!=-1) { t=path.split("&u="); path=t[1]; //alert(path); } path2='http://babelfish.altavista.com/babelfish/urltrurl?url='+path+'&lp=en_ja&tt=url'; } } if(document.layers) { path2='http://babelfish.altavista.com/babelfish/urltrurl?url=http://www.sbepl.com/&lp=en_ja&tt=url' } path3=new String(path2); this.location.href=path3; //this.frames[1].location.href=path3; }