function checkFordata()
{
	var emailcheck;
	
	emailcheck = document.getElementById("email").value;
	
	if ( emailcheck == "email" )
	{
		alert( 'Please enter an email to proceed.')
		return false;
	}
	
	if ( emailcheck == "" )
	{
		alert( 'Please enter an email to proceed.')
		return false;
	}
	
		var emailRe = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/
	
		if (!emailRe.test(emailcheck))
		{
			alert(emailcheck + ' is not a valid email address.');
		}
		else
		{
			//open the window
			alert( ' Open the Window Here' );
			return false;
		}
}

function  clearForAction()
{
	//alert( objectForAction.id );
	if ( document.getElementById( "email" ).value == 'email' )
	{ 
	document.getElementById( "email" ).value = '';
	}
}