
	function send_country(temp){
		if(temp == 1)
			form = document.form_ccbill_1;
		else
			form = document.form_ccbill_2;
		
		if(form.formName[0].checked)
			form.country.value = 'US';
		else
			form.country.value = '';
	}
	function validaForm() {
		if(form_ccbill_1.email.value=="") {
			alert("Please, fill the E-mail field.");
			form_ccbill_1.email.focus();
			return false;
		}
		var ls_email=form_ccbill_1.email.value;
		if(ls_email.search("@")<0) {
			alert("Invalid E-mail!");
			form_ccbill_1.email.focus();
			return false;
		}
		var ls_username=form_ccbill_1.username.value;
		if(ls_username=="")	{
			alert("Invalid Username!");
			form_ccbill_1.username.focus();
			return false;								
		}
		if(ls_username.length > 16 || ls_username.length < 6 )	{
			alert("Username must contain a minimum 6 and maximum 16 characters");
			form_ccbill_1.username.focus();
			return false;								
		}
		var ls_password=form_ccbill_1.password.value;
		if(ls_password=="")	{
			alert("Invalid Password!");
			form_ccbill_1.password.focus();
			return false;								
		}
		if(ls_password.length > 8 || ls_password.length < 6 )	{
			alert("Password must contain a minimum 6 and maximum 8 characters");
			form_ccbill_1.password.focus();
			return false;								
		}
		if( ls_username == ls_password){
			alert("Username and password can't be the same");
			form_ccbill_1.password.focus();
			return false;
		}
		
	}
