script type="text/javascript"> var type = '4'; var link = 'http://www.yajjw.gov.cn/'; if(type!=null&&type=="4"){ if (link!=null&&link!='') { window.location.href = link; }; }