function ValidateEmail( Email )
{	var atCharPresent = false;
	var dotPresent = false;
	
	var expl=Email.split(".");
	var con=expl.length; 
	if(con==1)
	return false;
	if(expl[0]!='www')
	{
	return false;
	}
	
return true;
}

function validate()
{
	if (document.domain.domainname.value== "www.enspirontechnologies") 
	{
		alert ("Please Enter URL To Check.");
		document.domain.domainname.focus();
		return false;
	}
	
	if (!ValidateEmail( document.domain.domainname.value))
	{
			alert( "Please enter Url in the format as mentioned." );
			document.domain.domainnames.focus();
			return false;
	}
	
}

