// JavaScript Document

function validateContactForm(){
	if (document.getElementById('FirstName').value==""){
		alert("The First Name field is required. Please fill in the First Name.");
		return false;
	}
	if (document.getElementById('LastName').value==""){
		alert("The Last Name field is required. Please fill in the Last Name.");
		return false;
	}
	if (document.getElementById('CompanyName').value==""){
		alert("The Company Name field is required. Please fill in the Company Name.");
		return false;
	}
	if (document.getElementById('ContactPhone').value==""){
		alert("The Contact Phone field is required. Please fill in the Contact Phone.");
		return false;
	}
	
		return true;
	}

	
	function validateIntContactForm(){
	if (document.getElementById('Int_FirstName').value==""){
		alert("The First Name field is required. Please fill in the First Name.");
		return false;
	}
	if (document.getElementById('Int_LastName').value==""){
		alert("The Last Name field is required. Please fill in the Last Name.");
		return false;
	}
	if (document.getElementById('Int_Phone').value==""){
		alert("The Contact Phone field is required. Please fill in the Contact Phone.");
		return false;
	}
		if (document.getElementById('Int_CompanyRegNo').value==""){
		alert("The Company Reg No field is required. Please fill in the Company Reg No.");
		return false;
	}
	if (document.getElementById('Int_VatRegNo').value==""){
		alert("The Vat Reg No field is required. Please fill in the Vat Reg No.");
		return false;
	}
	if (document.getElementById('Int_LimitRequired').value==""){
		alert("The Limit Required field is required. Please fill in the Limit Required.");
		return false;
	}
		if (document.getElementById('Int_Invoice').value==""){
		alert("The Invoice Currency field is required. Please fill in the Invoice Currency.");
		return false;
	}
		return true;
	}
