<!-- Original:  Jonathan Feaster (http://www.archreality.com/) -->
<!-- Web Site:  http://www.archreality.com/jcap/ -->
<!-- Based on: Gimpy CAPTCHA Project at Carnegie Mellon University (http://www.captcha.net/) -->
<!-- Begin

function cimg(){
var imgdir = "/images/cimg/"; //identify directory where captcha images are located
anum = (Math.floor(Math.random()*14))+1;
imgid = parseInt(anum);
cword = 
[
 "b463ab4bc0f1c8e1304f7a38ff8cdfe2", 
 "ba535ef5a9f7b8bc875812bb081286bb",
 "c61404957758dfda283709e89376ab3e",
 "b86994d511e2e32a72f4117055ad48dc",
 "2a2d595e6ed9a0b24f027f2b63b134d6",
 "2069ca795d8e10a6f9a92dd57d01af10",
 "7c795fedfe9d129036b8a9648b3a7918",
 "94dce9d490bbe9d0a00b083f2892c2b4",
 "85418522c54769979bd5afc5018baa03", 
 "eefec303079ad17405c889e092e105b0",
 "184aa077df08b90ac9fe282cceaa325e",
 "3cff439a03caec0b3122eb4d67ef937d",
 "13621569c04c27dde4aa00c3ef3ddbac",
 "02a1b872de47268c813e94c41476f927"
 ];

/*
["3b7770f7743e8f01f0fd807f304a21d0", "68e2d83709f317938b51e53f7552ed04", "f4c9385f1902f7334b00b9b4ecd164de",

//1.tumble2.jump3.layout4.tuck5.spring6.balance7.pommel8.backbend9.cartwheel10.split11.vault12.trampoline13.tunnel14.rings

*/

document.write('<span><img src="'+imgdir+imgid+'.jpg" alt="" /></span>');
}

function jcap(){
	var uword = hex_md5(document.getElementById('uword').value);
	if (uword==cword[anum-1]) {
	return true;
}

else {
	alert('Enter the code as it is shown!');
	document.getElementById('uword').focus(); 
	return false;
	}
}

//  End -->