var folder;
var URI=parent.document.URL;
folder=URI.substring(URI.indexOf('/',7)+1,URI.length);
folder=folder.substring(folder.indexOf(''),folder.indexOf('/')+3);

document.writeln('<script type="text/javascript" src="/scripts/ibe/common.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/fillDD.js"></script>'); 
document.writeln('<script type="text/javascript" src="/scripts/ibe/commonSystem.js"></script>'); 
document.writeln('<script type="text/javascript" src="/scripts/ibe/validations.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/autoDate.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/browser.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/calendar.js"></script>'); 
//IBE begins
document.writeln('<div id="book-flights1">');
document.writeln('<table width="980px" border="0" cellpadding="0" cellspacing="0" align="center">');
document.writeln('<tr><td style="height:355px;" valign="top">');
document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
document.writeln('<tr><td class="bgDark" ><span id="spnTab"></span></td></tr>');
document.writeln('<tr><td class="bgDark" style="height:292px;" valign="top" align="center">');
document.writeln('<table width="97%" border="0" cellpadding="0" cellspacing="0"><tr><td>');
document.writeln('<div id="spnTab1" style="display:none;">');
document.writeln('<table width="100%" border="0" cellpadding="1" cellspacing="0">');
document.writeln('<tr><td colspan="2" height="20" valign="top">');
document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>');
document.writeln('<td width="5%"><input type="radio" id="radTrip" name="radTrip" value="R" class="NoBorder" checked="true" onclick="disbalReturnTrip(this)" /></td>');
document.writeln('<td width="20%" align="right">&#1584;&#1607;&#1575;&#1576;&#32;&#1608;&#1593;&#1608;&#1583;&#1577;</td>');
document.writeln('<td width="5%"><input type="radio" id="radTrip" name="radTrip" value="O" class="NoBorder" onclick="disbalReturnTrip(this)" /></td>');
document.writeln('<td width="20%" align="right">&#1584;&#1607;&#1575;&#1576;&#32;&#1601;&#1602;&#1591;</td>');
document.writeln('<td width="50%"><img src="/images/ibe/FI0010-ar.gif" border="0" alt="arrow"> <a href="http://booking.qatarairways.com/qribe-web/public/multipointSearch.do?L=ar" id="lnkMulti"><u>&#1593;&#1583;&#1577;&#32;&#1605;&#1581;&#1591;&#1575;&#1578;</u></a></td>');
//document.writeln('<td width=\"50%\"><img src="/images/ibe/FI0010-ar.gif" border="0" alt="arrow"><a href="#" id="lnkMulti" onclick="window.location=\'/disabled.html\';"><u>>&#1593;&#1583;&#1577;&#32;&#1605;&#1581;&#1591;&#1575;&#1578;</u></a></td>');
document.writeln('</tr></table></td></tr><tr>');
document.writeln('<td width="14%" align="right" >&#1605;&#1606;</td>');
document.writeln('<td width="66%">');
document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>');
document.writeln('<td width="45%"><select class="left" id="selFrom" size="1" style="width:120px;" onchange="fillRouteCity(\'selFrom\', \'selTo\')"></select></td>');
document.writeln('<td width="10%" align="right">&#1573;&#1604;&#1609;</td>');
document.writeln('<td width="45%"><select class="left" id="selTo" size="1" style="width:120px;"><option value="">-- &#1575;&#1582;&#1578;&#1575;&#1585; --</option></select></td>');
document.writeln('</tr></table></td></tr><tr><td></td>');
document.writeln('<td align="right" height="16" valign="bottom"><img src="/images/ibe/FI0010-ar.gif" border="0" alt="">');
document.writeln('<a href="http://booking.qatarairways.com/qribe-web/public/showSearch.do?L=ar" id="lnkSearch">');
document.writeln('<span class="fntWhite" ><u>&#1575;&#1606;&#1602;&#1585;&#32;&#1607;&#1606;&#1575;&#32;&#1604;&#1585;&#1572;&#1610;&#1577;&#32;&#1605;&#1615;&#1583;&#1606;&#32;&#1571;&#1603;&#1579;&#1585;</u></span></a>');
document.writeln('</td></tr><tr><td colspan="2"><hr /></td></tr><tr>');
document.writeln('<td align="right">&#1575;&#1604;&#1605;&#1594;&#1575;&#1583;&#1585;&#1577;</td><td>');
document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>');
document.writeln('<td width="17%"><span id="spnDepDay" style="font-size:11px;"></span>&nbsp;</td>');
document.writeln('<td width="43%">');
document.writeln('<select id="selDtDept" name="selDtDept" size="1" style="width:45px;" onchange="selDtDeptOnChange()"></select>');
document.writeln('<select id="selYrDept" name="selYrDept" size="1" style="width:80px;" onchange="selYrDeptOnChange()"></select></td>');
document.writeln('<td align="right"><a href="#" onclick="showCal(\'0\', event); return false;"><img src="/images/ibe/FI0009.gif" border="0" alt="calendar" /></a></td>');
document.writeln('<td style="visibility:hidden;">');
document.writeln('<select id="selAnyDept" size="1" style="width:70px;display:none;">');
document.writeln("					<option value=\"ANY\" selected=\"selected\">Any Time</option>							");
document.writeln("					</select>");
document.writeln("					</td></tr></table>");
document.writeln("				</td></tr><tr>");
document.writeln("				<td align=\"right\"><span id=\"spnReturn\">&#1593;&#1608;&#1583;&#1577;</span></td><td>");
document.writeln("					<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
document.writeln("					<td width=\"17%\"><span id=\"spnRetDay\" style=\"font-size:11px;\"></span>&nbsp;</td>");
document.writeln("					<td width=\"43%\">");
document.writeln("					<select id=\"selDtRetu\" name=\"selDtDept\" size=\"1\" style=\"width:45px;\" onchange=\"selDtRetuOnChange()\"></select>																						");
document.writeln("					<select id=\"selYrRetu\" name=\"selYrDept\" size=\"1\" style=\"width:80px;\" onchange=\"selYrRetuOnChange()\"></select>");
document.writeln("					</td>");
document.writeln("					<td align=\"right\"><a href=\"#\" onclick=\"showCal(\'1\', event); return false;\" onfocus=\"calOnFocus()\"><img src=\"/images/ibe/FI0009.gif\" border=\"0\" id=\"imgRetu\" alt=\"calendar\" /></a></td>");
document.writeln("					<td style=\'visibility:hidden;\'>");
document.writeln("					<select id=\"selAnyRetu\" name=\"selAnyRetu\" size=\"1\" style=\"width:70px;display:none;\" />");
document.writeln("					<option value=\"ANY\" selected=\"selected\">Any Time</option>			");
document.writeln("					</select>");
document.writeln("					</td></tr></table>");
document.writeln("				</td></tr><tr><td></td><td>");
document.writeln("					<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
document.writeln('<td width="5%"><input type="checkbox" id="chkFlex" name="chkFlex" class="NoBorder" onclick="chkFlexOnClick()" /></td>');
document.writeln("					<td align=\"right\" style=\"font-size:11px\">&#1573;&#1582;&#1578;&#1585;&#32;&#45;&#47;&#43;&#32;&#51;&#32;&#1571;&#1610;&#1575;&#1605;</td>");
document.writeln("					</tr></table>");
document.writeln("				</td></tr><tr><td colspan=\"2\"><hr /></td></tr><tr>");
document.writeln("				<td valign=\"top\" align=\"right\">&#1575;&#1604;&#1605;&#1587;&#1575;&#1601;&#1585;&#1608;&#1606;</td><td>");
document.writeln("					<table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\"><tr>");
document.writeln("					<td><select id=\"selAdults\" name=\"selAdults\" size=\"1\" style=\"width:50px;\" onchange=\"selAdults_onChange()\"></select></td>			");
document.writeln("					<td><select id=\"selChild\" name=\"selChild\" size=\"1\" style=\"width:50px;\"></select></td>");
document.writeln("					<td><select id=\"selInfants\" name=\"selInfants\" size=\"1\" style=\"width:50px;\"></select></td><td valign=\"top\">");
document.writeln("						<table width=\'100%\' border=\'0\' cellpadding=\'1\' cellspacing=\'0\'><tr>");
document.writeln("						<td valign=\"top\"><img src=\"/images/ibe/FI0010-ar.gif\" border=\"0\" alt=\"arrow\" /></td>");
document.writeln("						<td valign=\"top\"><a href=\"#\" onclick=\"callMorePax(); return false;\"><span id=\"spnMorePsng\" title=\"&#1604;&#1604;&#1605;&#1586;&#1610;&#1583; &#1605;&#1606; &#1575;&#1604;&#1578;&#1601;&#1575;&#1589;&#1610;&#1604;\"><u></u></span></a></td>");
document.writeln('</tr></table></td></tr><tr style=\"font-size:11px\">');
document.writeln("					<td id=\"tblPsng1\" width=\"21%\">&#1575;&#1604;&#1603;&#1576;&#1575;&#1585;</td>");
document.writeln("					<td id=\"tblPsng2\" width=\"22%\">&#1575;&#1604;&#1571;&#1591;&#1601;&#1575;&#1604;</td>");
document.writeln("					<td id=\"tblPsng3\" width=\"27%\">&#1575;&#1604;&#1585;&#1590;&#1617;&#1593;</td>");
document.writeln("					<td width=\"30%\"></td></tr><tr style=\"font-size:11px\">");
document.writeln("					<td>(12+)</span></td>");
document.writeln("					<td>(2-11)</td>");
document.writeln("					<td>(0-1)</td>");
document.writeln('<td></td></tr></table></td></tr><tr>');
document.writeln('<td colspan="2"><hr /></td></tr><tr>');
document.writeln("				<td align=\"right\">&#1576;&#1581;&#1579; &#1581;&#1587;&#1576;</td><td>");
document.writeln("					<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\"><tr>");
document.writeln("					<td width=\"45%\">");
document.writeln("					<select id=\"selSrchBy\" size=\"1\" style=\"width:120px;\">");
document.writeln("					<option value=\"F\">&#1575;&#1604;&#1587;&#1593;&#1585;</option>");
document.writeln("					<option value=\"S\">&#1575;&#1604;&#1605;&#1608;&#1575;&#1593;&#1610;&#1583;</option>");
document.writeln("					</select>");
document.writeln("					</td>");
document.writeln("					<td width=\"15%\">&#1575;&#1604;&#1583;&#1585;&#1580;&#1577;</td>");
document.writeln("					<td width=\"40%\">");
document.writeln("					<select id=\"selClass\" size=\"1\" style=\"width:120px;\">");
document.writeln("					<option value=\"E\">&#1587;&#1610;&#1575;&#1581;&#1610;&#1577;</option>");
document.writeln("					<option value=\"B\">&#1585;&#1580;&#1575;&#1604;&#32;&#1575;&#1604;&#1571;&#1593;&#1605;&#1575;&#1604;</option>");
document.writeln("					<option value=\"F\">&#1571;&#1608;&#1604;&#1609;</option>");
document.writeln("					</select>	");
document.writeln("					</td></tr></table>");
document.writeln('</td></tr><tr><td colspan="2"><hr /></td></tr>');
document.writeln("				<tr><td colspan=\"2\" valign=\"center\" height=\"20\">");
document.writeln("					<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
document.writeln("					<td width=\"5%\" align=\"center\"><img src=\"/images/ibe/FI0007.gif\" alt=\"&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;\" /></td>");
document.writeln("					<td width=\"1%\" align=\"center\"></td>");
document.writeln("					<td><a href=\"#\" onclick=\"callFaqHelp(0,'ar'); return false;\" id=\"lnkHelp\" name=\"lnkHelp\"><u>&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;</u></a></td>");
document.writeln('<td align="left"><input type="button" id="btnFltSearch" class="button buttonLL" value="&#1576;&#1581;&#1579;" onclick="pgBtnClick(0)" /></td></tr></table>');
//document.writeln('<td width="84%" align="right"><input type="button" id="btnFltSearch" class="button buttonLL" value=";&#1583;&#1577;" onclick="window.location=\'/disabled.html\'" /></td></tr></table>');
document.writeln('</td></tr><tr><td colspan=\"2\" class=\'thinHeight\'></td></tr></table></div>');
//WCI
document.writeln('<div id="spnTab2" style="display:none;">');
document.writeln('<p>&#1605;&#1578;&#1608;&#1601;&#1585; &#1605;&#1606; 36 &#1587;&#1575;&#1593;&#1577; &#1575;&#1604;&#1609; 90 &#1583;&#1602;&#1610;&#1602;&#1577; &#1602;&#1576;&#1604; &#1608;&#1602;&#1578; &#1575;&#1604;&#1573;&#1602;&#1604;&#1575;&#1593;.<br/><br/></p>');
document.writeln('<div class="fields">');
document.writeln('<div class="row"><span class="label"><label for="available">&#1605;&#1591;&#1575;&#1585;&#32;&#1575;&#1604;&#1605;&#1594;&#1575;&#1583;&#1585;&#1577;</label></span>');
document.writeln('<span class="field"><select id="available" name="available" class="left">');
document.writeln('<option value="">-- &#1575;&#1582;&#1578;&#1575;&#1585; &#1605;&#1591;&#1575;&#1585; --</option>');
document.writeln('<option value="auh">Abu Dhabi (AUH)</option>');
document.writeln('<option value="amd">Ahmedabad (AMD)</option>');
document.writeln('<option value="aly">Alexandria (ALY)</option>');
document.writeln('<option value="alg">Algiers (ALG)</option>');
document.writeln('<option value="amm">Amman (AMM)</option>');
document.writeln('<option value="atq">Amritsar (ATQ)</option>');
document.writeln('<option value="ath">Athens (ATH)</option>');
document.writeln('<option value="bah">Bahrain (BAH)</option>');
document.writeln('<option value="dps">Bali (DPS)</option>');
document.writeln('<option value="bkk">Bangkok (BKK)</option>');
document.writeln('<option value="pek">Beijing (PEK)</option>');
document.writeln('<option value="bey">Beirut (BEY)</option>');
document.writeln('<option value="blr">Bengaluru (BLR)</option>');
document.writeln('<option value="txl">Berlin (TXL)</option>');
document.writeln('<option value="cai">Cairo (CAI)</option>');
document.writeln('<option value="CPT">Cape Town (CPT)</option>');
document.writeln('<option value="cmn">Casablanca (CMN)</option>');
document.writeln('<option value="ceb">Cebu (CEB)</option>');
document.writeln('<option value="maa">Chennai (MAA)</option>');
document.writeln('<option value="cmb">Colombo (CMB)</option>');
document.writeln('<option value="dmm">Dammam (DMM)</option>');
document.writeln('<option value="del">Delhi (DEL)</option>');
document.writeln('<option value="dac">Dhaka (DAC)</option>');
document.writeln('<option value="doh">Doha (DOH)</option>'); 
document.writeln('<option value="dxb">Dubai (DXB)</option>');
document.writeln('<option value="fra">Frankfurt (FRA)</option>');
document.writeln('<option value="can">Guangzhou (CAN)</option>');
document.writeln('<option value="gva">Geneva (GVA)</option>');
document.writeln('<option value="goi">Goa (GOI)</option>');
document.writeln('<option value="sgn">Ho Chi Minh City (SGN)</option>');
document.writeln('<option value="hkg">Hong Kong (HKG)</option>');
document.writeln('<option value="iah">Houston (IAH)</option>');
document.writeln('<option value="hyd">Hyderabad (HYD)</option>');
document.writeln('<option value="isb">Islamabad (ISB)</option>');
document.writeln('<option value="ist">Istanbul (IST)</option>');
document.writeln('<option value="cgk">Jakarta (CGK)</option>');
document.writeln('<option value="jed">Jeddah (JED)</option>');
document.writeln('<option value="jnb">Johannesburg (JNB)</option>');
document.writeln('<option value="khi">Karachi (KHI)</option>');
document.writeln('<option value="ktm">Kathmandu (KTM)</option>');
document.writeln('<option value="krt">Khartoum (KRT)</option>');
document.writeln('<option value="cok">Kochi (COK)</option>');
document.writeln('<option value="ccj">Kozhikode (CCJ)</option>');
document.writeln('<option value="kul">Kuala Lumpur (KUL)</option>');
document.writeln('<option value="kwi">Kuwait (KWI)</option>');
document.writeln('<option value="los">Lagos (LOS)</option>');
document.writeln('<option value="lhe">Lahore (LHE)</option>');
document.writeln('<option value="lgw">London Gatwick (LGW)</option>');
document.writeln('<option value="lhr">London Heathrow (LHR)</option>');
document.writeln('<option value="lxr">Luxor (LXR)</option>');
document.writeln('<option value="mad">Madrid (MAD)</option>');
document.writeln('<option value="mle">Maldives (MLE)</option>');
document.writeln('<option value="man">Manchester (MAN)</option>');
document.writeln('<option value="mnl">Manila (MNL)</option>');
document.writeln('<option value="mel">Melbourne (MEL)</option>');
document.writeln('<option value="mxp">Milan (MXP)</option>');
document.writeln('<option value="dme">Moscow (DME)</option>');
document.writeln('<option value="bom">Mumbai (BOM)</option>');
document.writeln('<option value="muc">Munich (MUC)</option>');
document.writeln('<option value="mct">Muscat (MCT)</option>');
document.writeln('<option value="nbo">Nairobi (NBO)</option>');
document.writeln('<option value="jfk">New York (JFK)</option>');
document.writeln('<option value="kix">Osaka (KIX)</option>');
document.writeln('<option value="cdg">Paris (CDG)</option>');
document.writeln('<option value="pew">Peshawar (PEW)</option>');
document.writeln('<option value="ruh">Riyadh (RUH)</option>');
document.writeln('<option value="fco">Rome (FCO)</option>');
document.writeln('<option value="sah">Sanaa (SAH)</option>');
document.writeln('<option value="icn">Seoul (ICN)</option>');
document.writeln('<option value="pvg">Shanghai (PVG)</option>');
document.writeln('<option value="sin">Singapore (SIN)</option>');
document.writeln('<option value="arn">Stockholm (ARN)</option>');
document.writeln('<option value="ika">Tehran (IKA)</option>');
document.writeln('<option value="trv">Thiruvananthapuram (TRV)</option>');
document.writeln('<option value="tip">Tripoli (TIP)</option>');
document.writeln('<option value="tun">Tunis (TUN)</option>');
document.writeln('<option value="vie">Vienna (VIE)</option>'); 
document.writeln('<option value="iad">Washington (IAD)</option>');
document.writeln('<option value="zrh">Zurich (ZRH)</option>'); 
document.writeln('</select></span></div>');
document.writeln('<div class="row"><span class="subText">&#1587;&#1578;&#1578;&#1608;&#1601;&#1585; &#1602;&#1585;&#1610;&#1576;&#1575; &#1590;&#1605;&#1606; &#1575;&#1604;&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1587;&#1605;&#1575;&#1569; &#1575;&#1604;&#1605;&#1591;&#1575;&#1585;&#1575;&#1578; &#1575;&#1604;&#1575;&#1582;&#1585;&#1609; &#1575;&#1604;&#1578;&#1610; &#1578;&#1606;&#1591;&#1604;&#1602; &#1605;&#1606;&#1607;&#1575; &#1575;&#1604;&#1602;&#1591;&#1585;&#1610;&#1577;.</span></div><BR/>');
document.writeln('<div class="row"><span class="label"><label for="selWciFOID">&#1608;&#1587;&#1610;&#1604;&#1577; &#1575;&#1604;&#1578;&#1593;&#1585;&#1610;&#1601; &#1575;&#1604;&#1588;&#1582;&#1589;&#1610;</label></span>');
document.writeln('<span class="field"><select id="selWciFOID" name="selWciFOID" size="1" onchange="selWciFOIDOnChange()">');
document.writeln('<option value="">Please Select</option>'); 
document.writeln('</select></span></div>');
document.writeln('<div class="row"><span class="label"><span id="spnWCIDesc">&nbsp;</span></span>');
document.writeln('<span id="spnWciFFP" style="display:none;float:right;">');
document.writeln('<select id="selWciAL" name="selWciAL" size="1" style="width:100px;">');
document.writeln('<option value="a">a</option></select></span>');
document.writeln('<span class="fieldHelp"><span id="spnWCINoHelp" title="&#1575;&#1604;&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;"></span></span>');
document.writeln('<span class="field"><input type="text" id="txtWciNo" name="txtWciNo" maxlength="20" /></span></div>');
document.writeln('<div class="row"><span class="label"><label for="txtWciLN">&#1575;&#1604;&#1575;&#1587;&#1605;&#32;&#1575;&#1604;&#1571;&#1582;&#1610;&#1585;</label></span>');
document.writeln('<div class="fieldHelp"><a href="#" title="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;" border="0" onclick="callLastName();return false;" ><img src="/images/ibe/FI0007.gif" alt="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;"></a></div>');
document.writeln('<span class="field"><input type="text" id="txtWciLN" name="txtWciLN" maxlength="50" /></span></div>');
document.writeln('</div><div class="submit">');
document.writeln('<div class="formHelp"><img src="/images/ibe/FI0007.gif" alt="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;">');
document.writeln('<a href="#" onclick="callFaqHelp(6,\'ar\');return false;" id="lnkHelp" name="lnkHelp"><u>&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;</u></a></div>');
document.writeln('<div class="formSubmit"><input type="button" id="btnFltSearch" class="ButtonBig buttonLLBig" value="&#1578;&#1587;&#1580;&#1610;&#1604; &#1575;&#1604;&#1583;&#1582;&#1608;&#1604;" onclick="pgBtnClick(7);"></div></div>');
document.writeln('</div>');
//Review
document.writeln('<div id="spnTab3" style="display:none;">');
document.writeln('<p>&#1575;&#1583;&#1582;&#1604; &#1585;&#1602;&#1605; &#1575;&#1604;&#1581;&#1580;&#1586; &#1608; &#1575;&#1604;&#1575;&#1587;&#1605; &#1575;&#1604;&#1571;&#1582;&#1610;&#1585; &#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;  &#1581;&#1580;&#1586;&#1603;.<br/><br/></p>');
document.writeln('<div class="fields">');
document.writeln('<div class="row"><span class="label"><label for="txtPNR">&#1585;&#1605;&#1586; &#1575;&#1604;&#1581;&#1580;&#1586;</label></span>');
document.writeln('<div class="fieldHelp"><a href="#" title="&#1605;&#1575; &#1607;&#1608; &#1585;&#1605;&#1586; &#1575;&#1604;&#1581;&#1580;&#1586;&#1567;"><img src="/images/ibe/FI0007.gif" alt="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;" border="0" onclick="needHelp();return false;"></a></div>');
document.writeln('<span class="field"><input type="text" id="txtPNR" style="text-transform:uppercase;" /></span></div>');
document.writeln('<div class="row"><span class="label"><label for="txtLastName">&#1575;&#1604;&#1575;&#1587;&#1605; &#1575;&#1604;&#1571;&#1582;&#1610;&#1585;</label></span>');
document.writeln('<div class="fieldHelp"><a href="#" ><img src="/images/ibe/FI0007.gif" alt="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;" border="0" onclick="callLastName();return false;"></a></div>');
document.writeln('<span class="field"><input id="txtLastName" name="txtLastName" type="text" /></span></div>');
document.writeln('</div><div class="submit">');
document.writeln('<div class="formHelp"><img src="/images/ibe/FI0007.gif" alt="&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;" />');
document.writeln('<a href="#" onclick="callFaqHelp(5,\'ar\');return false;" id="lnkHelp" name="lnkHelp">&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;</a></div>');
document.writeln('<div class="formSubmit"><input type="button" id="btnReview" class="button buttonLLBig" value="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1575;&#1604;&#1581;&#1580;&#1586;" onclick="pgBtnClick(4)"></div></div>');
//document.writeln('<div class="formSubmit"><input type="button" id="btnReview" class="button buttonLLBig" value="Review" onclick="window.location=\'/disabled.html\';"></div></div>');
document.writeln('</div>');
//Flight Status
document.writeln("			<div id=\"spnTab4\" style=\"display:none;\">");
document.writeln("				<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\"><tr><td>");
document.writeln("					<table width=\"99%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\"><tr>");
document.writeln("					<td width=\"1%\"></td>");
document.writeln("					<td width=\"10%\"></td>");
document.writeln("					<td width=\"40%\"></td>											");
document.writeln("					<td width=\"10%\"></td>");
document.writeln("					<td width=\"40%\"></td></tr><tr>");
document.writeln("					<td></td>");
document.writeln("					<td colspan=\"4\" height=\"30\"><span class=\"fntBold\">&#1576;&#1581;&#1579; &#1581;&#1587;&#1576; &#1605;&#1587;&#1575;&#1585; &#1575;&#1604;&#1585;&#1581;&#1604;&#1577;</span></td></tr><tr><td></td>");
document.writeln("					<td > &#1605;&#1606;</td>");
document.writeln("					<td ><select id=\"selFSFrom\" name=\"selFSFrom\" size=\"1\" style=\"width:135px;\" onchange=\"fillFSRouteCity(\'selFSFrom\', \'selFSTo\')\"></select></td>");
document.writeln("					<td>&#1575;&#1604;&#1609;</td>");
document.writeln("					<td ><select name=\"selFSTo\" id=\"selFSTo\" size=\"1\" style=\"width:135px;\"></td></tr><tr>");
document.writeln("					<td colspan=\"5\" class=\"thinHeight\"></td></tr><tr><td colspan=\"5\" align=\"center\">");
document.writeln("						<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
document.writeln("						<td width=\"45%\"></td>");
document.writeln("						<td width=\"10%\" align=\"center\"><span class=\"fntBold\" style=\"font-size:14px\">&#1573;&#1608;</span></td>");
document.writeln("						<td width=\"45%\"></td></tr></table>");
document.writeln("					</td></tr><tr>");
document.writeln("					<td colspan=\"5\" class=\"thinHeight\"></td></tr><tr><td></td>");
document.writeln("					<td colspan=\"5\" height=\"30\"><span class=\"fntBold\">&#1576;&#1581;&#1579; &#1581;&#1587;&#1576; &#1585;&#1602;&#1605; &#1575;&#1604;&#1585;&#1581;&#1604;&#1577;</span></td></tr><tr><td></td>");
document.writeln("					<td colspan=\"4\" ><span class=\"fntBold\">QR&nbsp;</span><input type=\"text\" id=\"txtFSFlightNo\" name=\"txtFSFlightNo\" style=\"text-transform:uppercase; width:100px;\" onkeypress=\"return MaxLength(this, event, 3);\"></td></tr><tr>");
document.writeln("					<td colspan=\"5\" >&#1605;&#1579;&#1575;&#1604;: 264</td></tr><tr>");
document.writeln("					<td colspan=\"5\"><hr /></td></tr><tr><td colspan=\"5\">");
document.writeln("						<table width=\"60%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"right\"><tr>");
document.writeln("						<td class=\"sperateorBar\" colspan=\"4\"><span class=\"fntBold\">&#1575;&#1604;&#1578;&#1575;&#1585;&#1610;&#1582;</span></td></tr><tr>");
document.writeln("						<td width=\"15%\" ><input name=\"dateGroup2\" id=\"dateGroup2\" type=\"radio\" class=\"NoBorder\" value=\"Group2Yesterday\"></td>");
document.writeln("						<td width=\"20%\" >&#1571;&#1605;&#1587;</td>");
document.writeln("						<td colspan=\"2\"></td></tr><tr>");
document.writeln("						<td width=\"15%\" ><input name=\"dateGroup2\" id=\"rdoGroup2Today\" type=\"radio\" class=\"NoBorder\" value=\"Group2Today\" checked=\"checked\" /></td>");
document.writeln("						<td width=\"20%\" >&#1575;&#1604;&#1610;&#1608;&#1605;</td><td colspan=\"2\"></td></tr><tr>");
document.writeln("						<td width=\"15%\" ><input name=\"dateGroup2\" id=\"rdoGroup2Tomorrow\"	type=\"radio\" class=\"NoBorder\" value=\"Group2Tomorrow\"></td>");
document.writeln("						<td width=\"20%\" >&#1594;&#1583;&#1575;</td><td colspan=\"2\"></td></tr></table>");
document.writeln("					</td></tr><tr><td colspan=\"5\"><hr/>");
document.writeln("						<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>");
document.writeln("						<td width=\"5%\"><img src=\"/images/ibe/FI0007.gif\" alt=\"&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;\" title=\"&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;\" /></td>");
document.writeln("						<td width=\"1%\" ></td>");
document.writeln("						<td ><a href=\"#\" onclick=\"callFaqHelp(1,'ar'); return false;\" id=\"lnkHelp\" name=\"lnkHelp\"><u>&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;</u></a></td>");
document.writeln('<td height="30"><input type="button" id="btnContinue" name="btnContinue" class="button buttonLLBig" value="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1581;&#1575;&#1604;&#1577; &#1575;&#1604;&#1585;&#1581;&#1604;&#1577;" onclick="pgBtnClick(6)" style="float:left;" /></td></tr></table>');
document.writeln('<!--<td align="left"><input type="button" id="btnContinue" name="btnContinue" class="button buttonLLBig" value="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1581;&#1575;&#1604;&#1577; &#1575;&#1604;&#1585;&#1581;&#1604;&#1577;" onclick="window.location=\'/disabledf.html\'" /></td></tr></table>-->');
document.writeln('</td></tr></table></td></tr></table>');
document.writeln('</div>');
//Holidays tab
document.writeln('<div id="spnTab5" style="display:none;">');
document.writeln('<h3>Hello World!</h3>');
document.writeln('</div>');
//end Holidays
document.writeln('</td></tr></table></td></tr><tr>');
document.writeln('<td class="bgBar" align="center">');
document.writeln('<div><a href="/'+folder+'/newsletter.html" title="&#1575;&#1588;&#1578;&#1585;&#1603;&#32;&#1576;&#1575;&#1604;&#1605;&#1580;&#1604;&#1577;&#32;&#1575;&#1604;&#1573;&#1582;&#1576;&#1575;&#1585;&#1610;&#1577;&#32;&#1575;&#1604;&#1573;&#1604;&#1603;&#1578;&#1585;&#1608;&#1606;&#1610;&#1577;"><img src="/images/ibe/enews-signup-ar.gif" alt="&#1575;&#1588;&#1578;&#1585;&#1603;&#32;&#1576;&#1575;&#1604;&#1605;&#1580;&#1604;&#1577;&#32;&#1575;&#1604;&#1573;&#1582;&#1576;&#1575;&#1585;&#1610;&#1577;&#32;&#1575;&#1604;&#1573;&#1604;&#1603;&#1578;&#1585;&#1608;&#1606;&#1610;&#1577;" /></a></div>');
document.writeln('</td></tr></table>');
document.writeln('</td><td width="585" rowspan="2"></td></tr><tr><td></td></tr><tr><td colspan="2"></td></tr></table>');
document.writeln('<span id="spnCalendar"></span>');
document.writeln('<form id="frmDummy" name="frmDummy" method="post" action="">');
document.writeln('<input type="hidden" id="hdnData" name="hdnData" />');
document.writeln('<input type="hidden" id="hdnMode" name="hdnMode" />');
document.writeln('</form>');
document.writeln('<form id="frmWci" name="frmWci" method="post" action="">');
document.writeln('<input type="hidden" id="hdnFOID" name="hdnFOID" />');
document.writeln('<input type="hidden" id="hdnFOIDAL" name="hdnFOIDAL" />');
document.writeln('<input type="hidden" id="hdnFOIDNo" name="hdnFOIDNo" />');
document.writeln('<input type="hidden" id="hdnLn" name="hdnLn" />');	
document.writeln('<input type="hidden" id="hdnLang" name="hdnLang" />');
document.writeln('</form>');
document.writeln('<script type="text/javascript">');
document.writeln('var arrTabs=new Array()');
document.writeln('arrTabs[0]=new Array("&#1581;&#1580;&#1586;&#32;&#1575;&#1604;&#1585;&#1581;&#1604;&#1575;&#1578;")');
document.writeln('arrTabs[1]=new Array("&#1578;&#1587;&#1580;&#1610;&#1604; &#1575;&#1604;&#1583;&#1582;&#1608;&#1604;")');
document.writeln('arrTabs[2]=new Array("&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;&#32;&#1575;&#1604;&#1581;&#1580;&#1586;");');
document.writeln('arrTabs[3]=new Array("&#1581;&#1575;&#1604;&#1577; &#1575;&#1604;&#1585;&#1581;&#1604;&#1575;&#1578;");');
//document.writeln('arrTabs[4]=new Array("Holidays");');
document.writeln('var strLanguage="ar";');
document.writeln('var strImagePath="/images/";');
document.writeln('var strHDMorePsng="'+String.fromCharCode(1575,1603,1579,1585)+' '+String.fromCharCode(1605,1606)+' #1 '+String.fromCharCode(1605,1587,1575,1601,1585,1610,1606)+'";');
var arabic=String.fromCharCode(1575,1582,1578,1575,1585,32,1605,1583,1610,1606,1577);
document.writeln('var strDDFirstValue="'+arabic+'";');
document.writeln('var strWciVal="BKG_REF^ETKT_NO^FF_NO";');
var bkgStr= String.fromCharCode(1585,1605,1586,32,1575,1604,1581,1580,1586);
var etktStr= String.fromCharCode(1585,1602,1605,32,1575,1604,1578,1584,1603,1585,1577,32,1575,1604,1573,1604,1603,1578,1585,1608,1606,1610,1577);
var ffpStr= String.fromCharCode(1585,1602,1605,32,1593,1590,1608,1610,1577,32,1606,1575,1583,1610,32,1575,1604,1573,1605,1578,1610,1575,1586);
document.writeln('var strWciDesc="'+bkgStr+'^'+etktStr+'^'+ffpStr+'";');
document.writeln('var strWciFFPID="QR";');
document.writeln('var strWciFFPDesc="Qatar Airways";');
document.writeln('</script>');
document.writeln('</div>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/routes.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/fsroutes.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/searchCommon.js"></script>');
document.writeln('<script type="text/javascript" src="/scripts/ibe/flightSearch.js"></script>'); 
document.writeln('<script type="text/javascript" src="/scripts/ibe/search.js"></script>'); 
document.writeln('<script type="text/javascript" src="/scripts/ibe/flightStatus.js"></script>');