// JavaScript Document
function isEmpty(Field, Msg)
{
	if(Field.value == ""){
		alert(Msg)
		Field.focus()
		return true
	}
	return false
}
function isNotSame(Field1, Field2, Msg)
{
	if(Field1.value != Field2.value)
	{
		alert(Msg)
		Field1.focus()
		return true
	}
	return false
}
function isNotValidEmail(Email, Msg)
{
	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   	if(reg.test(Email.value) == false) 
	{
      	alert(Msg)
		Email.focus()
      	return true
	}
	return false
}

function isNotValidCharacters(Sec, Spam)
{
	var _Sec = Sec.value.toUpperCase();
	var _Spam = Spam.value.toUpperCase();
	if(! ( _Sec == _Spam))
	{
		alert('Please Type The Correct Value You See in The Image')
		Sec.focus()
		return true 
	}	
	return false
}
var images = ['gb654.jpg','gt432.jpg','jk101.jpg','jk417.jpg','jk904.jpg','kk521.jpg','pk875.jpg','uk972.jpg'];
	
	theImage = images[Math.floor(Math.random()*images.length)]

	abc = theImage.split('.');
	value = abc[0];
