function ChangeCheck(ID)
{
	switch(ID)
	{
		case 1:
			document.getElementById("c01").style.display = "block";
			document.getElementById("c02").style.display = "none";
			
			document.getElementById("m01").className = "sd01";
			document.getElementById("m02").className = "sd02";
		break;
		case 2:
			document.getElementById("c01").style.display = "none";
			document.getElementById("c02").style.display = "block";
			
			document.getElementById("m01").className = "sd02";
			document.getElementById("m02").className = "sd01";
		break;
	}
}

function MessageFormCheck()
{
	var Contact=document.MessageForm.Contact;
	var Email=document.MessageForm.Email;
	var Phone=document.MessageForm.Phone;
	var Content=document.MessageForm.Content;
	if(Contact.value=="")
	{
		alert("Contact Not Null!");
		Contact.focus();
		return false;
	}
	if(Email.value=="")
	{
		alert("Email Not Null!");
		Email.focus();
		return false;
	}
	if(Phone.value=="")
	{
		alert("Phone Not Null!");
		Phone.focus();
		return false;
	}
	if(Content.value=="")
	{
		alert("Content Not Null!");
		Content.focus();
		return false;
	}
}

function ApplyFormCheck()
{
	var FirstName=document.ApplyForm.FirstName;
	var LastName=document.ApplyForm.LastName;
	var CompanyName=document.ApplyForm.CompanyName;
	var PhoneNumber=document.ApplyForm.PhoneNumber;
	var Email=document.ApplyForm.Email;
	var District=document.ApplyForm.District;
	var Website=document.ApplyForm.Website;
	var DescribeInfo=document.ApplyForm.DescribeInfo;
	var Monthly1=document.ApplyForm.Monthly1;
	var Monthly2=document.ApplyForm.Monthly2;
	var Highest=document.ApplyForm.Highest;
	//var Content=document.ApplyForm.Content;
	if(FirstName.value=="")
	{
		alert("first name not null!");
		FirstName.focus();
		return false;
	}
	if(LastName.value=="")
	{
		alert("last name not null!");
		LastName.focus();
		return false;
	}
	if(CompanyName.value=="")
	{
		alert("company name not null!");
		CompanyName.focus();
		return false;
	}
	if(PhoneNumber.value=="")
	{
		alert("phone number not null!");
		PhoneNumber.focus();
		return false;
	}
	if(Email.value=="")
	{
		alert("e-mail address not null!");
		Email.focus();
		return false;
	}

	if(District.value=="")
	{
		alert("choose your country not null!");
		District.focus();
		return false;
	}
	if(Website.value=="")
	{
		alert("website address not null!");
		Website.focus();
		return false;
	}
	if(DescribeInfo.value=="")
	{
		alert("describe product or service sold(I.E.I SELL HATS) not null!");
		DescribeInfo.focus();
		return false;
	}
	if(Monthly1.value=="")
	{
		alert("monthly processing volume not null!");
		Monthly1.focus();
		return false;
	}
	if(Monthly2.value=="")
	{
		alert("average sale or transaction amount not null!");
		Monthly2.focus();
		return false;
	}
	if(Highest.value=="")
	{
		alert("highest sale or transaction amount not null!");
		Highest.focus();
		return false;
	}
}
