/* The Menu
 * by Armand Vogt,01/2000
 * Copyright(c)2000 Astrolite Inc.
 */
 function showDropDowns(){
	if(menus==null)menus=navigator.menus;
	newMenu('ownerMenu',2,93,mTop,225,6,new Array(
		"Long Range Aircraft","http://aerotaxi.net/fleetLR.html",
		"Medium Range Aircraft"," http://aerotaxi.net/fleetMR.html",
  		"Short Range Aircraft","http://aerotaxi.net/fleetSR.html",
		"Personal & On-demand Aircraft"," http://aerotaxi.net/fleetPA.html "));
	newMenu('storyMenu',3,198,mTop,193,5,new Array(
		"Customer Focused","http://aerotaxi.net/story/customerfocused/index.html#",
		"Milestones","http://aerotaxi.net/story/milestones/index.html#",
		"21st Century Program","http://aerotaxi.net/story/21century.html#",
		"Doing Business With Aerotaxi NET","http://aerotaxi.net/story/dobusiness.html#"));
	newMenu('newsMenu',4,280,mTop,173,4,new Array(
		"News Releases","http://www.aerotaxi.net/cgi-bin/inthenews.pl",
		"Current Events","http://aerotaxi.net/cgi-bin/currentevents.pl",
		"Aerotaxi Emedia","http://aerotaxi.net/news/mediarelations.html"));
	newMenu('learnMenu',5,354,mTop,173,3,new Array(
		"Availability Search Engine","http://aerotaxi.net/search.html",
		"Contact Us","http://aerotaxi.net/contactus.html"));
	newMenu('jobMenu',6,434,mTop,193,2,new Array(
		"Services & Product Support","http://services.aerotaxi.net/",
		"Product Registration","http://services.aerotaxi.net/partners/product/registration.html",
		"Login To Partner Services","http://aerotaxi.net/partaccess.html",
		"Services Subscription Information","http://services.aerotaxi.net/partners/product/support.html",
		"Contact Us","http://info.aerotaxi.net/"));
	document.close();
}
function newMenu(mName,mNum,mL,mTop,mWid,zInd,rows,hasKids){
	menus[menus.length]=mName;eNum = 1;
	if (is_nav) {
		document.writeln('<layer id="'+mName+'" left="'+mL+'" top="'+mTop+'" width="'+(mWid+2)+'" height="'+(rows.length/2*lineHigh+2)+'" z-index="'+zInd+'" visibility="hide" bgcolor="#000000" class="nn">');
		while(eNum<=(rows.length/2)){
			document.writeln("<layer id='m"+mNum+"i"+eNum+"' width='"+mWid+"' height='"+lineHigh+"' "+(eNum==1?"bgcolor='#999999'":"background='/common_graphics/nn_dd_bg.gif'")+" left='1' top='"+((eNum-1)*lineHigh+1)+"' visibility='inherit'><TABLE width='100%' border='0' cellspacing='0' cellpadding='0'><TR><TD><a class='nn' href=\""+rows[(eNum-1)*2+1]+"\">"+rows[(eNum-1)*2]+"</a></TD>"+(hasKids?"<TD align='right'><div class='c'>&gt;&gt;&nbsp;</div></TD>":"")+"</TR></TABLE></layer>");
			eNum++;
		}
		document.writeln("</layer>");
	}
	else {
		document.writeln("<div class=\"main\" id=\""+mName+"\" style=\"width:"+mWid+"px;height:"+(rows.length/2*lineHigh+2)+"px;z-index:"+zInd+";left:"+mL+"px;top:"+mTop+"px\">");
		  mWid=mWid-2;
		  while(eNum<=(rows.length/2)){
			document.writeln("<span id=\"m"+mNum+"i"+eNum+"\" class=\"elb\" style=\"width:"+mWid+"px;top:"+((eNum-1)*lineHigh)+(eNum==1?";border-top-width:0px":"")+"\"><TABLE class='F' width='100%' border='0' cellspacing='0' cellpadding='0'><TR><TD><a class=\"m\" href=\""+rows[(eNum-1)*2+1]+"\">"+rows[(eNum-1)*2]+"</a></TD>"+(hasKids?"<TD align='right'><div class='c'>&gt;&gt;&nbsp;</div></TD>":"")+"</TR></TABLE></span>");
			eNum++;
		  }
		document.writeln("</div>");
	}
}
function newSubMenu(pmNum,elementNum,mL,mtIndex,mWid,zInd,rows){
	mName ="m"+pmNum+"i"+elementNum;
	eNum = 1;
	if (is_nav) {
		document.writeln('<layer id="'+mName+'sub" left="'+mL+'" top="'+(mtIndex+((elementNum-1)*lineHigh))+'" width="'+(mWid+2)+'" height="'+(rows.length/2*lineHigh+2)+'" z-index="'+zInd+'" visibility="hide" bgcolor="#000000" class="nn">');
		while(eNum<=(rows.length/2)){
			document.writeln("<layer id='"+mName+"s"+eNum+"' width='"+mWid+"' left='1' top='"+((eNum-1)*lineHigh+1)+"' visibility='inherit' height='"+lineHigh+"' "+(eNum==1?"bgcolor='#666666'":"background='/common_graphics/nn_dd_sub_bg.gif'")+"><a class='nn' href='"+rows[(eNum-1)*2+1]+"'>"+rows[(eNum-1)*2]+"</a></layer>");
			eNum++;
		}
		document.writeln("</layer>");
	}
	else{
		document.writeln("<div class=\"main\" id=\""+mName+"sub\" style=\"width:"+mWid+"px;height:"+(rows.length/2*lineHigh+2)+"px;z-index:"+zInd+";left:"+mL+"px;top:"+(mtIndex+((elementNum-1)*lineHigh))+"px\">");
		mWid=mWid-2;
		while(eNum<=(rows.length/2)){
			document.writeln("<span id=\""+mName+"s"+eNum+"\" class=\"selb\" style=\"width:"+mWid+"px;top:"+((eNum-1)*lineHigh)+(eNum==1?";border-top-width:0px":"")+"\"><TABLE class='F' width='100%' border='0' cellspacing='0' cellpadding='0'><TR><TD><a class=\"m\" href=\""+rows[(eNum-1)*2+1]+"\">"+rows[(eNum-1)*2]+"</a></TD></TR></TABLE></span>");
			eNum++;
		}
		document.writeln("</div>");
	}
}
