// index_on_top.js
if(this.name!='mainframe'){if(this.location.href.lastIndexOf('?')!=-1){queryStr='&'+this.location.href.substring(this.location.href.indexOf('?')+1);urlStr=this.location.href.substring(0,this.location.href.lastIndexOf('?'));}else{queryStr='';urlStr=this.location.href;}
pageStr=urlStr.replace(/\\/g,'/');pageStr=pageStr.substring(pageStr.lastIndexOf("\/")+1);paramName='page';if(queryStr!=''){params=queryStr.split('&');newQueryStr='';i=1;for(i=1;i<params.length;i++){if(params[i].split('=')[0]!=paramName){newQueryStr+='&'+params[i];}}
queryStr=newQueryStr;}
if(top.location.protocol=='file:'){indexFile='index.html';}else{indexFile='./';}
top.location.href=indexFile+'?'+paramName+'='+pageStr+queryStr;}
// index_on_top.js
if(this.name!='mainframe'){if(this.location.href.lastIndexOf('?')!=-1){queryStr='&'+this.location.href.substring(this.location.href.indexOf('?')+1);urlStr=this.location.href.substring(0,this.location.href.lastIndexOf('?'));}else{queryStr='';urlStr=this.location.href;}
pageStr=urlStr.replace(/\\/g,'/');pageStr=pageStr.substring(pageStr.lastIndexOf("\/")+1);paramName='page';if(queryStr!=''){params=queryStr.split('&');newQueryStr='';i=1;for(i=1;i<params.length;i++){if(params[i].split('=')[0]!=paramName){newQueryStr+='&'+params[i];}}
queryStr=newQueryStr;}
if(top.location.protocol=='file:'){indexFile='index.html';}else{indexFile='./';}
top.location.href=indexFile+'?'+paramName+'='+pageStr+queryStr;}
