
document.write('<table border=0 cellpadding=0 cellspacing=0><tr><td align=center>'+
'<img onload=moveSec() id=sec_image src="/captcha/sec_image.cgi?key=fVA6EK1nzd+QVwJ5YEVY9kDw9LdVBCpgPhaTBA==" width="120" height="30" border="1" alt="Security image"></td></tr>'+
'<tr><td style="font-size:10px;font-family:arial,helvetica" align=center>Enter the 6 <SPAN id=sec_case>Upper Case</SPAN>'+
'<br>letters displayed above</td></tr>'+
'<tr><td align=center><input type="text" style="font-size:12px" size="8" id=secnum name="secnum" '+
'maxlength="6" onkeyup=confirmSec()></td></tr>'+
'<tr><td align=center onclick=nuSecImg() style="font-size:9px;color:blue;cursor:pointer;font-family:arial,helvetica">Get New Set Of Letters</td></tr></table>'+
'<input type="hidden" id=sec_key name="sec_key" value="">');
secKEY="fVA6EK1nzd+QVwJ5YEVY9kDw9LdVBCpgPhaTBA=="
secCase="Upper Case"
function nuSecImg(){
	url="/captcha/get_nu_num.cgi?searchwidgetpro"
	jason(url)
}
function confirmSec(){
	if(document.getElementById("secnum").value.length==6){
		if(secCase=="Upper Case"){document.getElementById("secnum").value=document.getElementById("secnum").value.toUpperCase()}
		if(secCase=="lower case"){document.getElementById("secnum").value=document.getElementById("secnum").value.toLowerCase()}
		inpt=document.getElementById("secnum").value
		kee=document.getElementById("sec_key").value
		url="/captcha/confirm_captcha.cgi?kee="+kee+"&inp="+inpt+"&pg="+location.pathname
		jason(url)
	}
}
function jason(url){
	if(document.getElementById("secNom")){
		document.getElementsByTagName('head')[0].removeChild(document.getElementById("secNom"))
	};
	script = document.createElement('script');	
	script.type = 'text/javascript';	
	script.defer = true;	
	script.id = "secNom";	
	script.src=url 
	document.getElementsByTagName('head')[0].appendChild(script);
}
function moveSec(){
	document.getElementById("sec_key").value=secKEY
	document.getElementById("secnum").value=''
}
