<!-- Copyright Bluedog Travel 2005/6 -->
<!-- If you are reading this you shouldn't be. We vigorously pursue any individual or company that infringes our copyright. -->
<!-- We have placed unique code in this file that is easily traceable and our legal department actively searches for it.    -->

var bookmarkurl="http://www.airportparking-deals.co.uk"
var bookmarktitle="Airport Parking Deals"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function CalcDate(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;

}

function blockError(){return true;}
window.onerror = blockError;			

