// JavaScript Document
function SelectAll(id)
{
if(document.getElementById(id).value=="Enter your email here")
	{
	document.getElementById(id).value="";
	document.getElementById(id).focus();
	document.getElementById(id).select();
	}
}

function checkSub()
{
	if(document.frmSubscribe.txtEmail.value.split(" ").join("")=="")
	{
		alert("Email can not be blank");
		document.frmSubscribe.txtEmail.focus();
		document.frmSubscribe.txtEmail.select();		
		return false;
	}
	if(!validateEmail(document.frmSubscribe.txtEmail))
	{
		alert("Invalid email");
		document.frmSubscribe.txtEmail.focus();
		document.frmSubscribe.txtEmail.select();		
		return false;
	}
	return true
}
