var xmlDoc;
var arr = new Array(" Stansted Parking "," Stansted Airport Parking "," Stansted Airport "," Newcastle Parking "," Newcastle Airport Parking "," Newcastle Airport "," Durham Parking "," Durham Airport Parking "," Durham Airport"," Manchester Parking "," Manchester Airport Parking "," Manchester Airport "," Luton Parking "," Luton Airport Parking "," Luton Airport "," Liverpool Parking "," Liverpool Airport Parking "," Liverpool Airport "," Leeds Parking "," Leeds Airport Parking "," Leeds Airport "," Heathrow Parking "," Heathrow Airport Parking "," Heathrow Airport "," Glasgow Parking "," Glasgow Hotels "," Glasgow Airport Parking "," Glasgow Airport "," Gatwick Parking "," Gatwick Airport Parking "," Gatwick Airport Hotels "," Gatwick Airport "," Edinburgh Parking "," Edinburgh Hotels "," Edinburgh Airport Parking "," Edinburgh Airport "," Eastmidlands Parking "," Eastmidlands Hotels "," Eastmidlands Airport Parking "," Eastmidlands Airport "," Cardiff Parking "," Cardiff Hotels "," Cardiff Airport Parking "," Cardiff Airport "," Bristol Parking "," Bristol Hotels "," Bristol Airport Parking "," Bristol Airport "," Birmingham Parking "," Birmingham Hotels "," Birmingham Airport Parking "," Birmingham Airport "," Aberdeen Parking "," Aberdeen Hotel "," Aberdeen Airport Parking "," Aberdeen Airport ")
var seltabid =1;
var keyword ="";
var kwdtext ="UK Airport Parking"; 
startList = function() 
{


var sec;	
var obj;


var dt= new Date();
sec = ( dt.getSeconds() * 11 % 42 ) + 1;
sec = sec +".jpg";

var img = document.getElementById("rightimg");

if(img != null)
{
img.src ="/images/" + sec;
img.width = "130px";
}


kwdtext ="UK";
var arr = getkwdtext(obj, kwdtext );
var dtext = arr[1] + " Airport Parking";

var rssobj = document.getElementById('rssarea');
if(rssobj !=null)
{
		GetRSS(dtext, rssobj);
}


var dt= new Date();
var dtNextWeek = new Date();
dtNextWeek.setDate( dtNextWeek.getDate()+7 );


var combo = document.getElementsByTagName("SELECT");
for(i = 0; i < combo.length ; i++ )
{
if(combo[i].name =="ap")
{
combo[i].value = keyword.value;
}
else if(combo[i].name =="ddd")
{
combo[i].value = dt.getDate();
}
else if(combo[i].name =="ddm")
{
combo[i].value = dt.getMonth();
}
else if(combo[i].name =="ddy")
{
combo[i].value = dt.getFullYear();
}
}


var desct = document.getElementById("dynacontent");
if(desct != null)
{
desct.innerHTML = desct.innerHTML.replace(" book now "," <a href=\"#booknow\"onclick=\"Javascript:displaybooking();\">" +"book now"+"</a> ");
}


var table4 = document.getElementById("tab4");
if(table4 != null)
{
table4.innerHTML = '<table align="left"><tr><td><p align=left style="LINE-HEIGHT: 30px;"><Div id="feedbackform" ><table border="0" cellpadding="2" cellspacing="2" summary="feedback form" ><form action="http://www.airportessentials.com/feedback.php" method="post"><tr><td >Name:</td><td ><input type="text" name="name" size="25" /></td></tr><tr><td >Email address:</td><td><input type="text" name="email" size="25" /></td></tr><tr><td colspan="2" >Comments<br><textarea rows="10" cols="45" name="comments"></textarea><br><br><input type="submit" class="button" value="Contact Us" /></td></tr></form></table></Div></p></td></tr></table>';
}

var table1 = document.getElementById("tab1");
if(table1 != null)
{
table1.innerHTML = table1.innerHTML.replace(" book now "," <a href=\"#booknow\"onclick=\"Javascript:displaybooking();\">" +"book now"+"</a> ");
for(i = 0; i < arr.length ; i++ )
{
var z=""+arr[i];
var flagi="i";
var flagg="g";
var flagm="";
try{var re= new RegExp (z?z:" "," "+flagi+flagg+flagm);}catch(e){}
table1.innerHTML = table1.innerHTML.replace(re,"<a target=_new href=\"http://www.google.co.uk/search?hl=en&lr=&q=site:travelrobe.co.uk+"+ arr[i] +"\">" + arr[i] +"</a>");
}


var table2 = document.getElementById("tab2");
if(table2 != null)
{
table2.innerHTML = table2.innerHTML.replace(" book now "," <a href=\"#\"onclick=\"Javascript:displaybooking();\">" +"book now"+"</a> ");
for(i = 0; i < arr.length ; i++ )
{	
var z=""+arr[i];
var flagi="i";
var flagg="g";
var flagm="";
try{var re= new RegExp (z?z:" "," "+flagi+flagg+flagm);}catch(e){}
table2.innerHTML = table2.innerHTML.replace(re,"<a target=_new href=\"http://www.google.co.uk/search?hl=en&lr=&q=site:travelrobe.co.uk+"+ arr[i] +"\">" + arr[i]+"</a>");
}
}
showtab(3);
/*if(document.location.toString().indexOf("#booknow") > 0){showtab(3);}else{showtab(1);}*/
}
setBookingObjects();

}

window.onload =startList;

function displaybooking()
{
showtab(3);
}

function testobject(obj)
{

temp = serialize(obj)
alert (temp);
}


function airport(bookingId){
	window.open('http://www.travelrobe.info/thankyou.htm?id=' + bookingId , '_booking', 'height=200,width=200', false);
	return true;
}


function hidelayers()
{
if(document.getElementById("tab1") != null)
{
document.getElementById("tab1").style.display ="none";
document.getElementById("tab2").style.display ="none";
document.getElementById("tab3").style.display ="none";
document.getElementById("tab4").style.display ="none";
}
}

function highlighttab(tabid, show)
{
if(document.getElementById("page1") != null)
{
var showID = show=="true"?0:1;
var hideID = show=="true"?1:0;
document.getElementById("page1").className ="gt"+hideID;
document.getElementById("page2").className ="gt"+hideID;
document.getElementById("page3").className ="gt"+hideID;
document.getElementById("page4").className ="gt"+hideID;
document.getElementById("page"+ tabid).className ="gt"+showID;
}
}
function showtab(tabid)
{
if( tabid ==3 &&  document.getElementById("tab3") == null )
{
	document.location = "http://www.airportessentials.com/heathrow_parking.html#booknow";
}
if(document.getElementById("tab1") != null)
{
document.getElementById("tab1").style.display ="none";
document.getElementById("tab2").style.display ="none";
document.getElementById("tab3").style.display ="none";
document.getElementById("tab4").style.display ="none";
document.getElementById("tab"+ tabid).style.display ="block";
}
highlighttab(tabid,true);
seltabid =tabid;
}

function serialize(obj)
{
var temp ="";
for (x in obj)
{
    temp += x +":"+ obj[x] +"\n";    
    }
return temp;
}


function ToggleDiv(div1, div2, img)
{
if(div1.style.display =="none")
{
img.src ="/images/minus.gif";
div1.style.display ="block";
div2.style.display ="none";
}
else
{
img.src ="/images/plus.gif";
div1.style.display ="none";
div2.style.display ="block";
}
}


function hide( obj,rssarea) {
  if (document.layers && document.layers[obj])
    document.layers[obj].visibility = 'hidden';
  else if (document.all)
    document.all[obj].style.visibility = 'hidden';
}
/**/

function getkwdtext(obj, kwdtext)
{
var arr; 
arr= new Array(2);
var loc = 	document.location.toString().toLowerCase();
if(loc.indexOf("aberdeen") > 0){obj ="ABZ"; kwdtext ="aberdeen"; }
else if(loc.indexOf("belfast") > 0){obj ="BFS"; kwdtext ="belfast"; }
else if(loc.indexOf("birmingham") > 0){obj ="BHX"; kwdtext ="birmingham"; }
else if(loc.indexOf("blackpool") > 0){obj ="BLK"; kwdtext ="blackpool"; }
else if(loc.indexOf("bristol") > 0){obj ="BRS"; kwdtext ="bristol"; }
else if(loc.indexOf("coventry") > 0){obj ="CVT"; kwdtext ="coventry"; }
else if(loc.indexOf("cardiff") > 0){obj ="CWL"; kwdtext ="cardiff"; }
else if(loc.indexOf("durham") > 0){obj ="MME1"; kwdtext ="durham"; }
else if(loc.indexOf("midlands") > 0){obj ="EMA"; kwdtext ="midlands"; }
else if(loc.indexOf("edinburgh") > 0){obj ="EDI"; kwdtext ="edinburgh"; }
else if(loc.indexOf("gatwick") > 0){obj ="LGW"; kwdtext ="gatwick"; }
else if(loc.indexOf("glasgow") > 0){obj ="GLA"; kwdtext ="glasgow"; }
else if(loc.indexOf("heathrow") > 0){obj ="LHR"; kwdtext ="heathrow"; }
else if(loc.indexOf("leeds") > 0){obj ="LBA"; kwdtext ="leeds"; }
else if(loc.indexOf("london") > 0){obj ="LCY"; kwdtext ="london"; }
else if(loc.indexOf("liverpool") > 0){obj ="LPL"; kwdtext ="liverpool"; }
else if(loc.indexOf("luton") > 0){obj ="LTN"; kwdtext ="luton"; }
else if(loc.indexOf("manchester") > 0){obj ="MAN"; kwdtext ="manchester"; }
else if(loc.indexOf("newcastle") > 0){obj ="NCL"; kwdtext ="newcastle"; }
else if(loc.indexOf("norwich") > 0){obj ="NWI"; kwdtext ="norwich"; }
else if(loc.indexOf("southampton") > 0){obj ="SOU"; kwdtext ="southampton"; }
else if(loc.indexOf("stansted") > 0){obj ="STN"; kwdtext ="stansted"; }
else if(loc.indexOf("exeter") > 0){obj ="EXT"; kwdtext ="exeter"; }
else {obj ="Request"; kwdtext ="UK"; }

arr[0] = obj ;
arr[1] = kwdtext;

return  arr;
}

function setBookingObjects()
{


var obj ="Request";

var arr = getkwdtext(obj, kwdtext );

var dt= new Date();
var dtNextWeek = new Date();
dtNextWeek.setDate( dtNextWeek.getDate()+7 );

if(obj != null && obj.length> 0 )
{
keyword = arr[0];
var combo = document.getElementsByTagName("select");
for(i = 0; i < combo.length ; i++ )
{
if(combo[i].name =="ap")
{
combo[i].value = arr[0];
}
else if(combo[i].name =="ddd"|| combo[i].name =="d")
{
var dd ="0"+  dt.getDate() ;
dd = dd.substring(dd.length-2);
combo[i].value = dd;
if(combo[i].selectedIndex < 0)
{
combo[i].selectedIndex = dd-1;
}
}
else if(combo[i].name =="rdd")
{
var dd ="0"+ dtNextWeek.getDate();
dd = dd.substring(dd.length-2);
combo[i].value = dd;
}
else if(combo[i].name =="ddm")
{
var mm = dt.getMonth();
combo[i].selectedIndex = mm;
}
else if(combo[i].name =="rdm")
{
var mm ="0"+ dtNextWeek.getMonth();
mm = mm.substring(mm.length-2);
combo[i].selectedIndex = combo[i][mm].index;
}
else if(combo[i].name =="m")
{
var mm =dt.getMonth();
combo[i].selectedIndex = combo[i][mm].index + 1;
}
else if(combo[i].name =="ddy"|| combo[i].name =="y"|| combo[i].name =="rdy")
{
var yyyymain ="0"+ dt.getFullYear();
var yyyy = yyyymain.substring(yyyymain.length-2);
var yyyy1 = yyyymain.substring(yyyymain.length-4);
combo[i].value = yyyy;
if(combo[i].selectedIndex < 0)
{
combo[i].value = yyyy1;
}
}
else if(combo[i].name =="dth"|| combo[i].name =="rth")
{
var hh ="0"+ dt.getHours();
hh = hh.substring(hh.length-2); 
combo[i].value = hh;
}
}
}
}


function quickbook()
{
var combo = document.getElementById('quickbook');
if(combo != null)
{
document.location = "http://www.travelrobe.co.uk/"+combo[combo.selectedIndex].value + "_parking.html#booknow";
}
}



function WriteParkingBooking()
{
document.write('<form action="http://www.parking-quote.co.uk/profpark/profpark.ASP" method="get" name="form1" onsubmit="javascript:return airport(1);"><tr><td colspan=3 height="15px">&nbsp;</td></tr><tr><td><input type="hidden" name="agent" value="TR1"><input type="hidden" name="tmp" value="TR1"><b>Airport:</b></td><td><select name="ap"><option value="Request" selected="">Please Select an Airport</option><option value="ABZ">Aberdeen</option><option value="EXT">Exeter</option><option value="BFS">Belfast</option><option value="BHX">Birmingham</option><option value="BRS">Bristol</option><option value="CWL">Cardiff</option><option value="MME1">Durham</option><option value="DOV">Dover</option><option value="EMA">East Midlands</option><option value="EDI">Edinburgh</option><option value="FOL">Folkestone</option><option value="LGW">Gatwick</option><option value="GLA">Glasgow</option><option value="LHR">Heathrow</option><option value="LBA">Leeds/Bradford</option><option value="LPL">Liverpool</option><option value="LCY">London City</option><option value="LTN">Luton</option><option value="MAN">Manchester</option><option value="NCL">Newcastle</option><option value="PIK">Prestwick</option><option value="SOU">Southampton</option><option value="STN">Stansted</option></select></td></tr><tr><td><b>Departure Date:</b></td><td><select name="ddd"><option value="01" selected="">1</option><option value="02">2</option><option value="03">3</option><option value="04">4</option><option value="05">5</option><option value="06">6</option><option value="07">7</option><option value="08">8</option><option value="09">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select><select name="ddm"><option value="01" selected="">January</option><option value="02">February</option><option value="03">March</option><option value="04">April</option><option value="05">May</option><option value="06">June</option><option value="07">July</option><option value="08">August</option><option value="09">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select><select name="ddy"><option value="08" selected="">2008</option><option value="09">2009</option><option value="10">2010</option></select></td></tr><tr><td><b>Drop Off Time:</b></td><td><select id="Select2" name="dth"><option value="00" selected="">00</option><option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option></select>:<select id="Select1" name="dtm"><option value="00" selected="">00</option><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option></select></td></tr><tr><td><b>Return Date:</b></td><td><select id="Select3" name="rdd"><option value="01">1</option><option value="02">2</option><option value="03">3</option><option value="04">4</option><option value="05" selected="">5</option><option value="06">6</option><option value="07">7</option><option value="08">8</option><option value="09">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select><select name="rdm"><option value="01">January</option><option value="02">February</option><option value="03">March</option><option value="04">April</option><option value="05">May</option><option value="06">June</option><option value="07" selected="">July</option><option value="08">August</option><option value="09">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select><select name="rdy"><option value="08" selected="">2008</option><option value="09">2009</option><option value="10">2010</option></select></td></tr><tr><td><b>Landing Time:</b></td><td><select name="rth"><option value="00">00</option><option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18" selected="">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option></select>:<select name="rtm"><option value="00" selected="">00</option><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option></select></td></tr><tr><td><b>Number of People:</b></td><td>1<input id="Radio1" type="radio" checked value="1" name="px">2<input id="Radio2" type="radio" value="2" name="px">3<input id="Radio3" type="radio" value="3" name="px">4<input id="Radio4" type="radio" value="4" name="px">5<input id="Radio5" type="radio" value="5" name="px">6<input id="Radio6" type="radio" value="6" name="px"></td></tr><tr><td>&nbsp;</td><td><input class="button" type="submit" value="Get a Quote"></td></tr></form>');
}




function WriteHotelBooking()
{

document.write('<form action="http://www.parking-quote.co.uk/hotprof/HotProf.ASP" method="get" name="Login" onsubmit="javascript:return airport();"><tr><td colspan=3 height="15px">&nbsp;</td></tr><tr><td><input type="hidden" name="agent" value="TR1"><input type="hidden" name="tmp" value="TR1"><b>Departure Date:</b></td><td><select name="ddd"><option value="01" selected="">1</option><option value="02">2</option><option value="03">3</option><option value="04">4</option><option value="05">5</option><option value="06">6</option><option value="07">7</option><option value="08">8</option><option value="09">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select><select name="ddm"><option value="01" selected="">January</option><option value="02">February</option><option value="03">March</option><option value="04">April</option><option value="05">May</option><option value="06">June</option><option value="07">July</option><option value="08">August</option><option value="09">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select><select name="ddy"><option value="08" selected="">2008</option><option value="09">2009</option><option value="10">2010</option></select></td></tr><tr><td><b>Return Date:</b></td><td><select id="Select3" name="rdd"><option value="01">1</option><option value="02">2</option><option value="03">3</option><option value="04">4</option><option value="05" selected="">5</option><option value="06">6</option><option value="07">7</option><option value="08">8</option><option value="09">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select><select name="rdm"><option value="01">January</option><option value="02">February</option><option value="03">March</option><option value="04">April</option><option value="05">May</option><option value="06">June</option><option value="07" selected="">July</option><option value="08">August</option><option value="09">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select><select name="rdy"><option value="08" selected="">2008</option><option value="09">2009</option><option value="10">2010</option></select></td></tr><tr><td><b>Select Airport:</b></td><td><select name="ap"><option value="Request" selected>Please Select an Airport</option><option value="ABZ">Aberdeen</option><option value="BFS">Belfast</option><option value="BHX">Birmingham</option><option value="BLK">Blackpool</option><option value="EXT">Exeter</option><option value="BRS">Bristol</option><option value="CWL">Cardiff</option><option value="CVT">Coventry</option><option value="DOV">Dover</option><option value="MME1">Durham Tees Valley</option><option value="EMA">East Midlands</option><option value="EDI">Edinburgh</option><option Value="FOL">Folkestone</option><option value="LGW">Gatwick</option><option value="GLA">Glasgow</option><option value="LHR">Heathrow</option><option value="LBA">Leeds-Bradford</option><option value="LCY">London City</option><option value="LPL">Liverpool</option><option value="LTN">Luton</option><option value="MAN">Manchester</option><option value="NCL">Newcastle</option><option value="NWI">Norwich</option><option Value="PIK">Prestwick</option><option value="SOU">Southampton</option><option value="STN">Stansted</option></select></td></tr><tr><td><b>Select options</b></td><td><select name="zn"><option value="PKG">Accommodation with parking</option><option value="RO">Accommodation only</option></select></td></tr><tr><td>&nbsp;</td><td><input class="button" type="submit" value="Get a Quote"></td></tr></form>');
}




function WriteLoungeBooking()
{
	document.write('<form name="form3" method="get" action="http://www.parking-quote.co.uk/lge/APHBook.ASP" onsubmit="javascript:return airport(3);"><tr><td colspan=3 height="15px">&nbsp;</td></tr><tr><td height="19"><b>Airport Lounges</b></td><td>&nbsp;<input type="hidden" name="agent" value="TR1"><input type="hidden" name="tmp" value="TR1"></td></tr><tr><td><b>Date:</b></td><td><select name="d"><option selected="">01</option><option>02</option><option>03</option><option>04</option><option>05</option><option>06</option><option>07</option><option>08</option><option>09</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option><option>21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option></select><select name="m"><option value="MON" selected="">Month</option><option value="JAN">January</option><option value="FEB">February</option><option value="MAR">March</option><option value="APR">April</option><option value="MAY">May</option><option value="JUN">June</option><option value="JUL">July</option><option value="AUG">August</option><option value="SEP">September</option><option value="OCT">October</option><option value="NOV">November</option><option value="DEC">December</option></select><select name="y"><option value="Year" selected="">Year</option><option value="08">2008</option><option value="09">2009</option><option value="10">2010</option><option value="11">2011</option><option value="12">2012</option><option value="13">2013</option></select></td></tr><tr><td><b>Airport:</b></td><td><select name="ap"><option value="Request">Select an Airport</option><option value="ABZ">Aberdeen</option><option value="BFS">Belfast</option><option value="EXT">Exeter</option><option value="EXT">Exeter</option<option value="BHX">Birmingham</option><option value="BLK">Blackpool</option><option value="BRS">Bristol</option><option value="CWL">Cardiff</option><option value="EMA">East Midlands</option><option value="EDI">Edinburgh</option><option value="LGW">Gatwick</option><option value="GLA">Glasgow</option><option value="LHR">Heathrow</option><option value="HUY">Humberside</option><option value="LBA">Leeds/Bradford</option><option value="LPL">Liverpool</option><option value="LCY">London City</option><option value="LTN">Luton</option><option value="MAN">Manchester</option><option value="NCL">Newcastle</option><option value="STN">Stansted</option></select></td></tr><tr><td><hr></td><td><input class="button" type="submit" value="Get a Quote"></form>');
}


function WriteBooking()
{
document.write('<table name="booknow" height="300px" ><tr valign="top"><td><img src="http://www.airportessentials.com/images/p.gif" height="1px" width="1px"></td><td><table id="bookingtable" align="right" ><tr><td colspan="2"><b>Airport Parking:</b></td></tr>');

WriteParkingBooking();
WriteHotelBooking();
WriteLoungeBooking();

document.write('<img src="http://www.airportessentials.com/images/p.gif" height="1px" width="100px"></td></tr></table></td><td id="midborder"><img src="http://www.airportessentials.com/images/p.gif" height="1px" width="1px"></td><td><img src="http://www.airportessentials.com/images/p.gif" height="1px" width="2px"></td><td id="faqbox"><img src="http://www.airportessentials.com/images/p.gif" height="1px" width="200px"><br><b>Frequently asked Questions</b><br><hr><b>Q:</b> What is the Airport Drive on Price, and Why is it recommended that I should pre-book?<br><br><b>A:</b><img style="float:right" src="http://www.airportessentials.com/images/guranteeimage.jpg"> If you drive directly to the airport without any form of pre-booking this is known as the airport gate price, This can be very expensive especially at the main airports such as Gatwick airport, Manchester airport and Heathrow airport.<br>All bookings for our car parks are taken via our secure web- site or by telephone and require payment in advance by credit or debit card.<br>The staff at the car park site are therefore not required to concern themselves with payments and can concentrate solely on parking and transfers and secondly we are then able to monitor demand and advise customers in advance when the car park is full.This also has the advantage of guaranteeing you a space in peak season.Nearly all the off airport car parks will be full at sometime in the summer.<br>East Midlands airport in particular is full for Saturday departures even in the winter and early booking for this airport is always recommended.<br><hr><b>Q:</b> How much time should I allow to park my car?<br><br><b>A:</b> We recommend you allow at least 30 minutes in addition to the transfer times shown for the Heathrow car park you choose.<br>This allows for busy traffic, parking your car and waiting for a transfer bus.<br><hr><b>Q:</b> What about security?<br><br><b>A:</b> Gatwick, Heathrow and all other major airport parking options have security measures in place, with many operating 24 hr manned staff and CCTV surveillance,Many of the Heathrow parking options have also earned an award for their outstanding security.<br><hr><b>Q:</b>How safe is I book from your web site<br><br><b>A:</b> An industry secure server that guarantees the safety of the transaction protects the online purchase area.<br>The system uses a SSL encryption technology.<br><hr><b>Q:</b> How do I get Directions?<br><br><b>A:</b> These are sent with your confirmation either by email or if a telephone booking in the post.<br>Directions, for short noticed bookings will be faxed. Details of the car park location can also be found under information when you obtain a quote and before you are required to book.<br><hr><b>Q:</b> What should I do when I reach car park?<br><br><b>A:</b> Each car park has their own procedure, here listed is a simple procedure<br>1) Produce at reception your receipt/confirmation, confirm payment and for security purposes.<br>2) You will be asked for your car key and if there are any special starting requirements such as codes.<br>3) If the car park is a Park and Ride you will retain your car keys.<br>4) You will be given return instructions and a telephone number to ring.<br>5) You will also usually be asked for your return flight details.<br><hr><img style="float:right" src="http://www.airportessentials.com/images/cclogo.gif" ><b>Q:</b> What are the payment options<br><br><b>A:</b>We accept all major credit cards<hr><b>Q:</b> Will I get a discount If I stay for long ?<br><br><b>A:</b> If the stay is over 3 weeks a discounted rate can normally be arranged.The rate of the discount will depend on season and car park.</td></tr></table>');
}


function setContent(divName,imgId,linkClass,bgClass,navBg)
{
for(i=0; i<= 15; i++)
	{		
		
		document.getElementById('img'+i).src="/images/cityguide/YT_bulete3.gif"
		document.getElementById('tb'+i).style.display='none';
		document.getElementById(divName).style.display='';
		document.getElementById('link'+i).className='LinkW2';
		document.getElementById('label'+i).className='';
		document.getElementById('navbg'+i).className='';
		//document.getElementById('acttab').style.display='none';
	}
				
		document.getElementById(imgId).src="/images/cityguide/YT_bulete4.gif"; 
		document.getElementById(linkClass).className='Linktab';
		document.getElementById(bgClass).className='tabBg';
		document.getElementById(navBg).className='tabBg2';		
	
}


function ufromk()
{
	var obj;
	var kwdtext;
var loc = document.location.toString().toLowerCase();
if(loc.indexOf("aberdeen") > 0){obj ="ABZ"; kwdtext ="aberdeen_airport_parking.html"; }
else if(loc.indexOf("belfast") > 0){obj ="BFS"; kwdtext ="belfast_airport_parking.html"; }
else if(loc.indexOf("birmingham") > 0){obj ="BHX"; kwdtext ="birmingham_airport_parking.html"; }
else if(loc.indexOf("blackpool") > 0){obj ="BLK"; kwdtext ="blackpool_airport_parking.html"; }
else if(loc.indexOf("bristol") > 0){obj ="BRS"; kwdtext ="bristol_airport_parking.html"; }
else if(loc.indexOf("coventry") > 0){obj ="CVT"; kwdtext ="coventry_airport_parking.html"; }
else if(loc.indexOf("cardiff") > 0){obj ="CWL"; kwdtext ="cardiff_airport_parking.html"; }
else if(loc.indexOf("durham") > 0){obj ="MME1"; kwdtext ="durham_tees_airport_parking.html"; }
else if(loc.indexOf("midlands") > 0){obj ="EMA"; kwdtext ="east-midlands_airport_parking.html"; }
else if(loc.indexOf("edinburgh") > 0){obj ="EDI"; kwdtext ="edinburgh_airport_parking.html"; }
else if(loc.indexOf("gatwick") > 0){obj ="LGW"; kwdtext ="gatwick_airport_parking.html"; }
else if(loc.indexOf("glasgow") > 0){obj ="GLA"; kwdtext ="glasgow_airport_parking.html"; }
else if(loc.indexOf("heathrow") > 0){obj ="LHR"; kwdtext ="heathrow_airport_parking.html"; }
else if(loc.indexOf("leeds") > 0){obj ="LBA"; kwdtext ="leeds_airport_parking.html"; }
else if(loc.indexOf("london") > 0){obj ="LCY"; kwdtext ="london_city_airport_parking.html"; }
else if(loc.indexOf("liverpool") > 0){obj ="LPL"; kwdtext ="liverpool_airport_parking.html"; }
else if(loc.indexOf("luton") > 0){obj ="LTN"; kwdtext ="luton_airport_parking.html"; }
else if(loc.indexOf("manchester") > 0){obj ="MAN"; kwdtext ="manchester_airport_parking.html"; }
else if(loc.indexOf("newcastle") > 0){obj ="NCL"; kwdtext ="newcastle_airport_parking.html"; }
else if(loc.indexOf("norwich") > 0){obj ="NWI"; kwdtext ="norwich_airport_parking.html"; }
else if(loc.indexOf("southampton") > 0){obj ="SOU"; kwdtext ="southampton_airport_parking.html"; }
else if(loc.indexOf("stansted") > 0){obj ="STN"; kwdtext ="stansted_airport_parking.html"; }
else if(loc.indexOf("exeter") > 0){obj ="EXT"; kwdtext ="exeter_airport_parking.html"; }
else {obj ="Request"; kwdtext =""; }


kwdtext = "http://www.airportessentials.com/"+ kwdtext;

return  kwdtext ;
}