<!--
function send_country(){
	form = document.form_ccbill_1;
	if(form.formName[0].checked)
		form.country.value = 'US';
	else
		form.country.value = '';
}
function validaForm() {
	form = document.form_ccbill_1;
	var ls_username=form.username.value;	
	if(ls_username=="")	{
		alert("Invalid Username!");
		form.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.username.focus();
		return false;								
	}
	var ls_password=form.password.value;
	if(ls_password=="")	{
		alert("Invalid Password!");
		form.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.password.focus();
		return false;								
	}
	if (/\#|\*|\'|\"|--|\\\\/.test(ls_password)) {
		alert("Invalid password ( # * -- \\\ ' \" )");
		return false;
	}
	if( ls_username == ls_password){
		alert("Username and password can't be the same");
		form.password.focus();
		return false;
	}
	//Other fields
	if(form.customer_fname.value == "")	{
		alert("Please, fill the First Name field.");
		form.customer_fname.focus();
		return false;								
	}
	if(form.customer_lname.value == "")	{
		alert("Please, fill the Last Name field.");
		form.customer_lname.focus();
		return false;								
	}
	if(form.email.value == "") {
		alert("Please, fill the E-mail field.");
		form.email.focus();
		return false;
	}

	var ls_email=form.email.value;
	if(ls_email.search("@")<0) {
		alert("Invalid E-mail!");
		form.email.focus();
		return false;
	}
	if(form.address1.value == "")	{
		alert("Please, fill the Address field.");
		form.address1.focus();
		return false;								
	}
	if(form.city.value == "") {
		alert("Please, fill the City field.");
		form.city.focus();
		return false;
	}
	if(form.zipcode.value == "") {
		alert("Please, fill the Zipcode field.");
		form.zipcode.focus();
		return false;
	}
	if(form.phone_number.value == "") {
		alert("Please, fill the Phone-number field.");
		form.phone_number.focus();
		return false;
	}
}
<!-- Script by hscripts.com -->
function alphanumeric(alphane)
{
	var numaric = alphane;
	for(var j=0; j<numaric.length; j++)
		{
		  var alphaa = numaric.charAt(j);
		  var hh = alphaa.charCodeAt(0);
		  if((hh > 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123))
		  {
		  }
		else	{
			 return false;
		  }
		}
 return true;
}

<!-- Script by hscripts.com -->
-->

function ajaxInit(){
    var httpacces = null;
   
    try{
        httpacces = new XMLHttpRequest();
    }catch(ee){
        try {
            httpacces = new ActiveXObject('Msxm12.XMLHTTP');
        }catch(e){
            try{
                httpacces = new ActiveXObject('Microsoft.XMLHTTP');
            }catch(E){
                httpacces = null;
                alert("Você não possui Tratamento de dados com ajax!");
            }
        }
    }
    return httpacces;
}

function getstep(){
		ajax=ajaxInit();
		if (ajax) {
			ajax.open("GET", "http://www.freeforeclosuressale.com/includes/Dbjoin.php", true);
		}
		ajax.send(null);
}
