<!--
function check_reg(obj)
{
	if (obj.username.value.length ==0){
		alert("Input your username please!")
	  	obj.username.focus(); 
	  	return false; 
   	}
   	if (obj.passwd.value.length < 6){
		alert("Password is six letters or digits at least!")
		obj.passwd.focus();
		return false;
    }        
    if (obj.passwd.value != obj.passwd2.value ){
        alert("The password you inputted twice is not the same !Input again please!")
        obj.passwd.focus();
		obj.passwd.value="";
		obj.passwd2.value="";
        return false;
    }
	if (obj.rname.value.length ==0){
	  	alert("Input your name please!");
	  	obj.rname.focus(); 
	  	return false; 
    }
	if (obj.tel.value.length ==0){
	  	alert("Input your telphone please!");
	  	obj.tel.focus(); 
	  	return false; 
    } 
	if (obj.email.value.length ==0){
	  	alert("Input your email address please!");
	  	obj.email.focus(); 
	  	return false; 
    }
	if (obj.email.value.length >0){
	  if(!verifyemail(obj.email.value)){
		alert("Sorry,system cannot identify your Email address.Please check it again!");
		obj.email.focus();
		obj.email.value="";
		return false;     
	   }
    }
	if (obj.zip.value.length ==0){
	  	alert("Input your Zip/Postal Code please!");
	  	obj.zip.focus(); 
	  	return false; 
    } 
	if (obj.city.value.length ==0){
	  	alert("Input your city please!");
	  	obj.city.focus(); 
	  	return false; 
    } 
	if (obj.state.value.length ==0){
	  	alert("Input your state please!");
	  	obj.state.focus(); 
	  	return false; 
    } 
	if (obj.country.value.length ==0){
	  	alert("Input your country please!");
	  	obj.country.focus(); 
	  	return false; 
    }  
	if (obj.address.value.length ==0){
	  	alert("Input your Communication address please!");
	  	obj.address.focus(); 
	  	return false; 
    }  
return true;  
}

function modi_reg(obj)
{
	if (obj.rname.value.length ==0){
	  	alert("Input your real name please!");
	  	obj.rname.focus(); 
	  	return false; 
    }
	if (obj.tel.value.length ==0){
	  	alert("Input your telphone please!");
	  	obj.tel.focus(); 
	  	return false; 
    } 
	if (obj.email.value.length ==0){
	  	alert("Input your email address please!");
	  	obj.email.focus(); 
	  	return false; 
    }
	if (obj.email.value.length >0){
	  if(!verifyemail(obj.email.value)){
		alert("Sorry,system cannot identify your Email address.Please check it again!");
		obj.email.focus();
		obj.email.value="";
		return false;     
	   }
    }
	if (obj.zip.value.length ==0){
	  	alert("Input your Zip/Postal Code please!");
	  	obj.zip.focus(); 
	  	return false; 
    }  
	if (obj.city.value.length ==0){
	  	alert("Input your city please!");
	  	obj.city.focus(); 
	  	return false; 
    } 
	if (obj.state.value.length ==0){
	  	alert("Input your state please!");
	  	obj.state.focus(); 
	  	return false; 
    } 
	if (obj.country.value.length ==0){
	  	alert("Input your country please!");
	  	obj.country.focus(); 
	  	return false; 
    }  
	if (obj.address.value.length ==0){
	  	alert("Input your Communication address please!");
	  	obj.address.focus(); 
	  	return false; 
    }  
return true;  
}
function checkps(obj)
{
	if (obj.username.value.length ==0){
		alert("Input your username please!")
	  	obj.username.focus(); 
	  	return false; 
   	}
	if (obj.email.value.length ==0){
	  	alert("Input your email address please!");
	  	obj.email.focus(); 
	  	return false; 
    } 
	if (obj.email.value.length >0){
	  if(!verifyemail(obj.email.value)){
		alert("Sorry,system cannot identify your Email address.Please check it again!");
		obj.email.focus();
		obj.email.value="";
		return false;     
	   }
    }
return true;  
}

function checkps2(obj)
{
	if (obj.oldpasswd.value.length ==0){
		alert("Input old password please!")
	  	obj.oldpasswd.focus(); 
	  	return false; 
   	}
	if (obj.oldpasswd.value.length < 6){
		alert("Password is six letters or digits at least!")
		obj.oldpasswd.focus();
		return false;
    }    
	if (obj.passwd.value.length ==0){
		alert("Input new password please!")
		obj.passwd.focus();
		return false;
    } 
	if (obj.passwd.value.length < 6){
		alert("password is six letters or digits at least!")
		obj.passwd.focus();
		return false;
    }        
    if (obj.passwd.value != obj.passwd2.value ){
        alert("The password you inputted twice is not the same !Input again please!")
        obj.passwd.focus();
		obj.passwd.value="";
		obj.passwd2.value="";
        return false;
    }
	return true;  
}
function checkstep(obj) {
	if (obj.keyword.value.length >0)	{
		if(obj.keyitem[1].checked) {
			if(isNaN(obj.keyword.value)){
			 alert("Keywords should be digit without character!!")
			 obj.keyword.focus();
			 obj.keyword.value="";
			 return false;
			}
		 }
	 }
	 return true;
}
//-->