document.write('<div class="menuBox">');
document.write('	<h4>China Flight Search</h4>');
document.write('	<div class="flightSearch" style="border:none;">');
document.write('		<form  action="/china-flights/waiting.asp" method="post" name="FlightSearch" id="FlightSearch" onsubmit="return checkAll();">');
document.write('        <input type="hidden" name="fstype" value="1" />');
document.write('        <input type="hidden" name="triptype" value="1" />');
document.write('           <span> Departure city</span>');
document.write('                <input class="selecttxt" type="text" name="co1" id="T1" />');
/*
document.write('                <select style="width: 140px" size="1" name="co1" id="T1">');
document.write('                  <option value="PEK" selected="selected">Beijing</option>');

document.write(citystr);

document.write('                </select>');
*/

document.write('            <span>Destination city:</span>');
document.write('                <input class="selecttxt" type="text" name="co2" id="T2" />');
/*
document.write('                <select style="width: 140px" size="1" name="co2" id="T2">');
document.write('                  <option value="SHA" selected="selected">Shanghai(Hongqiao)</option>');

document.write(citystr);

document.write('                </select>');
*/

document.write('            <span>Departure date:</span>');

var now=new Date();	
var initDate=now.getUTCFullYear() + '-' + (now.getUTCMonth()+1) + '-' + now.getUTCDate();


document.write('            <input class="seldtm" id="D1" size="10" name="to1" readonly="true" value="' + initDate + '" />');
document.write('              <a onclick="event.cancelBubble=true;"');
document.write('          href="javascript:showCalendar(\'dimg6\',false,\'D1\',null)">');
document.write('		  <img id="dimg6" height="21" src="/china-flights/images/calendar.gif" width="34" align="absmiddle" border="0" /></a>');
document.write('		  <input name="submit" type="image" src="/china-flights/images/ico/bg_searchbtn.gif" class="submit" style="margin-top:10px; margin-bottom:5px;" /><br />');
document.write('	  </form>');
document.write('	</div>');
document.write('</div>');