/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	  *
***********************************************************************************/

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='#CCCCCC';			// Background color when mouse is not over
	var LowSubBgColor='#CCCCCC';			// Background color when mouse is not over on subs
	var HighBgColor='#E4E4E4';			// Background color when mouse is over
	var HighSubBgColor='#E4E4E4';			// Background color when mouse is over on subs
	var FontLowColor='#333333';			// Font color when mouse is not over
	var FontSubLowColor='#333333';			// Font color subs when mouse is not over
	var FontHighColor='#000000';			// Font color when mouse is over
	var FontSubHighColor='#000000';			// Font color subs when mouse is over
	var BorderColor='#333333';			// Border color
	var BorderSubColor='#333333';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial,helvetica"	// Font family menu items
	var FontSize=7;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=5;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

if (navigator.appName.indexOf("Netscape") != -1) {
	var StartLeft=-8;
}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

// First let's find our TID!
function GetMyTID(Brand)
{
	var strTID;
	intIndexTID=document.URL.indexOf("TID=");
	if (intIndexTID == -1)
			intIndexTID=document.URL.indexOf("tid=");

	if (intIndexTID!=-1)//TID in URL Found
	{
		var strURL=document.URL;
		var intIndexEndOfTID=strURL.indexOf("&",intIndexTID);
		if (intIndexEndOfTID==-1)
			intIndexEndOfTID=strURL.length;
			
		strTID=strURL.slice(intIndexTID+4,intIndexEndOfTID);
		return strTID;
	}
	if (strTID!=null)//Cookie Found
	{
		if (strTID.indexOf(strBrandID)!=-1)//Vaild TID
			return strTID;
	}

	return Brand;
}


var strTID = GetMyTID('GT');

Menu1=new Array("<img src='img/h_flights.gif' alt='Book your scheduled flights, charter flights and bargain flight deals here, track flights and airline timetables'>","/default.asp?tid=" + strTID,"",5,19,107);
	Menu1_1=new Array("Scheduled Flights","/tc.dll?ac=return&TID=" + strTID,"<img src='menu.gif'>",0,20,107);
	Menu1_2=new Array("Charter Flights","/gt/charter1.htm?TID=" + strTID,"",0,20,107);
	Menu1_3=new Array("Special Offers","/tc.dll?ac=Offers&next=specialOfferslist.htm&gp=gt&TID=" + strTID,"",0,20,107);
	Menu1_4=new Array("Flight Tracker","/tc.dll?ac=ftsub&TID=" + strTID,"",0,20,107);
	Menu1_5=new Array("Airline Timetables","/gt/ttquery.asp?TID=" + strTID,"",0,20,107);

Menu2=new Array("<img src='img/h_hotels.gif' alt='Hotels welcome - offering you online hotel booking, hotel special offers and hotel and flight deals to European destinations'>","/hotels/default.asp?tid=" + strTID,"",4,19,107);
	Menu2_1=new Array("Europe & USA","/hotels/hotelconnect.htm?TID=" + strTID,"",0,20,107);
	Menu2_2=new Array("Special Offers","/hotels/hotel_special_offers.asp?TID=" + strTID,"",0,20,107);
	Menu2_3=new Array("Airport Hotels","/hotels/Airport_Hotels.asp?TID=" + strTID,"",0,20,107);
	Menu2_4=new Array("Airport Hotels & Parking","/hotels/Airport_hotels_and_parking.asp?TID=" + strTID,"",0,20,107);

Menu3=new Array("<img src='img/h_sports.gif'  alt='Sports &amp; events welcome - offering you football packages, football tickets and Rugby Six nations tickets'>","http://www.footballpackages.co.uk","",5,20,107);
	Menu3_1=new Array("Football","http://www.footballpackages.co.uk","",0,19,107);
	Menu3_2=new Array("Golf","http://www.atpi.com/sports","",0,20,107);
	Menu3_3=new Array("Motor Sports","http://www.atpi.com/sports","",0,20,107);
	Menu3_4=new Array("Tennis","http://www.atpi.com/sports","",0,20,107);
	Menu3_5=new Array("Rugby","http://www.atpi.com/sports","",0,20,107);

Menu4=new Array("<img src='img/h_holidays.gif' alt='Holidays welcome - offering you package holidays, last minute holidays, specials breaks, honeymoons and hotel special offers'>","/holidays/special_offers2.asp?TID=" + strTID,"",4,19,107);

		Menu4_1=new Array("Special Offers","/holidays/special_offers2.asp?tid=" + strTID,"",5,20,107);

		Menu4_1_1=new Array("View All Offers","/holidays/special_offers2.asp?TID=" + strTID,"",0,16,80);
			Menu4_1_2=new Array("Beach Breaks","/holidays/special_offers2.asp?TID=" + strTID,"",0,16,80);
			Menu4_1_3=new Array("City Breaks","/holidays/special_offers2.asp?TID=" + strTID,"",0);
			Menu4_1_4=new Array("Theatre Breaks","/holidays/special_offers2.asp?TID=" + strTID,"",0);
			Menu4_1_5=new Array("Hotel Breaks","/holidays/special_offers2.asp?TID=" + strTID,"",0);

	Menu4_2=new Array("Short Breaks","/holidays/special_offers2.asp?TID=" + strTID,"",0,20,107);			
	Menu4_3=new Array("Honeymoons","/holidays/honeymoon_packages_welcome.asp?TID=" + strTID,"",0,20,107);
	Menu4_4=new Array("Holiday Brochures","/holidays/brochure.asp?TID=" + strTID,"",0,20,107);

Menu5=new Array("<img src='img/h_wot.gif' alt='Travel extras welcome - offering you city guides,  currency converter, check airline timetables and flight tracker'>","/travelextras/default.asp?TID=" + strTID,"",9,19,107);
	Menu5_1=new Array("City Guides","/travelextras/guides.asp?TID=" + strTID,"",0,20,107);
	Menu5_2=new Array("Currency Converter","/travelextras/currency_con.htm?TID=" + strTID,"",0,20,107);
	Menu5_3=new Array("Airline Timetables","/travelextras/ttquery.asp?TID=" + strTID,"",0,20,107);
	Menu5_4=new Array("Flight Tracker","/tc.dll?ac=ftsub&TID=" + strTID,"",0,20,107);
	Menu5_5=new Array("Airport Parking","/travelextras/Airport_Parking.htm?TID=" + strTID,"",0,20,107);
	Menu5_6=new Array("Airport Hotels & Parking","/travelextras/Airport_hotels_and_parking.htm?TID=" + strTID,"",0,20,107);
	Menu5_7=new Array("Airport Lounge","/travelextras/Airport_lounge.htm?TID=" + strTID,"",0,20,107);
	Menu5_8=new Array("Coach","/travelextras/Coach.htm?TID=" + strTID,"",0,20,107);
	Menu5_9=new Array("Insurance","/travelextras/insurance.htm?TID=" + strTID,"",0,20,107);

Menu6=new Array("<img src='img/h_mytelme.gif' alt='My Telme.com - create a profile or edit an existing profile. View your flight bookings here'>","/tc.dll?ac=profile&lpg=logon.htm&TID=" + strTID,"",3,19,107);
	Menu6_1=new Array("Edit My Profile","/tc.dll?ac=profile&lpg=logon.htm&tid=" + strTID,"",0,20,107);
	Menu6_2=new Array("View My Bookings","/gt/viewtrip.htm?tid=" + strTID,"",0,20,107);
	Menu6_3=new Array("Create My Profile","/tc.dll?ac=profile&lpg=logon.htm&tid=" + strTID,"",0,20,107);


Menu7=new Array("<img src='img/h_contact.gif' alt='Contact us welcome - reservations, flight ticket enquires, technical support, feedback, affiliate program, ATP (UK) ltd'>","/feedback/feedback_form.asp?TID=" + strTID,"",6,19,105);
	Menu7_1=new Array("About Us","/contactus/aboutus.asp?TID=" + strTID,"",0,20,105);
	Menu7_2=new Array("ATP (UK) Ltd","http://www.atpi.com","",0,20,105);
	Menu7_3=new Array("ATP Terms & Conditions","/contactus/terms.asp?TID=" + strTID,"",0,20,105);
	Menu7_4=new Array("Accessibility","/contactus/accessibility.asp?TID=" + strTID,"",0,20,105);
	Menu7_5=new Array("Site Map","/contactus/sitemap.asp?TID=" + strTID,"",0,20,105);
    Menu7_6=new Array("Contact Us","/feedback/feedback_form.asp?TID=" + strTID,"",0,20,105);