js代码:

try {
if( self.location == "http://玉米一/" ) {
top.location.href = "http://玉米一/目录"
}else if( self.location == "http://玉米二/" ) {
top.location.href = "http://玉米二/目录"
}
else {document.write ("错误的访问地址")}} catch(e) {}