/*
 Milonic DHTML Website Navigation Menu - Version 3.x
 REGISTRED: 190346-www.grandaire.com

 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

/**************************************************/
/* Author: Chris Rogers                           */
/* Date: 9/24/03                                  */
/* Purpose: Grand Aire Homepage code.             */
/* PROPERTY OF GRAND AIRE, INC.                   */
/**************************************************/

window.status = "Loading Menu..Please Wait..."

function refresh()
{
location.reload()
}

function playsound()
{
	_d.embeds[0].stop();
	_d.embeds[0].play()
}



function off_Func()
{
	
}


function on_Func()
{
	playsound()
}

function on_mousecargo()
{ 
	on_Func()
	if (document.images){
		document.cargopic.width="125" 
		document.cargopic.height="94"
		document.cargopic.src = "GAI_Images/cargofalcon-1b_GY.jpg"
		}
	else {
		document.cargopic = ""
		}
}		

function off_mousecargo()
{ 
	off_Func()
	if (document.images){
		document.cargopic.width="125" 
		document.cargopic.height="94"
		document.cargopic.src = "GAI_Images/cargofalcon-2.jpg"
		}
	else {
		document.cargopic = ""
		}
}	
	
function on_mouseexec()
{ 
	on_Func()
	if (document.images){
		document.execpic.width="125" 
		document.execpic.height="94"
		document.execpic.src = "GAI_Images/paxseat-1a_GY.jpg"
		}
	else {
		document.execpic = ""
		}
}		

function off_mouseexec()
{ 
	off_Func()
	if (document.images){
		document.execpic.width="125" 
		document.execpic.height="94"
		document.execpic.src = "GAI_Images/paxseat-2.jpg"
		}
	else {
		document.execpic = ""
		}
}		

function on_mousetriptracker()
{ 
	on_Func()
	if (document.images){
		document.triptracker.width="100" 
		document.triptracker.height="21"
		document.triptracker.src = "GAI_Images/triptracker_pic_HL.gif"
		}
	else {
		document.triptracker = ""
		}
}		

function off_mousetriptracker()
{ 
	off_Func()
	if (document.images){
		document.triptracker.width="100" 
		document.triptracker.height="21"
		document.triptracker.src = "GAI_Images/triptracker_pic.gif"
		}
	else {
		document.triptracker = ""
		}
}		

function on_mouseacservice()
{ 
	on_Func()
	if (document.images){
		document.acspic.width="125" 
		document.acspic.height="94"
		document.acspic.src = "GAI_Images/AC_Services-2c_GY-a.jpg"
		}
	else {
		document.acspic = ""
		}
}		

function off_mouseacservice()
{ 
	off_Func()
	if (document.images){
		document.acspic.width="125" 
		document.acspic.height="94"
		document.acspic.src = "GAI_Images/AC_Services-2c-a.jpg"
		}
	else {
		document.acspic = ""
		}
}		

function on_mouseairebuy()
{ 
	on_Func()
	if (document.images){
		document.airebuypic.width="125" 
		document.airebuypic.height="94"
		document.airebuypic.src = "GAI_Images/airebuy-1a_GY.gif"
		}
	else {
		document.airebuypic = ""
		}
}		

function off_mouseairebuy()
{ 
	off_Func()
	if (document.images){
		document.airebuypic.width="125" 
		document.airebuypic.height="94"
		document.airebuypic.src = "GAI_Images/airebuy-1a.gif"
		}
	else {
		document.airebuypic = ""
		}
}		

function on_mouseaboutus()
{ 
	on_Func()
	if (document.images){
		document.aboutpic.width="125" 
		document.aboutpic.height="94"
		document.aboutpic.src = "GAI_Images/about_us-1c_GY.gif"
		}
	else {
		document.aboutpic = ""
		}
}		

function off_mouseaboutus()
{ 
	off_Func()
	if (document.images){
		document.aboutpic.width="125" 
		document.aboutpic.height="94"
		document.aboutpic.src = "GAI_Images/about_us-1c.gif"
		}
	else {
		document.aboutpic = ""
		}
}		

/**************************************************/

//**To position Menu**//
menu_top=81
menu_left=DocLeftMod+4
//*********************//

/***********************************/
/*****Begining of purchased code****/
/***********************************/
// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=80);Shadow(color='#777777', Direction=135, Strength=5)" //88


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"595959",				// Mouse Off Font Color "navy",
"E4E4E4",			// Mouse Off Background Color "ccccff","C2C1C1","E4E4E4"
"ffebdc",			// Mouse On Font Color
"000000",			// Mouse On Background Color "4b0082",
"000000",			// Menu Border Color 
18,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
0,					// Menu Item Padding 4
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar 5
"ffebdc",			// 3D High Color "66ffff",
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"pink",				// Current Page Item Background Color (leave this blank to disable) "pink"
"",		// Top Bar image (Leave this blank to disable) http://www.grandaire.com/blackbird/images/cargo.gif
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"navy",				// Menu Item Separator Color
]

style2=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"595959",				// Mouse Off Font Color "navy",
"E4E4E4",			// Mouse Off Background Color "ccccff","C2C1C1","E4E4E4"
"A10000",			// Mouse On Font Color
"DCDCDC",			// Mouse On Background Color "4b0082",
"000000",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding 4
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar 5
"ffebdc",			// 3D High Color "66ffff",
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"",				// Current Page Item Background Color (leave this blank to disable) "pink"
"",		// Top Bar image (Leave this blank to disable) http://www.grandaire.com/blackbird/images/cargo.gif
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"navy",				// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
menu_top,					// Menu Top - The Top position of the menu in pixels 20
menu_left,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" 
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"<img src=/GAI_Images/cargo.gif border=0>","show-menu=cargo",,"",0 //"CARGO&nbsp;&nbsp;"
,"<img src=/GAI_Images/executive.gif border=0>","show-menu=EXECUTIVEPASSENGER",,"",0 //EXECUTIVE&nbsp;PASSENGER&nbsp;&nbsp
,"<img src=/GAI_Images/triptracker.gif border=0>","TripTracker.htm",,"",0 
,"<img src=/GAI_Images/aircraftservices.gif border=0>","show-menu=AIRCRAFTSERVICES",,"",0 //"AIRCRAFT&nbsp;SERVICES&nbsp;&nbsp;"
,"<img src=/GAI_Images/airebuy.gif border=0>","AireBuy.htm onfunction=on_mouseairebuy();offfunction=off_mouseairebuy();",,"",0 ,"<img src=/GAI_Images/aboutus.gif border=0>","show-menu=ABOUTUS",,"",0 //"ABOUT&nbsp;US&nbsp;&nbsp;"
])

	addmenu(menu=["CARGO",
	,,120,1,"",style2,,"center:top",effect,,,,,,,,,,,,
	,"Services","Cargo_Services.htm onfunction=on_mousecargo();offfunction=off_mousecargo();",,,1
	,"Carrier Network","Cargo_CarrierNetwork.htm onfunction=on_mousecargo();offfunction=off_mousecargo();",,,1 	])

	addmenu(menu=["EXECUTIVEPASSENGER",
	,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Services","PAX_Services.htm onfunction=on_mouseexec();offfunction=off_mouseexec();",,,1 //http://www.grandaire.com swapimage=GAI_Images/GA_logob.gif
	,"Carrier Network","PAX_CarrierNetwork.htm onfunction=on_mouseexec();offfunction=off_mouseexec();",,,1
	])
		
	addmenu(menu=["AIRCRAFTSERVICES",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Fixed Base Operations","AcSrv_FBO.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
	,"Aircraft Management","AcSrv_AircraftManagement.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
	,"Parts Sales","AcSrv_PartSales.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
//	,"Engine Overhaul","AcSrv_EngineOverhauls.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
//	,"Avionics","AcSrv_Avionics.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
	,"Phase & Squawk","AcSrv_PhaseandSquawk.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
	,"Flight School", "AcSrv_FlightSchool.htm onfunction=on_mouseacservice();offfunction=off_mouseacservice();",,,1
	])
	
	addmenu(menu=["ABOUTUS",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Career Opportunities","AbtUs_jobopportunities.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
	,"Company Profile","AbtUs_CompanyProfile.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
//	,"Company News","AbtUs_CompanyNews.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
	,"Contact Us","AbtUs_ContactInfo.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
	,"FAQ's","AbtUs_FAQs.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
	,"Visit Home Page","index.htm onfunction=on_mouseaboutus();offfunction=off_mouseaboutus();",,,1
	])

//	addmenu(menu=["OTHER",,,140,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
//	,"Menu Authors Site","http://www.milonic.co.uk/menu/",,"Milonic DHTML Menu Site",1
//	])
	
dumpmenus()
window.status = ""
