		function checkpwd1(el)
		{
			if(el.value==""|| el.value.length<6){
			document.getElementById("pwdLength").innerHTML="Must More Then 6 characters";}
			else{
			document.getElementById("pwdLength").innerHTML=" ";}
			
			if(el.value==document.getElementById("password2").value){
			document.getElementById("pwdMatch").innerHTML=" ";}
			else{
			document.getElementById("pwdMatch").innerHTML="The Password Must Match";}

		}
		function checkpwd2(el)
		{
			if(el.value==document.getElementById("password").value){
			document.getElementById("pwdMatch").innerHTML=" ";}
			else{
			document.getElementById("pwdMatch").innerHTML="The Password Must Match";}
		}
		function checkFName(el)
		{
			if(el.value==""|| el.value.length<2){
			document.getElementById("fNameCheck").innerHTML="Must More Then 2 characters";}
			else{
			document.getElementById("fNameCheck").innerHTML=" ";}
		}
		function checkLName(el)
		{
			if(el.value==""|| el.value.length<2){
			document.getElementById("lNameCheck").innerHTML="Must More Then 2 characters";}
			else{
			document.getElementById("lNameCheck").innerHTML=" ";}
		}
		function checkContactType()
		{
			var isCheck=false;
			if(document.getElementById("aim").value!=""){
			isCheck=true;
			}
			if(document.getElementById("msn").value!=""){
			isCheck=true;
			}
			if(document.getElementById("yim").value!=""){
			isCheck=true;
			}
			if(document.getElementById("icq").value!=""){
			isCheck=true;
			}
			if(document.getElementById("skype").value!=""){
			isCheck=true;
			}
			if(isCheck==true){
			document.getElementById("contactType").innerHTML=" ";
			}
			else{
			document.getElementById("contactType").innerHTML=" (Fill One At Least)";
			}
		}
		
		function checkWorkGroupinfo()
		{
			


			if(document.WorkGroupinfo.tiaokuan2.checked != true)
				{
				alert('You must agree the use provision can complete the registration');
				return false;
				document.WorkGroupinfo.tiaokuan2.focus();
				}
			
			if (document.WorkGroupinfo.Email.value=="" || document.WorkGroupinfo.Email.value.indexOf("@",0) == -1 ||	document.WorkGroupinfo.Email.value == "" ||	document.WorkGroupinfo.Email.value.indexOf(".",0) == -1 ) 
			{
			alert("Import the correct email address again please!");
			document.WorkGroupinfo.Email.focus();
			return false;
			}
			
			if(document.WorkGroupinfo.password.value==""|| document.WorkGroupinfo.password.value.length<6)
			{
				alert('The password depends on 6-16 characters between');
				return false;
				document.WorkGroupinfo.password.focus();
			}
			if(document.WorkGroupinfo.password.value!=document.WorkGroupinfo.password2.value)
			{
				alert('The password twice must import coinciding');
				return false;
				document.WorkGroupinfo.password.focus();
			}
				
			if(document.WorkGroupinfo.firstname.value=="")
			{
				alert('Your First Name must contain a minimum of 2 characters');
				return false;
				document.WorkGroupinfo.firstname.focus();
			}
			if(document.WorkGroupinfo.lastname.value=="")
			{
				alert('Your Last Name must contain a minimum of 2 characters');
				return false;
				document.WorkGroupinfo.lastname.focus();
			}
				


			if(document.WorkGroupinfo.phone.value=="")
			{
				alert('The telephone number can not be empty space');
				return false;
				document.WorkGroupinfo.phone.focus();
			}
			if(document.WorkGroupinfo.phone1.value=="")
				{
				alert('The telephone number can not be empty space');
				return false;
				document.WorkGroupinfo.phone1.focus();
			}
			if(document.WorkGroupinfo.phone2.value=="")
			{
				alert('The telephone number can not be empty space');
				return false;
				document.WorkGroupinfo.phone2.focus();
			}
			
			if(document.WorkGroupinfo.country.value=="")
			{
				alert('The Country can not be empty space');
				return false;
				document.WorkGroupinfo.country.focus();
			}
			if(document.WorkGroupinfo.state.value=="")
			{
				alert('The State/Province can not be empty space');
				return false;
				document.WorkGroupinfo.state.focus();
			}
			if(document.WorkGroupinfo.city.value=="")
			{
				alert('The City can not be empty space');
				return false;
				document.WorkGroupinfo.city.focus();
			}
			if(document.WorkGroupinfo.postcode.value=="")
			{
				alert('The Zip/Post Code can not be empty space');
				return false;
				document.WorkGroupinfo.postcode.focus();
			}
			if(document.WorkGroupinfo.Address.value=="")
			{
				alert('The Address can not be empty space');
				return false;
				document.WorkGroupinfo.Address.focus();
			}			
			
			
			if(document.WorkGroupinfo.aim.value=="" && document.WorkGroupinfo.msn.value=="" && document.WorkGroupinfo.yim.value==""  &&  document.WorkGroupinfo.icq.value=="" && document.WorkGroupinfo.skype.value=="" )
			{
				alert('AIM,MSN,YIM,ICQ,SKype At Least Fill One ');
				return false;
				document.WorkGroupinfo.msn.focus();
			}
			
				
				}