function email_check()
{
	var emailchar = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
	if (emailchar.test(document.getElementById("email").value)){
		return true
	}
	else
	{
		alert("Please, enter a valid email address.");
	}
}


function img_ref(st)
{
	var browserName=navigator.appName; 
	var ob = document.getElementById(st);
	var rd = document.getElementById('redraw');
	if (browserName != "Microsoft Internet Explorer")	{

		var val = document.getElementById('dum');
		val.value = parseInt(val.value) + 1;
		ob.innerHTML = '<img src="contact.ins/verify-img.php?' + val.value + '" alt="Please Wait..." />';
	}
	else {

		ob.innerHTML = '<img src="contact.ins/verify-img.php" alt="Please Wait..." />';
	}
}
