var theImagesT = new Array()

//Random-loading images
theImagesT[0] = '5LK5C734' // replace with names of images
theImagesT[1] = 'X2K9LN3N' // replace with names of images
theImagesT[2] = '5C7BVMBT' // replace with names of images
theImagesT[3] = 'N2NXC58Q' // replace with names of images
theImagesT[4] = 'SX7M626W' // replace with names of images
theImagesT[5] = 'LTQ6JJSQ' // replace with names of images
theImagesT[6] = 'LGWCTR24' // replace with names of images
theImagesT[7] = 'RGMJMSRB' // replace with names of images
theImagesT[8] = 'TH3XWCSP' // replace with names of images
theImagesT[9] = 'R742SGG5' // replace with names of images
theImagesT[10] = 'TCW9F3ST' // replace with names of images
theImagesT[11] = 'L98KVP7N' // replace with names of images
theImagesT[12] = 'NQLXLGQR' // replace with names of images
theImagesT[13] = 'VHJQTKX4' // replace with names of images
theImagesT[14] = 'LRR942CS' // replace with names of images
theImagesT[15] = 'XJMP4XKP' // replace with names of images
theImagesT[16] = '6LC8XT7C' // replace with names of images
theImagesT[17] = 'TM2X6FBP' // replace with names of images
theImagesT[18] = '3vQXF7JH' // replace with names of images

var inText ="";
function imgChecker(inText)
{
	var inHTML="";
	var inVar="";
	inHTML = inText;
	inVar = inHTML;
	
	
	var browser=navigator.appName;
    //alert(browser);
    var b_version=navigator.appVersion;
    var version=parseFloat(b_version);
    if ((browser=="Microsoft Internet Explorer") && (version>=4))
    {
	//	alert(inHTML);
		inHTML = inHTML.substring(inHTML.indexOf("id=userres") + 17);
		inHTML = inHTML.substring(0,inHTML.indexOf(" "));
	//	alert(inHTML);
		inVar = inVar.substring(inVar.indexOf("id=imvt type=hidden value=") + 26);
		//alert(inVar + "  -3");
		inVar = inVar.substring(0,inVar.indexOf(" "));
	}
	else
    {
		//alert(inHTML);
		//inHTML = inHTML.substring(inHTML.indexOf('id="userres"') + 19);
		//inHTML = inHTML.substring(0,inHTML.indexOf(' '));
		inHTML = document.getElementById("userres").value;
		//alert(inHTML);
		inVar = document.getElementById("imvt").value
		//alert(inVar);
		//inVar = inVar.substring(inVar.indexOf('id="imvt" type="hidden" value="') + 31);
		//alert(inVar + "  -3");
		//inVar = inVar.substring(0,inVar.indexOf('" '));
	}
	
	//alert(inVar + "  -4 Main");
//	alert(inVar);
	//alert(theImagesT[Math.floor(inVar)] + "  -6");
	//alert(inHTML + "  -7");
	if(theImagesT[Math.floor(inVar)] == inHTML)
	{
	//	alert("true " + theImagesT[Math.floor(inVar)]);
		return true;
	}
	else
	{
	//	alert("false " + theImagesT[Math.floor(inVar)]);
		return false;
	}
}
