    document.writeln('');
    document.writeln('<!-- Copyright Kayak.com 2006                                          -->');
    document.writeln('<!-- Kayak Developer Network                                           -->');
    document.writeln('<!-- affiliate-support at kayak.com                                    -->');
    document.writeln('<!--                                                                   -->');
    document.writeln('<!-- To make use of this you need to insert your assigned affiliate id -->');
    document.writeln('<!-- in place of the form variable \"ai\".  Note that this variable is   -->');
    document.writeln('<!-- used 3 times as there are 3 embedded forms here.                  -->');
    document.writeln('<!--                                                                   -->');
    document.writeln('<!-- The real intention of this search widget is to be used within our -->');
    document.writeln('<!-- linkshare offerings.  Because of how the forms need to be post    -->');
    document.writeln('<!-- processed, all the js and css is in-lined rather than referenced  -->');
    document.writeln('<!-- as external files. Also note that this is not a complete html file-->');
    document.writeln('<!-- in that there\'s no html, head or body tags; those all belong in   -->');
    document.writeln('<!-- document which includes this form.                                -->');
    document.writeln('');
    document.writeln('<script src=\"http://www.kayak.com/labsdata/gateway/w/js/lite.js\" type=\"text/javascript\"></script>');
    document.writeln('');
    document.writeln('<style type=\"text/css\">');
    document.writeln('');
    document.writeln('  table.kayak180x150 {');
    document.writeln('    border: #FAAA52 1px solid;');
    document.writeln('    width: 180px;');
    document.writeln('    height: 150px;');
    document.writeln('    padding: 0px;');
    document.writeln('    spacing: 0px;');
    document.writeln('    background: white;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  logoCell {');
    document.writeln('    width: 50px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  td.tabsCell {');
    document.writeln('    height: 23px;');
    document.writeln('    width: 130px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  a:link.btnOn, a:visited.btnOn {');
    document.writeln('    background: #FFE4B5;');
    document.writeln('    color: #000;');
    document.writeln('    text-decoration: none;');
    document.writeln('    border: 1px solid;');
    document.writeln('    font-size: 9px;');
    document.writeln('    font-family: Arial;');
    document.writeln('    font-weight: bold;');
    document.writeln('    padding: 1px;');
    document.writeln('');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  a:link.btnOff, a:visited.btnOff {');
    document.writeln('    background: #FFFFF0;');
    document.writeln('    color: #000;');
    document.writeln('    text-decoration: none;');
    document.writeln('    border: 1px solid;');
    document.writeln('    font-size: 9px;');
    document.writeln('    font-family: Arial;');
    document.writeln('    font-weight: bold;');
    document.writeln('    padding: 1px;');
    document.writeln('');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  a.btnOn:hover, a.btnOff:hover {');
    document.writeln('    background : #ff6600 ;');
    document.writeln('    color:#000;');
    document.writeln('    text-decoration:none;');
    document.writeln('    border:1px solid ;');
    document.writeln('    font-size: 9px;');
    document.writeln('    font-family: Arial ;');
    document.writeln('    font-weight : bold ;');
    document.writeln('    padding: 1px;');
    document.writeln('');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  a.textlnk, a:visited.textlnk {');
    document.writeln('    text-decoration: none;');
    document.writeln('    color: black;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  div.flight {');
    document.writeln('    display: none;');
    document.writeln('    visibility: hidden;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  div.hotel {');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  div.car {');
    document.writeln('    display: none;');
    document.writeln('    visibility: hidden;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row1cell1 {');
    document.writeln('    height: 12px;');
    document.writeln('    width: 35px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row1cell2 {');
    document.writeln('    height: 12px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row2cell1 {');
    document.writeln('    height: 12px;');
    document.writeln('    width: 35px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row2cell2 {');
    document.writeln('    height: 12px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row3cell1 {');
    document.writeln('    text-align: center;');
    document.writeln('    padding: 0px;');
    document.writeln('    spacing: 0px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .row4 {');
    document.writeln('    text-align: center;');
    document.writeln('    padding: 0px;');
    document.writeln('    spacing: 0px;');
    document.writeln('  }');
    document.writeln('  .mktBreak {');
    document.writeln('    font-family: verdana;');
    document.writeln('    font-size: 7px;');
    document.writeln('    font-weight: bold;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .mktMsg {');
    document.writeln('    font-family: verdana;');
    document.writeln('    font-size: 10px;');
    document.writeln('    padding: 0px;');
    document.writeln('    spacing: 0px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .vertSpacer0 {');
    document.writeln('    height: 4px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .vertSpacer1 {');
    document.writeln('    height: 2px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .vertSpacer2 {');
    document.writeln('    height: 4px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .vertSpacer3 {');
    document.writeln('    height: 25px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .vertSpacer4 {');
    document.writeln('    height: 1px;');
    document.writeln('    padding: 1.25px;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .fldLabel {');
    document.writeln('    font-family: verdana;');
    document.writeln('    font-size: 10px;');
    document.writeln('    font-weight: bold;');
    document.writeln('  }');
    document.writeln('');
    document.writeln('  .inpField {');
    document.writeln('    font-family: verdana;');
    document.writeln('    font-size: 10px;');
    document.writeln('    font-weight: bold;');
    document.writeln('    width: 120px;');
    document.writeln('    border: #FAAA52 1px solid;');
    document.writeln('  }');
    document.writeln('  .inpFieldVOID {');
    document.writeln('    font-family: verdana;');
    document.writeln('    font-size: 10px;');
    document.writeln('    font-weight: bold;');
    document.writeln('    width: 120px;');
    document.writeln('    border: 0px solid;');
    document.writeln('  }');
    document.writeln('</style>');
    document.writeln('');
    document.writeln('<table class=\"kayak180x150\" CELLSPACING=\"0\" CELLPADDING=\"0\">');
    document.writeln('  <tr>');
    document.writeln('    <td valign=\"TOP\">');
    document.writeln('      <table width=\"100%\">');
    document.writeln('        <tr>');
    document.writeln('          <td valign=\"top\" class=\"tabsCell\">');
    document.writeln('            <a id=\"btn_1\" class=\"btnOff\" href=\"javascript://\" onclick=\"selectLayer(this)\">Flights</a>');
    document.writeln('            <a id=\"btn_2\" class=\"btnOn\" href=\"javascript://\" onclick=\"selectLayer(this)\">Hotels</a>');
    document.writeln('            <a id=\"btn_3\" class=\"btnOff\" href=\"javascript://\" onclick=\"selectLayer(this)\">Cars</a>');
    document.writeln('          </td>');
    document.writeln('          <td class=\"logoCell\"><a href=\"javascript://\" onclick=\"simpleLink()\"><img alt=\"kayak.com\" border=\"0\"');
    document.writeln('            src=\"http://www.kayak.com/labsdata/gateway/w/images/50w30h.gif\"/></a></td>');
    document.writeln('        </tr>');
    document.writeln('');
    document.writeln('        <tr>');
    document.writeln('          <td colspan=\"2\">');
    document.writeln('            <div class=\"flight\" id=\"pane_1\">');
    document.writeln('              <form name=\"flight\" action=\"javascript://\">');
    document.writeln('                <input type=\"hidden\" name=\"ai\" value=\"linkshare\" />');
    document.writeln('                <input type=\"hidden\" name=\"do\" value=\"y\" />');
    document.writeln('              <table CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                <tr><td class=\"vertSpacer0\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr>');
    document.writeln('                  <td class=\"row1cell1\"><span class=\"fldLabel\">From:</span></td>');
    document.writeln('                  <td class=\"row1cell2\"><input class=\"inpField\" type=\"text\" name=\"l1\" value=\"\"/></td>');
    document.writeln('                </tr>');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer1\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('               <tr>');
    document.writeln('                  <td class=\"row2cell1\"><span class=\"fldLabel\">To:</span></td>');
    document.writeln('                  <td class=\"row2cell2\"><input class=\"inpField\" type=\"text\" name=\"l2\" value=\"\"/></td>');
    document.writeln('                </tr>');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer2\" colspan=\"2\"></td></tr>');
    document.writeln('                <tr><td class=\"vertSpacer4\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                  <td colspan=\"2\" class=\"row3cell1\" CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                    <a href=\"javascript://\" onclick=\"submitForm(\'flight\');\"><img border=\"0\"');
    document.writeln('                      src=\"http://www.kayak.com/labsdata/gateway/w/images/search.gif\"/></a><BR>');
    document.writeln('                    <span class=\"mktMsg\">for <a class=\"textlnk\" href=\"javascript://\" onclick=\"submitLink()\">cheap flights</a></span>');
    document.writeln('                  </td>');
    document.writeln('                </tr>');
    document.writeln('              </table>');
    document.writeln('              </form>');
    document.writeln('            </div>');
    document.writeln('');
    document.writeln('');
    document.writeln('            <div class=\"hotel\" id=\"pane_2\">');
    document.writeln('              <form name=\"hotel\" action=\"javascript://\">');
    document.writeln('                <input type=\"hidden\" name=\"ai\" value=\"linkshare\" />');
    document.writeln('                <input type=\"hidden\" name=\"do\" value=\"y\" />');
    document.writeln('              <table CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer0\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr>');
    document.writeln('                  <td class=\"row1cell1\"><span class=\"fldLabel\">City:</span></td>');
    document.writeln('                  <td class=\"row1cell2\"><input class=\"inpField\" type=\"text\" name=\"crc\" value=\"\"/></td>');
    document.writeln('                </tr>');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer3\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr>');
    document.writeln('                  <td colspan=\"2\" class=\"row3cell1\" CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                    <a href=\"javascript://\" onclick=\"submitForm(\'hotel\');\"><img border=\"0\"');
    document.writeln('                      src=\"http://www.kayak.com/labsdata/gateway/w/images/search.gif\"/></a><BR>');
    document.writeln('                    <span class=\"mktMsg\">for <a class=\"textlnk\" href=\"javascript://\" onclick=\"submitLink()\">discount hotels</a></span>');
    document.writeln('                  </td>');
    document.writeln('                </tr>');
    document.writeln('              </table>');
    document.writeln('              </form>');
    document.writeln('            </div>');
    document.writeln('');
    document.writeln('            <div class=\"car\" id=\"pane_3\">');
    document.writeln('              <form name=\"car\" action=\"javascript://\">');
    document.writeln('                <input type=\"hidden\" name=\"ai\" value=\"linkshare\" />');
    document.writeln('                <input type=\"hidden\" name=\"do\" value=\"y\" />');
    document.writeln('              <table CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer0\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr>');
    document.writeln('                  <td class=\"row1cell1\"><span class=\"fldLabel\">City:</span></td>');
    document.writeln('                  <td class=\"row1cell2\"><input class=\"inpField\" type=\"text\" name=\"crc\" value=\"\"/></td>');
    document.writeln('                </tr>');
    document.writeln('');
    document.writeln('                <tr><td class=\"vertSpacer3\" colspan=\"2\"></td></tr>');
    document.writeln('');
    document.writeln('                <tr CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                  <td colspan=\"2\" class=\"row3cell1\" CELLPADDING=\"0\" CELLSPACING=\"0\">');
    document.writeln('                    <a href=\"javascript://\" onclick=\"submitForm(\'car\');\"><img border=\"0\"');
    document.writeln('                      src=\"http://www.kayak.com/labsdata/gateway/w/images/search.gif\"/></a><BR>');
    document.writeln('                    <span class=\"mktMsg\">for <a class=\"textlnk\" href=\"javascript://\" onclick=\"submitLink()\">rental cars</a></span>');
    document.writeln('                  </td>');
    document.writeln('                </tr>');
    document.writeln('              </table>');
    document.writeln('              </form>');
    document.writeln('            </div>');
    document.writeln('          </td>');
    document.writeln('        </tr>');
    document.writeln('');
    document.writeln('');
    document.writeln('');
    document.writeln('      </table>');
    document.writeln('    </td>');
    document.writeln('  </tr>');
    document.writeln('');
    document.writeln('</table>');


