  function openNewWindow(theURL,winName,winScroll,winResize,winStatus,newWindowWidth,newWindowHeight) {
    newWindowLeft = (screen.width - newWindowWidth - 10) / 2;
    newWindowTop = (screen.height - newWindowHeight - 60) / 2;

    window.open(theURL,winName,'scrollbars=' + winScroll + ',resizable=' + winResize + ',status=' + winStatus + ',width=' + newWindowWidth + ',height=' + newWindowHeight + ',left=' + newWindowLeft + ',top=' + newWindowTop);
    return false;
  }

  function loadBody() {
    window.status = "Drivers Choice";
    window.focus();
    return false;
  }

  function defaultStatus() {
    window.status = "Drivers Choice";
    return true;
  }

  function setStatus(statusString) {
    window.status = statusString;
    return true;
  }

  function checkForm(theForm) {
    var name = theForm.nameTextbox.value;
    var email = theForm.emailTextbox.value;
    var phone = theForm.phoneTextbox.value;

    if (name == "") {
      alert("Please enter your name :.");
      return false;
    }
    else if (email == "") {
      alert("Please enter your e-mail address :.");
      return false;
    }
    else if (phone == "") {
      alert("Please enter a phone number :.");
      return false;
    }
  }

  function swapImage(img2,field2) {
    img2.src = "tn_" + document.imagesForm.pic1field.value + ".jpg";
    document['pic1'].src = field2.value + ".jpg";

    temp = field2.value;
    field2.value = document.imagesForm.pic1field.value;
    document.imagesForm.pic1field.value = temp;
  }

  function toggle(targetID) {
    target = document.all(targetID);

    if (target.style.display == "none") {
      target.style.display = "";
    }
    else {
      target.style.display = "none";
    }

    return false;
  }

  function toggle2(targetID) {
    target = document.all(targetID);

    if (target.style.display == "none") {
      target.style.display = "";
      document[targetID + 'Image'].src = "../../images/box_collapse.gif";
    }
    else {
      target.style.display = "none";
      document[targetID + 'Image'].src = "../../images/box_expand.gif";
    }

    return false;
  }

  function textareaInput(theField,inputLength) {
    if (theField.value.length >= inputLength) {
      alert("You have reached the maximum " +  inputLength + " characters for this field" );
      return false;
    }
  }