function genderDo(customerData){
var genderSentI='';
var myselect=document.getElementById("gender")
for (var i=0; i<myselect.options.length; i++){
 if (myselect.options[i].selected==true){
  var genderSentI=myselect.options[i].value;
  break;
 }
}
get(customerData, 'ajaxGet.php', 'gender_div', 'setGender_new&gender='+genderSentI);
}

function fnameDo(customerData){
get(customerData, 'ajaxGet.php', 'fname_div', 'createfname_new');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function lnameDo(customerData){
get(customerData, 'ajaxGet.php', 'lname_div', 'setLname');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function emailDo(customerData){
get(customerData, 'ajaxGet.php', 'email_div', 'setEmail');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function phoneDo(customerData){
get(customerData, 'ajaxGet.php', 'phone_div', 'setPhone');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function otherphoneDo(customerData){
get(customerData, 'ajaxGet.php', 'otherphone_div', 'setOtherPhone');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}


function streetAddressDo(customerData){
get(customerData, 'ajaxGet.php', 'street_address_div', 'setStreetName');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function suburbDo(customerData){
get(customerData, 'ajaxGet.php', 'suburb_div', 'setSuburb');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function townDo(customerData){
get(customerData, 'ajaxGet.php', 'town_div', 'setTown');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function countyDo(customerData){

var myselect=document.getElementById("state")
for (var i=0; i<myselect.options.length; i++){
 if (myselect.options[i].selected==true){
  //alert(myselect.options[i].value);
  var countySentI=myselect.options[i].value;
  //alert(countySentI);
  break;
 }
}
get(customerData, 'ajaxGet.php', 'county_div', 'setCounty_new&state='+countySentI);
}
function postcodeDo(customerData){
get(customerData, 'ajaxGet.php', 'postcode_div', 'setPostcode');
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}

function countryDo(customerData){
var countrySentI='';
var myselect=document.getElementById("country")
for (var i=0; i<myselect.options.length; i++){
 if (myselect.options[i].selected==true){
  var countrySentI=myselect.options[i].value;
  break;
 }
}
get(customerData, 'ajaxGet.php', 'country_div', 'setCountry_new&country='+countrySentI);
//get(customerData, 'ajaxGet.php', 'info', 'createAccount_new');
}
