(function(){
  var site = 'http://www.medstory.com/';
  var box_label = 'Health Search';
  var box_width = 80;
  var html = [
    '<form method="get" action="'+site+'app">',
    '<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #000000">'+box_label+'</div>',
    '<input type="hidden" name="service" value="external" />',
    '<input type="hidden" name="page" value="Search" />',
    '<input type="hidden" name="tc" value="box" />',
    '<input style="vertical-align: middle; width: '+box_width+'px" type="text" name="q" maxlength="127" value="" />',
    '&nbsp;',
    '<input style="vertical-align: middle; width: 30px" type="submit" value="Go" />',
    '<br>',
    '<a href="'+site+'" style=" border: 0; text-decoration: none"><img style="border: 0; margin-top: 3px; vertical-align: middle" src="'+site+'images/medstory_box.gif" alt="Powered by Medstory" /></a>',
    '</form>'
  ];
  document.write(html.join(''));
})();
