    document.writeln('<link href=\"http://www.kayak.com/labsdata/gateway/w/css/calendar.css\" rel=\"stylesheet\" type=\"text/css\" />');
    document.writeln('<script src=\"http://www.kayak.com/labsdata/gateway/w/js/calendar.js\" type=\"text/javascript\"></script>');
    document.writeln('<script src=\"http://www.kayak.com/labsdata/widgets/js/dhtml.js\" type=\"text/javascript\"></script>');
    document.writeln('<script src=\"http://www.kayak.com/labsdata/widgets/f300x250/kwid.js\"  type=\"text/javascript\"></script>');
    document.writeln('<link href=\"http://www.kayak.com/labsdata/widgets/f300x250/style.css\" type=\"text/css\" rel=\"stylesheet\" />');
    document.writeln('');
    document.writeln('    <div class=\"kWidget\">');
    document.writeln('');
    document.writeln('      <div class=\"kTop\">');
    document.writeln('        <div class=\"kHotImg\">');
    document.writeln('          <a href=\"javascript://\" onclick=\"kwidKayakHome();\"><img alt=\"kayak.com\"');
    document.writeln('            src=\"http://www.kayak.com/labsdata/widgets/f300x250/a-kayak-small-orange.gif\" border=\"0\"></a>');
    document.writeln('        </div>');
    document.writeln('      </div>');
    document.writeln('');
    document.writeln('      <div class=\"kMiddle\">');
    document.writeln('        <div class=\"kPane0\" id=\"kPane0\">');
    document.writeln('  <form id=\"kFlightForm\" name=\"kFlightForm\" action=\"javascript://\">');
    document.writeln('    <input type=\"hidden\" value=\"linkshare\" name=\"ai\"/>');
    document.writeln('    <input type=\"hidden\" name=\"p\"/>');
    document.writeln('    <input type=\"hidden\" value=\"y\" name=\"do\"/>');
    document.writeln('    <input type=\"hidden\" value=\"rt\" name=\"ft\"/>');
    document.writeln('    <input type=\"hidden\" value=\"y\" name=\"ns\"/>');
    document.writeln('    <table class=\"kAirTab\" cellspacing=\"0\" cellpadding=\"0\">');
    document.writeln('      <tr class=\"kSection0\">');
    document.writeln('        <td valign=\"middle\" width=\"50%\">');
    document.writeln('          <span class=\"kLabel\">From</span>');
    document.writeln('          <span class=\"kGrayTxt\">(city or airport)</span></br>');
    document.writeln('          <input class=\"kAirport\" name=\"l1\" id=\"l1\"/>');
    document.writeln('        </td>');
    document.writeln('        <td valign=\"middle\" width=\"50%\">');
    document.writeln('          <span class=\"kLabel\">To</span>');
    document.writeln('          <span class=\"kGrayTxt\">(city or airport)</span></br>');
    document.writeln('          <input class=\"kAirport\" name=\"l2\" id=\"l1\"/>');
    document.writeln('        </td>');
    document.writeln('      </tr>');
    document.writeln('      <tr class=\"kSection1\">');
    document.writeln('        <td valign=\"middle\" width=\"50%\">');
    document.writeln('          <span class=\"kLabel\">Leave</span><br/>');
    document.writeln('          <input class=\"kayakDate\" id=\"d1Flight\" name=\"d1\" size=\"10\"');
    document.writeln('            onclick=\"javascript:showCalendar(\'d1Flight\', \'mm/dd/y\')\"');
    document.writeln('            readOnly=\"readonly\" /><A');
    document.writeln('            href=\"javascript:showCalendar(\'d1Flight\',%20\'mm/dd/y\')\"><IMG');
    document.writeln('            alt=\"Set depart date\" border=\"0\" height=\"15\"');
    document.writeln('            src=\"http://www.kayak.com/labsdata/gateway/w/images/calendar.gif\"></A>');
    document.writeln('        </td>');
    document.writeln('        <td valign=\"middle\" width=\"50%\">');
    document.writeln('          <span class=\"kLabel\">Return</span><br/>');
    document.writeln('          <input class=\"kayakDate\" id=\"d2Flight\" name=\"d2\" size=\"10\"');
    document.writeln('            onclick=\"javascript:showCalendar(\'d2Flight\', \'mm/dd/y\')\"');
    document.writeln('            readOnly=\"readonly\" /><A');
    document.writeln('            href=\"javascript:showCalendar(\'d2Flight\',%20\'mm/dd/y\')\"><IMG');
    document.writeln('            alt=\"Set depart date\" border=\"0\" height=\"15\"');
    document.writeln('            src=\"http://www.kayak.com/labsdata/gateway/w/images/calendar.gif\"></A>');
    document.writeln('        </td>');
    document.writeln('      </tr>');
    document.writeln('    </table>');
    document.writeln('  </form>');
    document.writeln('</div>');
    document.writeln('');
    document.writeln('        <div class=\"kPane1\" id=\"kPane1\"></div>');
    document.writeln('        <div class=\"kPane2\" id=\"kPane2\"></div>');
    document.writeln('');
    document.writeln('      </div>');
    document.writeln('      <div class=\"kBot\">');
    document.writeln('        <a href=\"javascript://\" onclick=\"kwidOnSubmit();\"><img');
    document.writeln('          alt=\"kayak.com\" src=\"http://www.kayak.com/labsdata/widgets/f300x250/a-search-button-orange.gif\"');
    document.writeln('          border=\"0\"/></a>');
    document.writeln('');
    document.writeln('      </div>');
    document.writeln('    </div>');

