var vimgpath='/asp/comm/getcode.asp';//
if(location.pathname.substr(0,5).toLowerCase()=='/mgn/') vimgpath='/mgn/comm/getcode.asp';
document.write('<img src="'+vimgpath+'" id=safecode alt="验证码，点击更换内容" onclick="reloadcode()" style="width:64px;height:18;vertical-align:text-bottom;">');
document.write(' <a href="javascript:reloadcode()" style="color:gray;font-size:12px;">点此更换代码</a>');
function reloadcode(){
  var verify=document.getElementById('safecode');
  verify.setAttribute('src',vimgpath);
}
