// Correctly frame based on frame logo in index.html script
//   escape if language was set or translation
     function outunder(level) {
       var curloc = location.href;
       var newloc;
       if (curloc==top.location.href) {
         offset = curloc.lastIndexOf("/");
         if (offset <=0 ) {
           newloc = curloc + "/index.html";
         }
         else {
           newloc = curloc.substring(0,offset);
           if (level == "2") {offset = newloc.lastIndexOf("/");}
           newloc = newloc.substring(0,offset) + "/index.html";
         }
         if (level == "2") {newloc = newloc + "?page=" +
              curloc.substring(offset,curloc.length-5)+".html";}
         top.location.href = newloc;
       }
     }

// Set up email
function emailpage(what) {
    what.action = 'mailto:' + document.hiddenForm.emailAddress.value +
                  '?SUBJECT=' + document.hiddenForm.subjectLine.value;
    what.elements[' '].value = ' Subject Heading =\n\n' + what.elements[' '].value + '\n\n';
}


