switch(location.host){ 

case 'www.xsunion.com': 
location.href="http://www.xsunion.com/index.asp?lhlx=萧山" ;
break;
case 'www.fymyjj.com': 
location.href="http://www.fymyjj.com/index.asp?lhlx=富阳" ;
break;
case 'www.linhaihome.com': 
location.href="http://www.linhaihome.com/index.asp?lhlx=临海" ;
break; 
case 'www.xs1818.com': 
location.href="http://www.xs1818.com/gsxh/default.asp" ;
break; 
case 'www.szmyjj.com': 
location.href="http://www.szmyjj.com/index.asp?lhlx=嵊州" ;
break; 
case 'www.zjjxmyjj.com': 
location.href="http://www.zjjxmyjj.com/index.asp?lhlx=嘉兴" ;
break;
case 'tx.zjjxmyjj.com': 
location.href="http://tx.zjjxmyjj.com/index.asp?lhlx=桐乡" ;
break;
case 'hl.zjjxmyjj.com': 
location.href="http://hl.zjjxmyjj.com/index.asp?lhlx=海宁" ;
break;
case 'hy.zjjxmyjj.com': 
location.href="http://hy.zjjxmyjj.com/index.asp?lhlx=海盐" ;
break;
case 'pp.zjjxmyjj.com': 
location.href="http://pp.zjjxmyjj.com/index.asp?lhlx=平湖" ;
break;
case 'www.hzmyjj.com': 
location.href="http://www.hzmyjj.com/index.asp?lhlx=湖州" ;
break; 
case 'wx.hzmyjj.com': 
location.href="http://wx.hzmyjj.com/index.asp?lhlx=吴兴" ;

break; 
case 'aj.hzmyjj.com': 
location.href="http://aj.hzmyjj.com/index.asp?lhlx=安吉" ;

break; 
case 'nx.hzmyjj.com': 
location.href="http://nx.hzmyjj.com/index.asp?lhlx=南浔" ;

break; 
case 'cx.hzmyjj.com': 
location.href="http://cx.hzmyjj.com/index.asp?lhlx=长兴" ;

break; 
case 'dq.hzmyjj.com': 
location.href="http://dq.hzmyjj.com/index.asp?lhlx=德清" ;

break; 
} 