<!--

function cancelled(url) {
   window.location = url;
}

function open_window(url) {
   wi = (screen.width-100);
   hi = (screen.height-100);
   t = (screen.height-hi)/2;
   l = (screen.width-wi)/2;
   window.open(url,"newWin","top="+t+",left="+l+",width="+wi+",height="+hi+",scrollbars=1,status=yes");
}

function validate() {
   for (i=0; i < document.je.elements.length; i++) {
      if ((document.je.elements[i].name.indexOf("req_",0) != -1) &&  (document.je.elements[i].value == "")){
          alert ("Please complete the " + document.je.elements[i].name.substr(4).replace(/_/g, " ") + " field.");
          document.je.elements[i].focus();
          return false;
      }
   }
   return true;
}

function check(choice) {
    ok = "no";
    for (i=0; i<choice.length; i++) {
       if (choice[i].checked) {
          ok = "yes";
       }
    }
    
    if (ok == "no") {
       alert("Please select answer");
       return false;
    }
    
    return true;
}


function url(newLoc) {
   newPage = newLoc.options[newLoc.selectedIndex].value;

   if (newPage != "")
       window.location = newPage;

}
// -->