document.writeln('<!--headdeclare-->');
document.writeln('<script type="text/javascript" src="http://resource.elong.com/webunion/searchboxjs/cities.js"></script>');
document.writeln('<script type="text/javascript" src="http://resource.elong.com/webunion/searchboxjs/jquery.datePicker.min-2.1.2.js"></script>');
document.writeln('<link href="http://resource.elong.com/webunion/searchboxjs/jquery.datePicker.css" rel="stylesheet" type="text/css" />');
document.writeln('<script>');
document.writeln('$(function(){	');
document.writeln('');
document.writeln('	$("#h_switch").click(function () {');
document.writeln('	$("#hotel_icon").removeAttr("class")');
document.writeln('	$("#hotel_icon").addClass("hotel_b")	');
document.writeln('	$("#flight_icon").removeAttr("class")');
document.writeln('	$("#flight_icon").addClass("flight_a")	');
document.writeln('	$("#h_blk").show();');
document.writeln('	$("#f_blk").hide();');
document.writeln('	});');
document.writeln('	');
document.writeln('	$("#f_switch").click(function () {');
document.writeln('	$("#flight_icon").removeAttr("class")');
document.writeln('	$("#flight_icon").addClass("flight_b")	');
document.writeln('	$("#hotel_icon").removeAttr("class")');
document.writeln('	$("#hotel_icon").addClass("hotel_a")	');
document.writeln('	$("#f_blk").show();');
document.writeln('	$("#h_blk").hide();');
document.writeln('	});');
document.writeln('');
document.writeln('	 ');
document.writeln('');
document.writeln('});');
document.writeln('</script>');
document.writeln('<style>');
document.writeln('#searchbox_elong *{padding:0;margin:0; font-size:12px; font-family:Arial, Helvetica, sans-serif;}');
document.writeln('#searchbox_elong img{border:0;}');
document.writeln('#searchbox_elong{width:293px;margin:0 auto;text-align:center;height:218px;border:1px solid #2960c4;background:#e4f2ff;}');
document.writeln('#searchbox_elong h3{background:#2960c4;height:22px;line-height:22px;}');
document.writeln('#searchbox_elong h3 a{margin-top:2px;float:left;cursor:pointer;}');
document.writeln('#searchbox_elong .hotel_a,.hotel_b,.flight_a,.flight_b{background: url(http://resource.elong.com/webunion/searchbox/airhotel/blue/273X220/images/bg.gif) no-repeat;width:55px;height:20px;}');
document.writeln('#searchbox_elong .hotel_a{background-position:0px -5px;}');
document.writeln('#searchbox_elong .hotel_b{background-position:0px -31px;}');
document.writeln('#searchbox_elong .flight_a{background-position:0px -85px;}');
document.writeln('#searchbox_elong .flight_b{background-position:0px -60px;}');
document.writeln('#searchbox_elong .e{background: url(http://resource.elong.com/webunion/searchbox/airhotel/blue/273X220/images/bg.gif) no-repeat;background-position:0px -109px;width:74px;height:20px;}');
document.writeln('');
document.writeln('#searchbox_elong dl{margin:5px 5px 0 5px;margin-top:9px\9;*margin-top:6px;_margin-top:9px;text-align:left;overflow:hidden;zoom:1;clear:both;}');
document.writeln('#searchbox_elong dt{float:left;width:74px;text-align:right;height:26px;line-height:26px;*line-height:30px;_line-height:26px;}');
document.writeln('#searchbox_elong dd{float:right;width:200px;height:26px;line-height:26px;text-align:left;}');
document.writeln('#searchbox_elong dd select{font-size:12px;width:190px;height:20px;}');
document.writeln('#searchbox_elong dd input{width:184px;padding-left:2px;}');
document.writeln('#searchbox_elong a.f_switch{margin-left:5px;}');
document.writeln('#searchbox_elong .searchbtn input{margin:2px 0px;width:50px;height:22px\9;line-height:18px\9;clear:both;}');
document.writeln('</style>');
document.writeln('');
document.writeln('<script>var len=0; </script>');
document.writeln('<div id="searchbox_elong">');
document.writeln('<h3><a id="h_switch"><img src="http://resource.elong.com/webunion/searchbox/blank.gif" class="hotel_b" id="hotel_icon" alt="酒店查询" /></a><a id="f_switch"><img src="http://resource.elong.com/webunion/searchbox/blank.gif" class="flight_a"  id="flight_icon" alt="机票查询" /></a><a href="javascript:;"  style="float:right; margin-right:3px;"><img src="http://resource.elong.com/webunion/searchbox/blank.gif" class="e" alt="艺龙旅行网" /></a></h3>');
document.writeln('');
document.writeln('<form onsubmit="pageTracker._linkByPost(this)"  id="hotel" action="http://travel.elong.com/hotels/Search.aspx" method="get" target="_blank">');
document.writeln('<input type="hidden" name="campaign_id" value="'+ campaign_id +'" />');
document.writeln('<input type="hidden" name="srhType" value="0" />');
document.writeln('<input type="hidden" name="RoomNum" value="1" />');
document.writeln('<input type="hidden" name="PersonNum" value="1" />');
document.writeln('<input type="hidden" name="HotelAddress" value="" />');
document.writeln('<div id="h_blk" style="display:block;">');
document.writeln('<dl>');
document.writeln('<dt>城&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;市：</dt>');
document.writeln('<dd><select id="hotelCities" name="raCityName"><option value="" selected="selected"></option></select></dd>');
document.writeln('<dt>入住日期：</dt>');
document.writeln('<dd><input name="CheckInDate" type="text" id="CheckInDate" class="date-pick"  value="2009-11-19"></dd>');
document.writeln('<dt>离店日期：</dt>');
document.writeln('<dd><input type="text" name="CheckOutDate" class="date-pick"  value="2009-11-21" /></dd>');
document.writeln('<dt>价格范围：</dt>');
document.writeln('<dd><select name="price">');
document.writeln('<option value="-1"  selected>不限</option> ');
document.writeln('<option value="801">800以上</option> ');
document.writeln('<option value="800">600--800元</option> ');
document.writeln('<option value="600">400--600元</option> ');
document.writeln('<option value="400">250--400元</option> ');
document.writeln('<option value="250">250以下</option> ');
document.writeln('</select></dd>');
document.writeln('<dt>酒店名称：</dt>');
document.writeln('<dd><input id="HotelName" name="HotelName" type="text" value="" /></dd>');
document.writeln('<dt>酒店等级：</dt>');
document.writeln('<dd><select name="Star">');
document.writeln('<option value="-1">不限</option>');
document.writeln('<option value="5">五星/豪华</option>');
document.writeln('<option value="4">四星/高档</option>');
document.writeln('<option value="3">三星/舒适</option>');
document.writeln('<option value="12">三星以下/经济</option>');
document.writeln('</select></dd>');
document.writeln('</dl>');
document.writeln('<div class="searchbtn"><input type="submit" value="搜 索" /></div>');
document.writeln('</div>');
document.writeln('</form>');
document.writeln('');
document.writeln('<form onsubmit="pageTracker._linkByPost(this)"  id="air" action="http://travel.elong.com/flights/TSearch.aspx" method="get" target="_blank">');
document.writeln('        <input type="hidden" name="campaign_id" value="'+ campaign_id +'" />');
document.writeln('        <input type="hidden" name="g" value="result" />');
document.writeln('        <input type="hidden" name="FLY_TYPE" value="0" />        ');
document.writeln('        ');
document.writeln('        <input type="hidden" name="isnative" value="1" />');
document.writeln('<div id="f_blk" style="display:none;">');
document.writeln('<dl>');
document.writeln('<dt>出发城市：</dt>');
document.writeln('<dd><select  id="fromCities" name="DEPART_CITY" ><option value="" selected="selected">Beijing 北京</option></select></dd>');
document.writeln('<dt>到达城市：</dt>');
document.writeln('<dd><select id="toCities" name="DEST_CITY"><option value="" selected="selected">Shanghai 上海</option></select></dd>');
document.writeln('<dt>出发日期：</dt>');
document.writeln('<dd><input type="text" name="FLY_DATE" class="date-pick"  value="2009-11-19" class="" /></dd>');
document.writeln('<dt>出发时间：</dt>');
document.writeln('<dd><select name="FLY_TIME">');
document.writeln('<option value="">全天</option><option value="00:01-12:00">00:01-12:00</option><option value="12:00-18:00">12:00-18:00</option><option value="18:00-24:00">18:00-24:00</option>');
document.writeln('</select></dd>');
document.writeln('<dt>舱位等级：</dt>');
document.writeln('<dd><select name="FCY"><option value="1" selected="selected">经济舱</option><option value="8">商务舱</option><option value="16">头等舱</option></select></dd>');
document.writeln('<dt>送票城市：</dt>');
document.writeln('<dd><select id="DELEVER_CITY" name="DELEVER_CITY"></select></dd>');
document.writeln('</dl>');
document.writeln('<div class="searchbtn"><input type="submit" value="搜索" /></div>');
document.writeln('</div>');
document.writeln('</form>');
document.writeln('</div>');

//google-analytics
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-11239288-2");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}

