

 function showDropDowns(){
	if(menus==null)menus=navigator.menus;
	newMenu('leo',1,20,mTop,200,7,new Array(
		"Basic Information","fact1.html",		
                "Fact Sheet","FactSheet.jpg",
		"Annual Report - Sept '05 Financials","AsiaTravel_Final 05.pdf",
		"Annual Report - Sept '04 Financials","AsiaTravel_Final 04.pdf",
		"Annual Report - Sept '03 Financials","Annual Report 2003.pdf",
                "Annual Report - Sept '02 Financials","Annual-Report-Sept'02Financials.pdf",
                "Annual Report - Sept '02 Operations","Annual-Report-Sept'02Operations.pdf",
		"Annual Report - Sept '01 Financials","Annual-Report-Sept'01Financials.pdf",
                "Annual Report - Sept '01 Operations","Annual-Report-Sept'01Operations.pdf",
                "Prospectus</u>","Prospectus.pdf"));
	newMenu('leo2',2,93,mTop,165,6,new Array(
                "Asia Travel's Businesses","fact2.html",
		"Business Model (Diagram)","fact3.html",
		"Our Future","fact6.html",
		"Mission","fact9.html")),
	newMenu('leo4',3,202,mTop,440,10,new Array(
		"Press Release - Half Year '04 Financial Statement and Dividend Announcement", "Mar 04 Half Yr FS.pdf",
		"Press Release - Half Year '04 Announcements", "Mar 04 Interim Net Earnings.pdf",
		"Press Release - Full Year 2003 Financial Results & Dividend Announcement","Full Year 2003 Financial Results & Dividend Announcement.pdf",
                "First Quarter 2003 Financial Statement Announcement","1Q-Results (Final)1.pdf",
		"FY2002 Financial Statement And Dividend Announcement","newsrelease15.html",
		"Half Year 2002 Financial Statement And Dividend Announcement","newsrelease9.html"));
	newMenu('leo5',5,325,mTop,215,3,new Array(
		"ATRN Awards, Singapore","ATRNAwards.pdf",
		"Hotel Phoenix, Singapore","letter3.html",
		"Meritus Negara, Singapore","letter7.html",
                "Orchard Hotel, Singapore","letter8.html",
                "Westin, Singapore","letter10.html",
                "Summer View Hotel, Singapore","letter2.html",
                "YMCA, Singapore","letter1.html",
                "Federal Hotel, Kuala Lumpur, Malaysia","letter5.html",
                "Hotel Fairlane, Kuala Lumpur, Malaysia","letter4.html",
                "Century Malaysia","award2.html",
		"Riviera Bay Resort, Malacca, Malaysia","award1.html"));
	       
	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>");
	}
}

