/*-------------------------------------------------------------------------------
	Validation code - Acquirelist.com
---------------------------------------------------------------------------------*/
//For build_your_list.htm
function validateBuildListForm()
	{
	var ErrMsg="";
	var Sep=""
	if(document.frmBuildList.Name.value=="") 
		{
		ErrMsg=ErrMsg+Sep+"Name";
		Sep="\n"
		}
	if(document.frmBuildList.Email.value=="") 
		{
		ErrMsg=ErrMsg+Sep+"Email";
		Sep="\n"
		}
	if(document.frmBuildList.Company.value=="") 
		{
		ErrMsg=ErrMsg+Sep+"Company Name";
		Sep="\n"
		}
	if(document.frmBuildList.Phone.value=="") 
		{
		ErrMsg=ErrMsg+Sep+"Phone Number";
		Sep="\n"
		}
	if(document.getElementById("MarketingBudget"))
		{
		if(document.getElementById("MarketingBudget").selectedIndex==0)
			{
			ErrMsg=ErrMsg+Sep+"Marketing Budget";
			Sep="\n"
			}
		}
	if(ErrMsg!="")
		{
		alert("Following field values are missing,\n_____________________________________________________\n"+ErrMsg+"\n_____________________________________________________\nPlease fill all the above mandatory fields and re-submit the form!");
		return false;
		}
	if(document.frmBuildList.Email.value.indexOf('@')<0 || document.frmBuildList.Email.value.indexOf('.')<0)
		{
		alert("Invalid email address format,\nPlease check your email address!");
		return false;
		}

	alert("Thank you for submitting the information!");
	return true;
	}
// Right click disabling

var message = "Function Disabled!";

function NoRightClick(b) {
   if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
   ||((navigator.appName=="Netscape")&&(b.which > 1))){
   alert(message);
   return false;
   }
}
document.onmousedown = NoRightClick;