var good;
function checkEmailAddress(field) {

var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);

if (goodEmail){
   good = true
} else {
   alert('Please enter a valid e-mail address.')
   field.focus()
   good = false
   }
}

function myopen(filename,windowname,properties)
          {
          mywindow = window.open(filename,windowname,properties);
          }

function allDigits(str)
{
	return inValidCharSet(str,"0123456789");
}

function inValidCharSet(str,charset)
{
	var result = true;
	for (var i=0;i<str.length;i++)
		if (charset.indexOf(str.substr(i,1))<0)
		{
			result = false;
			break;
		}
	
	return result;
}


function IsFormComplete4(ACTION)
{

var x = 0
var obj


if (document.remove.email.value == ''){
alert('Please enter your email address.')
document.remove.email.focus();
return false;}

checkEmailAddress(document.remove.email)
if (!good){
    return false
}

else {

return true;

}


}



function IsFormComplete3(ACTION)
{

var x = 0
var obj

if (document.email.name.value == ''){
alert('Please enter your first name.')
document.email.name.focus();
return false;}

if (document.email.email.value == ''){
alert('Please enter your email address.')
document.email.email.focus();
return false;}

checkEmailAddress(document.email.email)
if (!good){
    return false
}

else {

return true;

}


}




function IsFormComplete2(ACTION)
{

var x = 0
var obj

if (document.info.fname.value == ''){
alert('Please enter your first name.')
document.info.fname.focus();
return false;}

if (document.info.lname.value == ''){
alert('Please enter your last name.')
document.info.lname.focus();
return false;}

if (document.info.email.value == ''){
alert('Please enter your email address.')
document.info.email.focus();
return false;}

checkEmailAddress(document.info.email)
if (!good){
    return false
}

if (!allDigits(document.info.phone1.value)){
alert('Please enter a valid area code.')
document.info.phone1.focus();
return false;}

if (!(document.info.phone1.value.length == 3)){
alert('Please enter your area code.')
document.info.phone1.focus();
return false;}

if (!allDigits(document.info.phone2.value)){
alert('Please enter a valid prefix.')
document.info.phone2.focus();
return false;}

if (!(document.info.phone2.value.length == 3)){
alert('Please enter your prefix.')
document.info.phone2.focus();
return false;}

if (!allDigits(document.info.phone3.value)){
alert('Please enter a valid suffix.')
document.info.phone3.focus();
return false;}

if (!(document.info.phone3.value.length == 4)){
alert('Please enter your suffix.')
document.info.phone3.focus();
return false;}

else {

return true;

}


}

function IsShortFormComplete(ACTION)
{
var x = 0
var obj

if (document.order.fname.value == '' || document.order.fname.value == 'Enter Your First Name:'){
alert('Please enter your first name.')
document.order.fname.focus();
return false;}

if (document.order.lname.value == '' || document.order.lname.value == 'Enter Your Last Name:'){
alert('Please enter your last name.')
document.order.lname.focus();
return false;}



if (document.order.addr.value == '' || document.order.addr.value == 'Enter Your Street Address:')
{alert('Please enter your address.')
document.order.addr.focus();
return false;}

if (document.order.city.value == '' || document.order.city.value == 'Enter Your City:')
{alert('Please enter your city.')
document.order.city.focus();
return false;}

  
if (document.order.statelookup.value == '')
  {
  if (document.order.country.value == 'OTHER')
    {
    if (document.getElementById('state').value == '' || document.getElementById('state').value == undefined)
      {
       alert('Please enter your state/province/territory.')
       document.getElementById('state').focus();
       return false;
      }
    }
  else
    {
     alert('Please enter your state.')
     document.order.statelookup.focus();
     return false;
    }
  }

if (document.order.zip.value == '' || document.order.zip.value == 'Enter Your Postal Code:')   
{alert('Please enter your zip code.')
document.order.zip.focus();
return false;}

if (document.order.country.value == '')
{alert('Please enter your country.')
document.order.country.focus();
return false;}





if (document.order.email.value == '' || document.order.email.value == 'Enter Your Email:'){
alert('Please enter your email address.')
document.order.email.focus();
return false;}

checkEmailAddress(document.order.email)
if (!good){
    return false
}

if (document.getElementById('phone').value == '' || document.order.phone.value == 'Enter Your Phone #:'){
alert('Please enter your telephone number.')
document.getElementById('phone').focus();
return false;}

checkPhone = document.getElementById('phone').value.replace(/[^0-9]/gi, '');

if (!(checkPhone.length >= 10)){
alert('Please make sure you have entered your area/city code.')
document.getElementById('phone').focus();
return false;}

if (document.order.rGender)
{
if (document.order.rGender[0].checked == "" && document.order.rGender[1].checked == ""){
alert('Please select your gender.');
return false;}
}

if (document.order.selQuestion5)
{
if (document.order.selQuestion5[0].checked == "" && document.order.selQuestion5[1].checked == ""){
alert('Please select your business experience.');
return false;}
}

if (document.order.selQuestion6.value == ''){
alert('Please select your monthly income goal.');
return false;}

if (document.order.selQuestion7.value == ''){
alert('Please select the best time to call.');
return false;}

if (!document.order.cbVerify.checked)
  {
  alert('Please check the box if you have read and agree to our privacy policy.')
  document.order.cbVerify.focus();
  return false;
  }

else {

//alert('Everything is Correct')
//return false;

return true;

}
}



function IsFormComplete(ACTION)
{

var x = 0
var obj

if (document.order.fname.value == '' || document.order.fname.value == 'Enter Your First Name:'){
alert('Please enter your first name.')
document.order.fname.focus();
return false;}

if (document.order.lname.value == '' || document.order.lname.value == 'Enter Your Last Name:'){
alert('Please enter your last name.')
document.order.lname.focus();
return false;}



if (document.order.addr.value == '' || document.order.addr.value == 'Enter Your Street Address:')
{alert('Please enter your address.')
document.order.addr.focus();
return false;}

if (document.order.city.value == '' || document.order.city.value == 'Enter Your City:')
{alert('Please enter your city.')
document.order.city.focus();
return false;}

  
if (document.order.statelookup.value == '')
  {
  if (document.order.country.value == 'OTHER')
    {
    if (document.getElementById('state').value == '' || document.getElementById('state').value == undefined)
      {
       alert('Please enter your state/province/territory.')
       document.getElementById('state').focus();
       return false;
      }
    }
  else
    {
     alert('Please enter your state.')
     document.order.statelookup.focus();
     return false;
    }
  }

if (document.order.zip.value == '' || document.order.zip.value == 'Enter Your Postal Code:')   
{alert('Please enter your zip code.')
document.order.zip.focus();
return false;}

if (document.order.country.value == '')
{alert('Please enter your country.')
document.order.country.focus();
return false;}





if (document.order.email.value == '' || document.order.email.value == 'Enter Your Email:'){
alert('Please enter your email address.')
document.order.email.focus();
return false;}

checkEmailAddress(document.order.email)
if (!good){
    return false
}

if (document.getElementById('phone').value == '' || document.order.phone.value == 'Enter Your Phone #:'){
alert('Please enter your telephone number.')
document.getElementById('phone').focus();
return false;}

checkPhone = document.getElementById('phone').value.replace(/[^0-9]/gi, '');

if (!(checkPhone.length >= 10)){
alert('Please make sure you have entered your phone number.')
document.getElementById('phone').focus();
return false;}

if (document.order.rGender)
{
if (document.order.rGender[0].checked == "" && document.order.rGender[1].checked == ""){
alert('Please select your gender.');
return false;}
}

if (document.order.selQuestion5)
{
if (document.order.selQuestion5[0].checked == "" && document.order.selQuestion5[1].checked == ""){
alert('Please select your business experience.');
return false;}
}

if (document.order.selQuestion1)
{
if (document.order.selQuestion1.value == ''){
alert('Please select how soon you could start.');
return false;}
}

if (document.order.selQuestion2)
{
if (document.order.selQuestion2.value == ''){
alert('Please select how much time could you invest weekly.');
return false;}
}

if (document.order.selQuestion3)
{
if (document.order.selQuestion3.value == ''){
alert('Please select extra monthly income that you desire.');
return false;}
}

if (document.order.selQuestion4)
{
if (document.order.selQuestion4.value == ''){
alert('Please select investment to earn that income.');
return false;}
}

if (document.order.selQuestion6)
{
if (document.order.selQuestion6.value == ''){
alert('Please select your monthly income goal.');
return false;}
}

if (document.order.txtComment.value == ''){
alert('Please select why are you interested in starting a home business.');
return false;}

if (!document.order.cbVerify.checked)
  {
  alert('Please check the box if you have read and agree to our privacy policy.')
  document.order.cbVerify.focus();
  return false;
  }

else {

//alert('Everything is Correct')
//return false;

return true;

}
}


var SmartBrowser=false;
function isSmartBrowser(){if ((navigator.appName=="Microsoft Internet Explorer")&&(parseFloat(navigator.appVersion)>=4)) SmartBrowser=true}	
function lit(field)      {if (SmartBrowser){with(field.style){backgroundColor='#CCCCCC'; color='#00374A'}}}
function dim(field)      {if (SmartBrowser){with(field.style){backgroundColor='#ffffff'; color='#000000'}}}


function RefreshStates() {with (document.order) {
statelookup.selectedIndex=0
if (country.options[country.selectedIndex].value=='US') //-- United States
   {statelookup.length           = 61
    statelookup.options[ 0].value="";	statelookup.options[ 0].text="Select a State"	
	statelookup.options[ 1].value="AL";	statelookup.options[ 1].text="Alabama"
	statelookup.options[ 2].value="AK";	statelookup.options[ 2].text="Alaska"
	statelookup.options[ 3].value="AS";	statelookup.options[ 3].text="American Samoa"
	statelookup.options[ 4].value="AZ";	statelookup.options[ 4].text="Arizona"
	statelookup.options[ 5].value="AR";	statelookup.options[ 5].text="Arkansas"
	statelookup.options[ 6].value="CA";	statelookup.options[ 6].text="California"
	statelookup.options[ 7].value="CO";	statelookup.options[ 7].text="Colorado"
	statelookup.options[ 8].value="CT";	statelookup.options[ 8].text="Connecticut"
	statelookup.options[ 9].value="DE";	statelookup.options[ 9].text="Delaware"
	statelookup.options[10].value="DC";	statelookup.options[10].text="District Of Columbia"
	statelookup.options[11].value="FM";	statelookup.options[11].text="Fed. States Of Micronesia"
	statelookup.options[12].value="FL";	statelookup.options[12].text="Florida"
	statelookup.options[13].value="GA";	statelookup.options[13].text="Georgia"
	statelookup.options[14].value="GU";	statelookup.options[14].text="Guam"
	statelookup.options[15].value="HI";	statelookup.options[15].text="Hawaii"
	statelookup.options[16].value="ID";	statelookup.options[16].text="Idaho"
	statelookup.options[17].value="IL";	statelookup.options[17].text="Illinois"
	statelookup.options[18].value="IN";	statelookup.options[18].text="Indiana"
	statelookup.options[19].value="IA";	statelookup.options[19].text="Iowa"
	statelookup.options[20].value="KS";	statelookup.options[20].text="Kansas"
	statelookup.options[21].value="KY";	statelookup.options[21].text="Kentucky"
	statelookup.options[22].value="LA";	statelookup.options[22].text="Louisiana"
	statelookup.options[23].value="ME";	statelookup.options[23].text="Maine"
	statelookup.options[24].value="MH";	statelookup.options[24].text="Marshall Islands"
	statelookup.options[25].value="MD";	statelookup.options[25].text="Maryland"
	statelookup.options[26].value="MA";	statelookup.options[26].text="Massachusetts"
	statelookup.options[27].value="MI";	statelookup.options[27].text="Michigan"
	statelookup.options[28].value="MN";	statelookup.options[28].text="Minnesota"
	statelookup.options[29].value="MS";	statelookup.options[29].text="Mississippi"
	statelookup.options[30].value="MO";	statelookup.options[30].text="Missouri"
	statelookup.options[31].value="MT";	statelookup.options[31].text="Montana"
	statelookup.options[32].value="NE";	statelookup.options[32].text="Nebraska"
	statelookup.options[33].value="NV";	statelookup.options[33].text="Nevada"
	statelookup.options[34].value="NH";	statelookup.options[34].text="New Hampshire"
	statelookup.options[35].value="NJ";	statelookup.options[35].text="New Jersey"
	statelookup.options[36].value="NM";	statelookup.options[36].text="New Mexico"
	statelookup.options[37].value="NY";	statelookup.options[37].text="New York"
	statelookup.options[38].value="NC";	statelookup.options[38].text="North Carolina"
	statelookup.options[39].value="ND";	statelookup.options[39].text="North Dakota"
	statelookup.options[40].value="MP";	statelookup.options[40].text="North. Mariana Islands"
	statelookup.options[41].value="OH";	statelookup.options[41].text="Ohio"
	statelookup.options[42].value="OK";	statelookup.options[42].text="Oklahoma"
	statelookup.options[43].value="OR";	statelookup.options[43].text="Oregon"
	statelookup.options[44].value="PW";	statelookup.options[44].text="Palau"
	statelookup.options[45].value="PA";	statelookup.options[45].text="Pennsylvania"
	statelookup.options[46].value="PR";	statelookup.options[46].text="Puerto Rico"
	statelookup.options[47].value="RI";	statelookup.options[47].text="Rhode Island"
	statelookup.options[48].value="SC";	statelookup.options[48].text="South Carolina"
	statelookup.options[49].value="SD";	statelookup.options[49].text="South Dakota"
	statelookup.options[50].value="TN";	statelookup.options[50].text="Tennessee"
	statelookup.options[51].value="TX";	statelookup.options[51].text="Texas"
	statelookup.options[52].value="TT";	statelookup.options[52].text="Trust Territories"
	statelookup.options[53].value="UT";	statelookup.options[53].text="Utah"
	statelookup.options[54].value="VT";	statelookup.options[54].text="Vermont"
	statelookup.options[55].value="VI";	statelookup.options[55].text="Virgin Islands"
	statelookup.options[56].value="VA";	statelookup.options[56].text="Virginia"
	statelookup.options[57].value="WA";	statelookup.options[57].text="Washington"
	statelookup.options[58].value="WV";	statelookup.options[58].text="West Virginia"
	statelookup.options[59].value="WI";	statelookup.options[59].text="Wisconsin"
	statelookup.options[60].value="WY";	statelookup.options[60].text="Wyoming"
    document.getElementById('state').disabled = true;
	}
else if (country.options[country.selectedIndex].value=='CA') //-- Canada
   {statelookup.length=14  
    statelookup.options[ 0].value="";	statelookup.options[ 0].text="Select a Province"
	statelookup.options[ 1].value="AB";	statelookup.options[ 1].text="Alberta"
	statelookup.options[ 2].value="BC";	statelookup.options[ 2].text="British Columbia"
	statelookup.options[ 3].value="MB";	statelookup.options[ 3].text="Manitoba"
	statelookup.options[ 4].value="NB";	statelookup.options[ 4].text="New Brunswick"
	statelookup.options[ 5].value="NF";	statelookup.options[ 5].text="Newfoundland"
	statelookup.options[ 6].value="NT";	statelookup.options[ 6].text="Northwest Territories"
	statelookup.options[ 7].value="NS";	statelookup.options[ 7].text="Nova Scotia"
	statelookup.options[ 8].value="NU";	statelookup.options[ 8].text="Nunavut"
	statelookup.options[ 9].value="ON";	statelookup.options[ 9].text="Ontario"
	statelookup.options[10].value="PE";	statelookup.options[10].text="Prince Edward Island"
	statelookup.options[11].value="PQ";	statelookup.options[11].text="Providence of Quebec"
	statelookup.options[12].value="SK";	statelookup.options[12].text="Saskatchewan"
	statelookup.options[13].value="YT";	statelookup.options[13].text="Yukon Territory"
    document.getElementById('state').disabled = true;
	}
else if (country.options[country.selectedIndex].value=='UK') //-- UK
   {statelookup.length=5  
    statelookup.options[ 0].value="";	statelookup.options[ 0].text="Select a Division"
	statelookup.options[ 1].value="EN";	statelookup.options[ 1].text="England"
	statelookup.options[ 2].value="SC";	statelookup.options[ 2].text="Scotland"
	statelookup.options[ 3].value="WA";	statelookup.options[ 3].text="Wales"
	statelookup.options[ 4].value="NI";	statelookup.options[ 4].text="Northern Ireland"
    document.getElementById('state').disabled = true;
   }
else if (country.options[country.selectedIndex].value=='AU') //-- AU
   {statelookup.length=9  
    statelookup.options[ 0].value="";	statelookup.options[ 0].text="Select a State/Territory"
	statelookup.options[ 1].value="ACT";	statelookup.options[ 1].text="Australian Capital Territory"
	statelookup.options[ 2].value="NSW";	statelookup.options[ 2].text="New South Wales"
	statelookup.options[ 3].value="NT";	statelookup.options[ 3].text="Norther Territory"
	statelookup.options[ 4].value="QU";	statelookup.options[ 4].text="Queensland" 
	statelookup.options[ 5].value="SA";	statelookup.options[ 5].text="South Australia"
	statelookup.options[ 6].value="TA";	statelookup.options[ 6].text="Tasmania"
	statelookup.options[ 7].value="VI";	statelookup.options[ 7].text="Victoria"
	statelookup.options[ 8].value="WA";	statelookup.options[ 8].text="Western Australia"
    document.getElementById('state').disabled = true;
   }
else if (country.options[country.selectedIndex].value=='OTHER') //-- Other
   {statelookup.length=1  
    statelookup.options[ 0].value="";	statelookup.options[ 0].text="Please Enter Below" 
    document.getElementById('state').value="";
    document.getElementById('state').disabled = false;
   }
else	
    {	
	statelookup.length=1;
	statelookup.options[ 0].value="";	statelookup.options[ 0].text="Please Enter Below"
    document.getElementById('state').value="";
    document.getElementById('state').disabled = false; 
    }
}}


function RefreshStates2() {with (document.cart) {
statelookup2.selectedIndex=0
if (country2.options[country2.selectedIndex].value=='US') //-- United States
   {statelookup2.length           = 61
    statelookup2.options[ 0].value="";	statelookup2.options[ 0].text="Select a State...."	
	statelookup2.options[ 1].value="AL";	statelookup2.options[ 1].text="Alabama"
	statelookup2.options[ 2].value="AK";	statelookup2.options[ 2].text="Alaska"
	statelookup2.options[ 3].value="AS";	statelookup2.options[ 3].text="American Samoa"
	statelookup2.options[ 4].value="AZ";	statelookup2.options[ 4].text="Arizona"
	statelookup2.options[ 5].value="AR";	statelookup2.options[ 5].text="Arkansas"
	statelookup2.options[ 6].value="CA";	statelookup2.options[ 6].text="California"
	statelookup2.options[ 7].value="CO";	statelookup2.options[ 7].text="Colorado"
	statelookup2.options[ 8].value="CT";	statelookup2.options[ 8].text="Connecticut"
	statelookup2.options[ 9].value="DE";	statelookup2.options[ 9].text="Delaware"
	statelookup2.options[10].value="DC";	statelookup2.options[10].text="District Of Columbia"
	statelookup2.options[11].value="FM";	statelookup2.options[11].text="Fed. States Of Micronesia"
	statelookup2.options[12].value="FL";	statelookup2.options[12].text="Florida"
	statelookup2.options[13].value="GA";	statelookup2.options[13].text="Georgia"
	statelookup2.options[14].value="GU";	statelookup2.options[14].text="Guam"
	statelookup2.options[15].value="HI";	statelookup2.options[15].text="Hawaii"
	statelookup2.options[16].value="ID";	statelookup2.options[16].text="Idaho"
	statelookup2.options[17].value="IL";	statelookup2.options[17].text="Illinois"
	statelookup2.options[18].value="IN";	statelookup2.options[18].text="Indiana"
	statelookup2.options[19].value="IA";	statelookup2.options[19].text="Iowa"
	statelookup2.options[20].value="KS";	statelookup2.options[20].text="Kansas"
	statelookup2.options[21].value="KY";	statelookup2.options[21].text="Kentucky"
	statelookup2.options[22].value="LA";	statelookup2.options[22].text="Louisiana"
	statelookup2.options[23].value="ME";	statelookup2.options[23].text="Maine"
	statelookup2.options[24].value="MH";	statelookup2.options[24].text="Marshall Islands"
	statelookup2.options[25].value="MD";	statelookup2.options[25].text="Maryland"
	statelookup2.options[26].value="MA";	statelookup2.options[26].text="Massachusetts"
	statelookup2.options[27].value="MI";	statelookup2.options[27].text="Michigan"
	statelookup2.options[28].value="MN";	statelookup2.options[28].text="Minnesota"
	statelookup2.options[29].value="MS";	statelookup2.options[29].text="Mississippi"
	statelookup2.options[30].value="MO";	statelookup2.options[30].text="Missouri"
	statelookup2.options[31].value="MT";	statelookup2.options[31].text="Montana"
	statelookup2.options[32].value="NE";	statelookup2.options[32].text="Nebraska"
	statelookup2.options[33].value="NV";	statelookup2.options[33].text="Nevada"
	statelookup2.options[34].value="NH";	statelookup2.options[34].text="New Hampshire"
	statelookup2.options[35].value="NJ";	statelookup2.options[35].text="New Jersey"
	statelookup2.options[36].value="NM";	statelookup2.options[36].text="New Mexico"
	statelookup2.options[37].value="NY";	statelookup2.options[37].text="New York"
	statelookup2.options[38].value="NC";	statelookup2.options[38].text="North Carolina"
	statelookup2.options[39].value="ND";	statelookup2.options[39].text="North Dakota"
	statelookup2.options[40].value="MP";	statelookup2.options[40].text="North. Mariana Islands"
	statelookup2.options[41].value="OH";	statelookup2.options[41].text="Ohio"
	statelookup2.options[42].value="OK";	statelookup2.options[42].text="Oklahoma"
	statelookup2.options[43].value="OR";	statelookup2.options[43].text="Oregon"
	statelookup2.options[44].value="PW";	statelookup2.options[44].text="Palau"
	statelookup2.options[45].value="PA";	statelookup2.options[45].text="Pennsylvania"
	statelookup2.options[46].value="PR";	statelookup2.options[46].text="Puerto Rico"
	statelookup2.options[47].value="RI";	statelookup2.options[47].text="Rhode Island"
	statelookup2.options[48].value="SC";	statelookup2.options[48].text="South Carolina"
	statelookup2.options[49].value="SD";	statelookup2.options[49].text="South Dakota"
	statelookup2.options[50].value="TN";	statelookup2.options[50].text="Tennessee"
	statelookup2.options[51].value="TX";	statelookup2.options[51].text="Texas"
	statelookup2.options[52].value="TT";	statelookup2.options[52].text="Trust Territories"
	statelookup2.options[53].value="UT";	statelookup2.options[53].text="Utah"
	statelookup2.options[54].value="VT";	statelookup2.options[54].text="Vermont"
	statelookup2.options[55].value="VI";	statelookup2.options[55].text="Virgin Islands"
	statelookup2.options[56].value="VA";	statelookup2.options[56].text="Virginia"
	statelookup2.options[57].value="WA";	statelookup2.options[57].text="Washington"
	statelookup2.options[58].value="WV";	statelookup2.options[58].text="West Virginia"
	statelookup2.options[59].value="WI";	statelookup2.options[59].text="Wisconsin"
	statelookup2.options[60].value="WY";	statelookup2.options[60].text="Wyoming"
	}
else if (country2.options[country2.selectedIndex].value=='CA') //-- Canada
   {statelookup2.length=14  
    statelookup2.options[ 0].value="";	statelookup2.options[ 0].text="Select a Province...."
	statelookup2.options[ 1].value="AB";	statelookup2.options[ 1].text="Alberta"
	statelookup2.options[ 2].value="BC";	statelookup2.options[ 2].text="British Columbia"
	statelookup2.options[ 3].value="MB";	statelookup2.options[ 3].text="Manitoba"
	statelookup2.options[ 4].value="NB";	statelookup2.options[ 4].text="New Brunswick"
	statelookup2.options[ 5].value="NF";	statelookup2.options[ 5].text="Newfoundland"
	statelookup2.options[ 6].value="NT";	statelookup2.options[ 6].text="Northwest Territories"
	statelookup2.options[ 7].value="NS";	statelookup2.options[ 7].text="Nova Scotia"
	statelookup2.options[ 8].value="NU";	statelookup2.options[ 8].text="Nunavut"
	statelookup2.options[ 9].value="ON";	statelookup2.options[ 9].text="Ontario"
	statelookup2.options[10].value="PE";	statelookup2.options[10].text="Prince Edward Island"
	statelookup2.options[11].value="PQ";	statelookup2.options[11].text="Providence of Quebec"
	statelookup2.options[12].value="SK";	statelookup2.options[12].text="Saskatchewan"
	statelookup2.options[13].value="YT";	statelookup2.options[13].text="Yukon Territory"
	}
else if (country2.options[country2.selectedIndex].value=='OTHER') //-- Other
   {statelookup2.length=1  
    statelookup2.options[ 0].value="";	statelookup2.options[ 0].text="Other...."
   }
else	
    {	
	statelookup2.length=1;
	statelookup2.options[ 0].value="";	statelookup2.options[ 0].text="Please Specify Below"
    }
}}




function IsFormCompleted(ACTION)
{

var x = 0
var obj

if (document.order.fname.value == '' || document.order.fname.value == 'Enter Your First Name:'){
alert('Please enter your first name.')
document.order.fname.focus();
return false;}

if (document.order.lname.value == '' || document.order.lname.value == 'Enter Your Last Name:'){
alert('Please enter your last name.')
document.order.lname.focus();
return false;}



if (document.order.addr.value == '' || document.order.addr.value == 'Enter Your Street Address:')
{alert('Please enter your address.')
document.order.addr.focus();
return false;}

if (document.order.city.value == '' || document.order.city.value == 'Enter Your City:')
{alert('Please enter your city.')
document.order.city.focus();
return false;}

  
if (document.order.statelookup.value == '')
  {
  if (document.order.country.value == 'OTHER')
    {
    if (document.getElementById('state').value == '' || document.getElementById('state').value == undefined)
      {
       alert('Please enter your state/province/territory.')
       document.getElementById('state').focus();
       return false;
      }
    }
  else
    {
     alert('Please enter your state.')
     document.order.statelookup.focus();
     return false;
    }
  }

if (document.order.zip.value == '' || document.order.zip.value == 'Enter Your Postal Code:')   
{alert('Please enter your zip code.')
document.order.zip.focus();
return false;}

if (document.order.country.value == '')
{alert('Please enter your country.')
document.order.country.focus();
return false;}





if (document.order.email.value == '' || document.order.email.value == 'Enter Your Email:'){
alert('Please enter your email address.')
document.order.email.focus();
return false;}

checkEmailAddress(document.order.email)
if (!good){
    return false
}

if (document.getElementById('phone').value == '' || document.order.phone.value == 'Enter Your Phone #:'){
alert('Please enter your telephone number.')
document.getElementById('phone').focus();
return false;}

checkPhone = document.getElementById('phone').value.replace(/[^0-9]/gi, '');

if (!(checkPhone.length >= 10)){
alert('Please make sure you have entered your phone number.')
document.getElementById('phone').focus();
return false;}

if (document.order.occupation.value == '' || document.order.occupation.value == 'Enter Your Occupation:'){
alert('Please enter your occupation.')
document.order.occupation.focus();
return false;}

if (document.order.rGender)
{
if (document.order.rGender[0].checked == "" && document.order.rGender[1].checked == ""){
alert('Please select your gender.');
return false;}
}

if (document.order.extraincome.value == '' || document.order.extraincome.value == 'Enter how much you want to make each month:'){
alert('Please enter how much you want to make each month.')
document.order.extraincome.focus();
return false;}

if (document.order.monthlybills.value == '' || document.order.monthlybills.value == 'Enter Your Monthly Bills:'){
alert('Please enter your monthly bills.')
document.order.monthlybills.focus();
return false;}

if (document.order.txtComment.value == ''){
alert('Please tell us about your goals.');
return false;}

if (!document.order.cbVerify.checked)
  {
  alert('Please check the box if you have read and agree to our privacy policy.')
  document.order.cbVerify.focus();
  return false;
  }

else {

//alert('Everything is Correct')
//return false;

return true;

}
}


