  String.prototype.trim = StringTrim;
  function submitform(thisform) {
    if (thisform.q1.value.trim() != "") {
      thisform.submit();
    }
  }
  function StringTrim() {
    var TestString = this;
    var SpaceChar  = " ";
    while (TestString.charAt(0) == SpaceChar) {TestString = TestString.substr(1)};
    while (TestString.charAt(TestString.length-1) == SpaceChar) {TestString = TestString.substr(0,TestString.length-1)};
    return TestString.toString();
  }
document.write('<form method="get" action="http://www.healthline.com/search?" onsubmit="submitform(this); return false" style="margin:0px;padding:0px">')
document.write('<div>')
document.write('<input type="text" name="q1" size="14" value="" style="padding:0px"><input type="submit" value="Go" style="padding:0px" /><br />')
document.write('<img src="http://www.healthline.com/images/hl_logo_poweredby_102x20.gif" alt="Powered by Healthline" width="102" height="20" />')
document.write('<input type="hidden" name="source" value="searchbox" />')
document.write('</div>')
document.write('</form>')
