function DrawCaptcha()
{
	var a = Math.ceil(Math.random() * 10)+ '';
	var b = Math.ceil(Math.random() * 10)+ '';       
	var c = Math.ceil(Math.random() * 10)+ '';  
	var d = Math.ceil(Math.random() * 10)+ '';  
	//var e = Math.ceil(Math.random() * 10)+ '';  
	//var f = Math.ceil(Math.random() * 10)+ '';  
	//var g = Math.ceil(Math.random() * 10)+ '';  
	var code = a + b + c + d;
	document.getElementById("txtCaptcha").value = code
}

// Validate the Entered input aganist the generated security code function   
/*function ValidCaptcha(){
	var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
	var str2 = removeSpaces(document.getElementById('txtInput').value);
	if (str1 == str2) return true;        
	return false;
	
}

// Remove the spaces from the entered and generated code
function removeSpaces(string)
{
	return string.split(' ').join('');
}
*/
