   var theForm = document.forms['aspnetForm'];
    if (!theForm) {
        theForm = document.aspnetForm;
    }
    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }

    // Clears default search field text on click
    function clickclear(thisfield, defaulttext) {
        if (thisfield.value == defaulttext) {
          thisfield.value = "";
        }
      }
      function clickrecall(thisfield, defaulttext) {
      if (thisfield.value == "") {
        thisfield.value = defaulttext;
      }
    }
   // Print current page
   function printpage() {
      window.print();
   }
   // Email current URL
   function emailpage() {
      var subject = document.title.replace( '&', 'and' );
      var body = location.href;
      var url = "mailto:?subject=" + subject + "&body=" + body;
      window.location.replace(url);
   }
