
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

function check_checkboxes()
{
  var c = document.getElementsByTagName('input');
  for (var i = 0; i < c.length; i++)
  {
    if (c[i].type == 'checkbox')
    {
       if (c[i].checked) {return true}
    }
  }
  return false;
}



function valEmailList(form) {

// validate Name
if (form.firstname.value == "") {
alert("You must enter your First Name");
return false;
}

// validate Name
if (form.lastname.value == "") {
alert("You must enter your Last Name");
return false;
}

// validate Email
if (form.email.value == "") {
alert("You must enter your Email Address");
return false;
}



// place any other field validations that you require here
form.submit();
}     



function valCritNeeds(form) {




// place any other field validations that you require here
form.submit();
}           


function valBizPartner(form) {

// validate Name
if (form.Name.value == "") {
alert("You must enter your Name");
return false;
}

// validate Name
if (form.Company.value == "") {
alert("You must enter your Company Name");
return false;
}

// validate Email
if (form.Phone.value == "") {
alert("You must enter your Phone Number");
return false;
}



// place any other field validations that you require here
form.submit();
} 



function valFurnitureForm(form) {
// validate Email
if (form.hear.value == "Select One") {
alert("You must select how you heard about us");
return false;
}
// validate Email
if (form.located.value == "Select One") {
alert("You must select where the furniture is located");
return false;
}

// validate Email
if (form.birthdate_Month_ID.value == "") {
alert("You must select a remove by date");
return false;
}







// validate Name
if (form.firstname.value == "") {
alert("You must enter your First Name");
return false;
}

// validate Name
if (form.lastname.value == "") {
alert("You must enter your Last Name");
return false;
}

// validate Name
if (form.email.value == "") {
alert("You must enter your Email");
return false;
}

// validate Email
if (form.phone.value == "") {
alert("You must enter your Phone Number");
return false;
}



// place any other field validations that you require here
form.submit();
} 



