ÿþ<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>expedia wizard</title> <style type="text/css"> #YahooWizard_930x180 { height: 180px; width: 930px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;} #YahooWizard_930x180 #head { background: #F1E37A url(http://media.expedia.com/media/content/expaus/affiliates/yahoo7/head_bg.jpg) repeat-x; height: 31px;} #YahooWizard_930x180 #head h1 {background: url(http://media.expedia.com/media/content/expaus/affiliates/yahoo7/head_right.jpg) no-repeat right; margin:0px; padding:0px;} #YahooWizard_930x180 #WizardContent { background: url(http://media.expedia.com/media/content/expaus/affiliates/yahoo7/bottomCurve.jpg) no-repeat bottom; height: 148px; border-right: 1px solid #f1e04f; border-bottom: 1px solid #f1e04f; border-left: 1px solid #f1e04f;} #YahooWizard_930x180 #WizardContent p { line-height: 18px; font-weight: bold; margin: 0px; padding: 0px;} #YahooWizard_930x180 #WizardContent .stepNo { color: #FFFFFF; background: #3b67a8; text-align: center; display: block; float: left; height: 18px; width: 18px; margin-right: 10px;} #YahooWizard_930x180 #WizardContent #Col1 { float: left; width: 230px; padding-top: 15px; padding-left: 15px; border-right: 1px solid #f0d1b2; height: 100px;} #YahooWizard_930x180 #WizardContent #Col2 { float: left; width: 315px; padding-left: 30px; padding-top: 15px; height: 100px; border-right: 1px solid #f0d1b2;} #YahooWizard_930x180 #WizardContent #Col3 { height: 100px; padding-top: 15px; padding-left: 30px; float: left; width: 295px;} #YahooWizard_930x180 #WizardContent #Col3 .Button { line-height: 19px; font-weight: bold; color: #FFFFFF; text-decoration: none; background:#3b67a8; url(http://media.expedia.com/media/content/expaus/affiliates/yahoo7/WizardButtonBGNew.jpg) repeat-x; float:right; text-align: center; display: block; height: 21px; padding-right: 10px; padding-left: 10px; clear: both; border: 1px solid #FFFFFF; font-family: Arial; font-size: 13px; margin: 0; width: 85px;} #YahooWizard_930x180 #WizardContent .label { height: 45px; display: block; float: left; padding: 0px; line-height: 20px; width: 90px; margin: 0px;} #YahooWizard_930x180 #WizardContent #Col2 #textfield { margin: 0px; padding: 0px; height: 18px; border: 1px solid #7f9db9; width: 130px;} #YahooWizard_930x180 #WizardContent #Col2 .textfield { font-size: 11px; height: 16px; width: 75px; margin: 0px 10px 0px 0px; padding: 1px; border: 1px solid #7f9db9;} #YahooWizard_930x180 #WizardContent #Col2 .select { font-size: 11px; line-height: 18px; margin: 0px; padding: 0px; height: 20px;} </style> <script type="text/javascript"> var d1 = new Date(); var day_1 = d1.getDate(); var month_1 = d1.getMonth(); var year_1 = d1.getFullYear(); var d2 = d1; d2.setDate(d2.getDate()+330); var day_2 = d2.getDate(); var month_2 = d2.getMonth(); var year_2 = d2.getFullYear(); </script> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0"> <form id="Y7Wizard" method="get" action="/" name="Y7Wizard"> <div id="YahooWizard_930x180"> <div id="head"> <h1><img src="http://media.expedia.com/media/content/expaus/affiliates/yahoo7/expediaau_logo.jpg" alt="expedia.com" width="125" height="31" /></h1> </div> <div id="WizardContent"> <div id="Col1"> <p style="font-size:13px;"><span class="stepNo">1</span> Find hotels near</p> <label class="label" style="padding:10px 0px 0px 20px; width:60px;"> <input type="radio" name="HotelSearchArea" value="City" id="RadioGroup1_2" checked="checked"/> A city</label> <label class="label" style="padding-top:10px;"> <input type="radio" name="HotelSearchArea" value="Airport" id="RadioGroup1_3" /> An airport</label> <div style="float:left; width:230px;"> <label id="ValidationMsg" style="font-family: Arial, Helvetica, sans-serif;color:Red; font-size:11px; font-weight:bold;"></label> </div> </div> <div id="Col2"> <p style="font-size:13px;"><span class="stepNo">2</span> Where and when do you want to travel?</p> <label class="label" style="width:270px; padding:10px 0px 0px 25px; margin:0 0 0 4px; height:25px;">City name: <input type="text" class="textfield" id="HotelPlace" name="HotelPlace" style="width:115px;" /> </label> <label class="label" style="width:100px; padding-left:25px;margin:0 0 0 4px;">Check-in <br /> <input type="text" class="textfield" id="CheckinDate" name="CheckinDate" value="dd/mm/yyyy" /> <script type="text/javascript"> document.Y7Wizard.CheckinDate.onfocus=function (event) {this.select();CalFldFocus(getEventObj(event),document.Y7Wizard.CheckinDate, document.Y7Wizard.CheckinDate, null, month_1 + "/" + day_1 + "/" + year_1, month_2 + "/" + day_2 + "/" + year_2, document.Y7Wizard,null) } document.Y7Wizard.CheckinDate.onclick=function (event) {stopBubble(event)}; </script> </label> <label class="label">Check-out<br /> <input type="text" class="textfield" id="CheckoutDate" name="CheckoutDate" value="dd/mm/yyyy" /> <script type="text/javascript"> document.Y7Wizard.CheckoutDate.onfocus=function (event) {this.select();CalFldFocus(getEventObj(event),document.Y7Wizard.CheckoutDate, document.Y7Wizard.CheckoutDate, document.Y7Wizard.CheckinDate, month_1 + "/" + day_1 + "/" + year_1, month_2 + "/" + day_2 + "/" + year_2, document.Y7Wizard,null) } document.Y7Wizard.CheckoutDate.onclick=function (event) {stopBubble(event)}; </script> </label> <br /> <br /> </div> <div id="Col3"> <p style="font-size:13px; padding:0 0 5px 0;"><span class="stepNo">3</span> Rooms and travellers</p> <label class="label" style="padding-left:28px; width:70px;">Rooms<br /> <select id="NumberOfRooms" class="select"> <option selected="selected" value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> </label> <label class="label" style="width:85px;">Adults:(18+)<br /> <select name="HTLAdults" id="HTLAdults" class="select"> <option value="1" selected="selected">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> </select> </label> <label class="label">Children:(&lt;18)<br /> <select name="HTLChildren" id="HTLChildren" class="select"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> </select> </label> <p style="padding:20px 0 0 0; float:left; width:280px; "><a href="javascript:doSearch()" class="Button" style="width:130px; ">Search for Hotels</a></p> </div> </div> </div> </form> <iframe id="CalFrame" name="CalFrame" src="/calx.htm" style="visibility:hidden;position:absolute;width:147px;height:151px;z-index:100" marginheight=0 marginwidth=0 noresize frameborder=0 scrolling=NO></iframe> <script type="text/javascript" src="http://www.expedia.com.au/daily/common/script/affiliates/acaly7.js"></script> <script type="text/javascript"> function doSearch() { var url = "http://yahoo.expedia.com.au/pubspec/scripts/eap.asp?GOTO="; var origin=''; var destination=''; var date1=''; var date2=''; var rooms=''; var time1 = ''; var time2 = ''; var adults =''; var children = ''; destination = document.getElementById('HotelPlace').value; date1 = document.getElementById('CheckinDate').value; date2 = document.getElementById('CheckoutDate').value; rooms = document.getElementById('NumberOfRooms').value; adults = document.getElementById('HTLAdults').value; children = document.getElementById('HTLChildren').value; var HotelPlace = "City"; if(document.Y7Wizard.HotelSearchArea[1].checked) HotelPlace = "Airport"; if(DoValidation(destination)) { url = url + "HOTSEARCH&eapi=16-25&eapid=16-25&SearchType=place&SearchArea=" + HotelPlace + "&PlaceName=" + GetCityAirportCode(destination) + "&InDate=" + date1 + "&OutDate=" + date2 + "&NumRoom=" + rooms + "&numAdult=" + adults + "&numChild=" + children; //omniture url = "http://ad.au.doubleclick.net/clk;222087279;45606782;q?"+url + "&olacid=expe.au.yahoo.004.003.930x180_wizard_hotel"; window.open(url,'Expedia_Australia','width=800,height=600,toolbar=yes,location=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes'); } } function DoValidation(destination) { var msg = document.getElementById('ValidationMsg'); var ErrParams = ""; var errCount = 0; if(destination=='') { ErrParams = "'City Name'"; errCount++; } if(errCount>0) { setText('ValidationMsg', 'Please enter ' + ErrParams); return false; } else { setText('ValidationMsg', ''); } return true; } function setText(id, txt) { var elem; if( document.getElementById && (elem=document.getElementById(id)) ) { if( !elem.firstChild ) elem.appendChild( document.createTextNode( txt ) ); else elem.firstChild.data = txt; } return false; } function GetCityAirportCode(destination) { if (destination != "") { switch (destination.toLowerCase()) { case "paris": destination = "PAR"; break; case "london": destination = "LON"; break; case "newyork": destination = "NYC"; break; case "losangeles": destination = "LAX"; break; case "berlin": destination = "BER"; break; case "buenosaires": destination = "BUE"; break; case "bucarest": destination = "BUH"; break; case "chicago": destination = "CHI"; break; case "dallas": destination = "DFW"; break; case "denver": destination = "DEN"; break; case "detroit": destination = "DTW"; break; case "jakarta": destination = "JKT"; break; case "miami": destination = "MIA"; break; case "milan": destination = "MIL"; break; case "moscow": destination = "MOW"; break; case "osaka": destination = "OSA"; break; case "oslo": destination = "OSL"; break; case "sanfrancisco": destination = "SFO"; break; case "riodejaneiro": destination = "RIO"; break; case "rome": destination = "ROM"; break; case "stockholm": destination = "STO"; break; case "tokyo": destination = "TYO"; break; case "washington": destination = "WAS"; break; case "edmonton": destination = "YEA"; break; case "montreal": destination = "YMQ"; break; case "toronto": destination = "YTO"; break; case "mexico": destination = "MEX"; break; case "athens": destination = "ATH"; break; case "shanghai": destination = "SHA"; break; case "florence": destination = "FLR"; break; case "brisbane": destination = "BNE"; break; case "melbourne": destination = "MEL"; break; case "sydney": destination = "SYD"; break; case "bali": destination = "DPS"; break; case "perth": destination = "PER"; break; } return destination; } else { return ""; } } </script> </body> </html>