<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

<!--//
function DateAdd(startDate, numDays, numMonths, numYears)
{
	var returnDate = new Date(startDate.getTime());
	var yearsToAdd = numYears;
	
	var month = returnDate.getMonth()	+ numMonths;
	if (month > 11)
	{
		yearsToAdd = Math.floor((month+1)/12);
		month -= 12*yearsToAdd;
		yearsToAdd += numYears;
	}
	returnDate.setMonth(month);
	returnDate.setFullYear(returnDate.getFullYear()	+ yearsToAdd);
	returnDate.setTime(returnDate.getTime()+60000*60*24*numDays);
	return returnDate;

}
//-->

/***********************************************
* Switch Content script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
var collapseprevious="no" //Collapse previously open content when opening present? (yes/no)

var contractsymbol='- ' //HTML for contract symbol. For image, use: <img src="whatever.gif">
var expandsymbol='+ ' //HTML for expand symbol.


if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}

function getElementbyClass(rootobj, classname){
var temparray=new Array()
var inc=0
var rootlength=rootobj.length
for (i=0; i<rootlength; i++){
if (rootobj[i].className==classname)
temparray[inc++]=rootobj[i]
}
return temparray
}

function sweeptoggle(ec){
var thestate=(ec=="expand")? "block" : "none"
var inc=0
while (ccollect[inc]){
ccollect[inc].style.display=thestate
inc++
}
revivestatus()
}


function contractcontent(omit){
var inc=0
while (ccollect[inc]){
if (ccollect[inc].id!=omit)
ccollect[inc].style.display="none"
inc++
}
}

function expandcontent(curobj, cid){
var spantags=curobj.getElementsByTagName("SPAN")
var showstateobj=getElementbyClass(spantags, "showstate")
if (ccollect.length>0){
if (collapseprevious=="yes")
contractcontent(cid)

if(document.getElementById(cid).style.display!="block")
{
document.getElementById(cid).style.display="block";
curobj.src="/airport-car-parking-images/get-quote3.gif";

}
else{
document.getElementById(cid).style.display="none";
curobj.src="/airport-car-parking-images/get-quote2.gif";

}
if (showstateobj.length>0){ //if "showstate" span exists in header
if (collapseprevious=="no")
{

if(document.getElementById(cid).style.display=="block")
{
curobj.src="/airport-car-parking-images/get-quote3.gif";

showstateobj[0].innerHTML=contractsymbol ;
}
else
{
curobj.src="/airport-car-parking-images/get-quote2.gif";
showstateobj[0].innerHTML=expandsymbol;
}

}
else
{

revivestatus();
}
}
}
}

function revivecontent(){
contractcontent("omitnothing")
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
var flag=false;
for (i=0; i<selectedComponents.length-1; i++)
{
	flag=true;
	document.getElementById(selectedComponents[i]).style.display="block"
}
curobj=document.getElementById("btn");
if (flag==true)
{curobj.src="/airport-car-parking-images/get-quote3.gif";
}
else {curobj.src="/airport-car-parking-images/get-quote2.gif";}
}

function revivestatus(){
var inc=0
while (statecollect[inc]){
if (ccollect[inc].style.display=="block")
{
//curobj=document.getElementById("btn");
//curobj.src="airport-car-parking-images/get-quote3.gif";
statecollect[inc].innerHTML=contractsymbol
}
else
{
//curobj=document.getElementById("btn");
//curobj.src="airport-car-parking-images/get-quote2.gif";
statecollect[inc].innerHTML=expandsymbol
}
inc++
}


}

function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function getselectedItem(){
if (get_cookie(window.location.pathname) != ""){
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}

function saveswitchstate(){
var inc=0, selectedItem=""
while (ccollect[inc]){
if (ccollect[inc].style.display=="block")
selectedItem+=ccollect[inc].id+"|"
inc++
}

document.cookie=window.location.pathname+"="+selectedItem
}

function do_onload(){




uniqueidn=window.location.pathname+"firsttimeload"
var alltags=document.all? document.all : document.getElementsByTagName("*")
ccollect=getElementbyClass(alltags, "switchcontent")
statecollect=getElementbyClass(alltags, "showstate")
if (enablepersist=="on" && ccollect.length>0)
{

	if(get_cookie(uniqueidn)=="")
	{
		document.cookie=uniqueidn+"=1";
	}
	else
	{
		document.cookie=uniqueidn+"=0";

	}
	firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
	if (!firsttimeload)
	revivecontent()
}
if (ccollect.length>0 && statecollect.length>0)
revivestatus()
}

if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload

if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate

function MM_openBrWindow1(theURL,winName,features) { //v2.0
  if (theURL=="http://www.uk-airport-car-parking.co.uk/parking_types_details.htm")
  {var popW = 695, popH = 530;
  }
  else if (theURL=="http://www.uk-airport-car-parking.co.uk/meet_and_greet_park_type.htm")
  {var popW = 625, popH = 240;
  }
  else if (theURL=="http://www.uk-airport-car-parking.co.uk/valet_parking_type.htm")
  {var popW = 695, popH = 220;
  }
  else
  {var popW = 695, popH = 220;
  }

   LeftPosition=(screen.width)?(screen.width-popW)/2:100;TopPosition=(screen.height)?(screen.height-popH)/2:100;
   settings='width='+popW+',height='+popH+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,statusbar=no,titlebar =no';
  // settings='width='+popW+',height='+popH+',top='+TopPosition+',left='+LeftPosition+',scrollbars=0,location=0,directories=0,status=0,menubar=0,toolbar=0,resizable=0,statusbar=0,titlebar =0';
  window.open(theURL,winName,settings);
}

