var awmMenuName='menu';
var awmLibraryBuild=770;
var awmLibraryPath='/awmdata/';
var awmImagesPath='/../images/navigation';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Chrome')>-1)?2:((nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1))));
var mpi=document.location,xt="";
var mpa=mpi.protocol+"//"+mpi.host;
var mpi=mpi.protocol+"//"+mpi.host+mpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mpi=oBC[0].href;}
while (mpi.search(/\\/)>-1) mpi=mpi.replace("\\","/");
mpi=mpi.substring(0,mpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(awmMenuName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==awmMenuName+".js"){xt=e[i].src.substring(0,e[i].src.length-awmMenuName.length-3);if (e[i].src.indexOf("://")!=-1){mpi=xt;}else{if(xt.substring(0,1)=="/")mpi=mpa+xt; else mpi+=xt;}}}}}
while (mpi.search(/\/\.\//)>-1) {mpi=mpi.replace("/./","/");}
var awmMenuPath=mpi.substring(0,mpi.length-1);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'","%27");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='KIOWEOINZWLMDKFIYGXETV';
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["butt1_home_off.gif",72,38,"butt1_home_on.gif",72,38,"seperator.gif",1,38,"butt2_abt_CIMB_off.gif",190,38,"butt2_abt_CIMB_on.gif",190,38,"sub1_arrow_off.gif",186,23,"sub1_arrow_on.gif",186,23,"butt3_our_3_pillars_off.gif",113,38,"butt3_our_3_pillars_on.gif",113,38,"sub2_arrow_off.gif",146,23,"sub2_arrow_on.gif",146,23,"butt4_grant_seekers_off.gif",126,38,"butt4_grant_seekers_on.gif",126,38];
awmCreateCSS(0,1,0,n,n,n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,1,'#009DDC',n,n,'11px Tahoma',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,1,'#009DDC',n,n,'11px Tahoma',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(1,2,1,'#009DDC',n,n,'11px Tahoma',n,'none','0','#000000','0px 0px 0px 0',0);
awmCreateCSS(0,2,1,'#009DDC',n,n,'11px Tahoma',n,'none','0','#000000','0px 0px 0px 0',0);
awmCreateCSS(0,1,0,n,'#DCDCDC',n,n,n,'solid','1','#DCDCDC',0,0);
awmCreateCSS(1,2,0,'#333333','#F4F4F4',n,'11px Tahoma',n,'none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(0,2,0,'#333333','#A8DCF0',n,'11px Tahoma',n,'none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(1,2,0,'#333333','#F4F4F4',n,'11px Tahoma',n,'none','0','#000000','3px 8px 3px 8',0);
awmCreateCSS(0,2,0,'#333333','#A8DCF0',n,'11px Tahoma',n,'none','0','#000000','3px 8px 3px 8',0);

/* read from th002_header.tsl */
//var domainurl="http://" + domainhost + "/websites/cimbfoundatio012/";
var domainurl="../";
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,10,10,0,1,0,0,0,1,n,n,100,1,0,0,0,100,-1,1,200,200,0,0,0,"0,0,0",n,n,n,n,n,n,n,n,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",0,1,1,3,3,3,n,n,n,"../index.php",n,n,n,"../index.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);

/* About CIMB Foundation */
it=s0.addItemWithImages(1,2,2,"","","","",3,4,4,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_about",n,n,n,""+domainurl+"index.php?ch=fd_about",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,1,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItem(6,7,7,"Our Charter",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_charter",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_charter",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Our Board of Trustees",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_trustee",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_trustee",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Our Donor",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_donor",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_donor",n,186,23,2,0,0);
	//it=s1.addItem(8,9,9,"Annual Reports (coming soon)",n,n,"","",n,n,n,n,n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Annual Reports",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_annual",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_annual",n,186,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Media Room",n,n,"",n,n,n,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_latest",n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_latest",n,186,23,2,5,6,6,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,2,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Latest News",n,n,"",""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_latest",n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_latest",n,0,23,2,0,0);
		//it=s2.addItem(8,9,9,"e-Newsletter (coming soon)",n,n,"","",n,n,n,n,n,0,23,2,0,0);
		//it=s2.addItem(6,7,7,"News Clippings",n,n,"",""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_clipping",n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_clipping",n,0,23,2,0,0);
		it=s2.addItem(6,7,7,"Video Clips",n,n,"",""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_video",n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_video",n,0,23,2,0,0);
		it=s2.addItem(6,7,7,"Advertisement",n,n,"",""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_advert",n,n,n,""+domainurl+"index.php?ch=fd_about_media&pg=fd_about_media_advert",n,0,23,2,0,0);

	it=s1.addItem(6,7,7,"Contact Us",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_contact",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_contact",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Fact Sheet",n,n,"",""+domainurl+"index.php?ch=fd_about&pg=fd_about_fact",n,n,n,""+domainurl+"index.php?ch=fd_about&pg=fd_about_fact",n,186,23,2,0,0);
/* About CIMB Foundation */
it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);

/* "Our 3 Pillars" start */
it=s0.addItemWithImages(1,2,2,"","","","",7,8,8,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_pillar",n,n,n,""+domainurl+"index.php?ch=fd_pillar",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,3,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItemWithImages(6,7,7,"Community Development",n,n,"",n,n,n,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_pillar_comm&pg=fd_pillar_comm_intro",n,n,n,""+domainurl+"index.php?ch=fd_pillar_comm&pg=fd_pillar_comm_intro",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,4,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"",""+domainurl+"index.php?ch=fd_pillar_comm&pg=fd_pillar_comm_showcase",n,n,n,""+domainurl+"index.php?ch=fd_pillar_comm&pg=fd_pillar_comm_showcase",n,0,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Sports",n,n,"",n,n,n,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_pillar_sport&pg=fd_pillar_sport_intro",n,n,n,""+domainurl+"index.php?ch=fd_pillar_sport&pg=fd_pillar_sport_intro",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,5,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"",""+domainurl+"index.php?ch=fd_pillar_sport&pg=fd_pillar_sport_showcase",n,n,n,""+domainurl+"index.php?ch=fd_pillar_sport&pg=fd_pillar_sport_showcase",n,0,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Education",n,n,"",n,n,n,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_pillar_edu&pg=fd_pillar_edu_intro",n,n,n,""+domainurl+"index.php?ch=fd_pillar_edu&pg=fd_pillar_edu_intro",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,6,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"",""+domainurl+"index.php?ch=fd_pillar_edu&pg=fd_pillar_edu_showcase",n,n,n,""+domainurl+"index.php?ch=fd_pillar_edu&pg=fd_pillar_edu_showcase",n,0,23,2,0,0);
/* "Our 3 Pillars" end */
it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);

/* "Grant Seekers" start */
it=s0.addItemWithImages(1,2,2,"","","","",11,12,12,3,3,3,n,n,n,""+domainurl+"index.php?ch=fd_grant",n,n,n,""+domainurl+"index.php?ch=fd_grant",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,7,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItem(6,7,7,"FAQs",n,n,"",""+domainurl+"index.php?ch=fd_grant&pg=fd_grant_faq",n,n,n,""+domainurl+"index.php?ch=fd_grant&pg=fd_grant_faq",n,186,23,2,0,0);
	//it=s1.addItem(8,9,9,"What Our Beneficiaries Say (coming soon)",n,n,"","",n,n,n,n,n,186,23,2,0,0);
	//it=s1.addItem(6,7,7,"Our Beneficiaries",n,n,"",""+domainurl+"index.php?ch=fd_grant_bene",n,n,n,""+domainurl+"index.php?ch=fd_grant_bene",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Sign-Up Form",n,n,"",""+domainurl+"index.php?ch=fd_grant&pg=fd_grant_signup",n,n,n,""+domainurl+"index.php?ch=fd_grant&pg=fd_grant_signup",n,186,23,2,0,0);
/* "Grant Seekers" end */

s0.pm.buildMenu();


/* Origin menu creation - working  */
/*
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,10,10,0,1,0,0,0,1,n,n,100,1,0,0,0,100,-1,1,200,200,0,0,0,"0,0,0",n,n,n,n,n,n,n,n,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",0,1,1,3,3,3,n,n,n,"../index.php",n,n,n,"../index.php",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);

it=s0.addItemWithImages(1,2,2,"","","","",3,4,4,3,3,3,n,n,n,"../about_CIMB.html",n,n,n,"../about_CIMB.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,1,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItem(6,7,7,"Our Charter",n,n,"","../our_charter.html",n,n,n,"../our_charter.html",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Our Board of Trustees",n,n,"","../our_board_of_trustee.html",n,n,n,"../our_board_of_trustee.html",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Our Donor",n,n,"","../our_donor.html",n,n,n,"../our_donor.html",n,186,23,2,0,0);
	it=s1.addItem(8,9,9,"Annual Reports (coming soon)",n,n,"","",n,n,n,n,n,186,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Media Room",n,n,"",n,n,n,3,3,3,n,n,n,"../latest_news.html",n,n,n,"../latest_news.html",n,186,23,2,5,6,6,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,2,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Latest News",n,n,"","../latest_news.html",n,n,n,"../latest_news.html",n,0,23,2,0,0);
		it=s2.addItem(8,9,9,"e-Newsletter (coming soon)",n,n,"","",n,n,n,n,n,0,23,2,0,0);
		it=s2.addItem(6,7,7,"News Clippings",n,n,"","../news_clippings.html",n,n,n,"../news_clippings.html",n,0,23,2,0,0);
		it=s2.addItem(6,7,7,"Video Clips",n,n,"","../video_clips.html",n,n,n,"../video_clips.html",n,0,23,2,0,0);
		it=s2.addItem(6,7,7,"Advertisement",n,n,"","../advertisement.html",n,n,n,"../advertisement.html",n,0,23,2,0,0);
	it=s1.addItem(6,7,7,"Contact Us",n,n,"","../contact_us.html",n,n,n,"../contact_us.html",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Fact Sheet",n,n,"","../fact_sheet.html",n,n,n,"../fact_sheet.html",n,186,23,2,0,0);

it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(1,2,2,"","","","",7,8,8,3,3,3,n,n,n,"../our_3_pillars.html",n,n,n,"../our_3_pillars.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,3,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItemWithImages(6,7,7,"Community Development",n,n,"",n,n,n,3,3,3,n,n,n,"../community_development.html",n,n,n,"../community_development.html",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,4,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"","../proj_showcase_community.html",n,n,n,"../proj_showcase_community.html",n,0,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Sports",n,n,"",n,n,n,3,3,3,n,n,n,"../sports.html",n,n,n,"../sports.html",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,5,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"","../proj_showcase_sports.html",n,n,n,"../proj_showcase_sports.html",n,0,23,2,0,0);
	it=s1.addItemWithImages(6,7,7,"Education",n,n,"",n,n,n,3,3,3,n,n,n,"../education.html",n,n,n,"../education.html",n,146,23,2,9,10,10,n,n,n,0,0,0,0,0,n,n,n);
		var s2=it.addSubmenu(0,0,0,2,1,0,0,5,1,1,0,n,n,100,-1,6,0,-1,1,200,200,2,1,"0,0,0",1);
		it=s2.addItem(6,7,7,"Project Showcase",n,n,"","../proj_showcase_education.html",n,n,n,"../proj_showcase_education.html",n,0,23,2,0,0);

it=s0.addItemWithImages(3,4,4,"","|","|","",2,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
it=s0.addItemWithImages(1,2,2,"","","","",11,12,12,3,3,3,n,n,n,"../grant_seekers.html",n,n,n,"../grant_seekers.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
	var s1=it.addSubmenu(0,0,0,2,3,0,0,5,1,1,0,n,n,100,1,7,0,-1,1,200,200,2,3,"0,0,0",1);
	it=s1.addItem(6,7,7,"FAQs",n,n,"","../faqs.html",n,n,n,"../faqs.html",n,186,23,2,0,0);
	it=s1.addItem(8,9,9,"What Our Beneficiaries Say (coming soon)",n,n,"","",n,n,n,n,n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Our Beneficiaries",n,n,"","../our_beneficiaries.html",n,n,n,"../our_beneficiaries.html",n,186,23,2,0,0);
	it=s1.addItem(6,7,7,"Sign-Up Form",n,n,"","../sign_up.html",n,n,n,"../sign_up.html",n,186,23,2,0,0);
s0.pm.buildMenu();
*/


}}
