
function winOpen(policyno,icno){
			var url = "";
			openWindow3(url);
}

function openWindow3(url){
	var height=window.screen.availHeight-90
	var width=window.screen.availWidth-10
	var top=30;
	var left=0;
    var name= "WIN"+rnd();
	window.open(url,name,"top="+top+", left="+left+", height="+height+", width="+width+",scrollbars=yes,resizable=yes,status=yes,toolbar=no,menubar=no,location=no");
}
function rnd(){
	return Math.round((Math.random()*100000));
}

_blankagainlink = function() {
	   //document.getElementById('openimgid').click;
	  _openwin('<%=request.getContextPath()%>/vldc_img.jsp?___dt_='+new Date(), "验证码", 420, 360);
	}
resetOnClick = function() {
	   document.getElementById('dynimgid').onclick=_blankagainlink;
}
againlink = function(idname) {
	//document.getElementById(idname).src='https://ecard.libertymutual.com.cn:8443/CIRCDeploy/vldc_img.jsp?___dt_='+new Date();
	document.getElementById(idname).src="https://www.libertymutual.com.cn/ebusiness/b2c/validateCode.do?actionType=generateValidateCode&Math="+Math.random();

}
/*************************************************** 修改 2.0 **************************************************************************/
// 新增加 showYZ 方法
/*************************************************** 修改 2.0 **************************************************************************/
function showYZ(e){
	againlink(e);
	document.getElementById(e).style.display="";
}
