


//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=3
oCMenu.fromLeft=5 
oCMenu.fromTop=245   
oCMenu.rows=0 
oCMenu.menuPlacement="0"
                                                             
oCMenu.offlineRoot="file:///C|/temp/TestWeb/scripts/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="Images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=5 
oCMenu.barY=245
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=160
oCMenu.level[0].height=15 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-5
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="right"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=2
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=140
oCMenu.level[1].height=15
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
oCMenu.level[1].cliptim=2
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=15
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','MACG-38 HOME','http://www.3maw.usmc.mil/macg38/default.asp','')

oCMenu.makeMenu('top1','','COMMAND ELEMENT','','')
	oCMenu.makeMenu('sub10','top1','Commanding Officer','http://www.3maw.usmc.mil/macg38/vmu1/CommandElement/cobio.asp')
	oCMenu.makeMenu('sub11','top1','Executive Officer','http://www.3maw.usmc.mil/macg38/vmu1/CommandElement/xobio.asp')
	oCMenu.makeMenu('sub12','top1','Sergeant Major','http://www.3maw.usmc.mil/macg38/vmu1/CommandElement/sgtmaj.asp')
			
oCMenu.makeMenu('top2','','VMU-1 HISTORY ','')
	oCMenu.makeMenu('sub20','top2','Introduction','http://www.3maw.usmc.mil/macg38/vmu1/history1.asp')
	oCMenu.makeMenu('sub21','top2','VMU-1 Lineage','http://www.3maw.usmc.mil/macg38/vmu1/historylineage.asp')
	oCMenu.makeMenu('sub22','top2','VMU-1 Op/Combat History','http://www.3maw.usmc.mil/macg38/vmu1/historycomhis.asp')
oCMenu.makeMenu('top3','','FAMILY READINESS','')
	oCMenu.makeMenu('sub30','top3','VMU-1 Family Readiness','http://www.3maw.usmc.mil/FamilyReadiness/macg38/VMU1FRO.asp')
	oCMenu.makeMenu('sub31','top3','3D MAW Family Readiness','http://www.3maw.usmc.mil/FamilyReadiness/home.asp')
		oCMenu.makeMenu('sub310','sub31','MWHS-3','http://www.3maw.usmc.mil/FamilyReadiness/MWHS3/MWHS3FRO.asp')
		oCMenu.makeMenu('sub311','sub31','MAG-11','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/MAG11FRO.asp')
			oCMenu.makeMenu('sub3111','sub311','VMFAT-101', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFAT101FRO.asp')
			oCMenu.makeMenu('sub3112','sub311','VMFA(AW)-121', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA121FRO.asp')
			oCMenu.makeMenu('sub3113','sub311','VMFA(AW)-225', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA225FRO.asp')
			oCMenu.makeMenu('sub3114','sub311','VMFA-232','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA232FRO.asp')
			oCMenu.makeMenu('sub3115','sub311','VMFA(AW)-242', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA242FRO.asp')
			oCMenu.makeMenu('sub3116','sub311','VMFA-314','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA314FRO.asp')
			oCMenu.makeMenu('sub3117','sub311','VMFA-323','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA323FRO.asp')
			oCMenu.makeMenu('sub3118','sub311','VMGR-352','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMGR352FRO.asp')
			oCMenu.makeMenu('sub3119','sub311','MALS-11','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/MALS11FRO.asp')
		oCMenu.makeMenu('sub312','sub31','MAG-13','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/MAG13FRO.asp')
			oCMenu.makeMenu('sub3121','sub312','VMA-211','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA211FRO.asp')
			oCMenu.makeMenu('sub3122','sub312','VMA-214','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA214FRO.asp')
			oCMenu.makeMenu('sub3123','sub312','VMA-311','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA311FRO.asp')
			oCMenu.makeMenu('sub3124','sub312','VMA-513','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA513FRO.asp')
			oCMenu.makeMenu('sub3125','sub312','MALS-13','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/MALS13FRO.asp')
		oCMenu.makeMenu('sub313','sub31','MAG-16','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/MAG16FRO.asp')
			oCMenu.makeMenu('sub3131','sub313','VMM-161','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/VMM161FRO.asp')
			oCMenu.makeMenu('sub3132','sub313','HMM-163','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM163FRO.asp')
			oCMenu.makeMenu('sub3133','sub313','HMM-165','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM165FRO.asp')
			oCMenu.makeMenu('sub3134','sub313','HMM-166','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM166FRO.asp')
			oCMenu.makeMenu('sub3135','sub313','HMH-361','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH361FRO.asp')
			oCMenu.makeMenu('sub3136','sub313','HMH-462','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH462FRO.asp')
			oCMenu.makeMenu('sub3137','sub313','HMH-465','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH465FRO.asp')
			oCMenu.makeMenu('sub3138','sub313','HMH-466','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH466FRO.asp')
			oCMenu.makeMenu('sub3139','sub313','MALS-16','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/MALS16FRO.asp')
		oCMenu.makeMenu('sub314','sub31','MAG-39','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/MAG39FRO.asp')
			oCMenu.makeMenu('sub3141','sub314','HMMT-164','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMMT164FRO.asp')
			oCMenu.makeMenu('sub3142','sub314','HMM-268','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMM268FRO.asp')
			oCMenu.makeMenu('sub3143','sub314','HMM-364','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMM364FRO.asp')
			oCMenu.makeMenu('sub3144','sub314','HMT-303','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMT303FRO.asp')
			oCMenu.makeMenu('sub3145','sub314','HMLA-169','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA169FRO.asp')
			oCMenu.makeMenu('sub3146','sub314','HMLA-267','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA267FRO.asp')
			oCMenu.makeMenu('sub3147','sub314','HMLA-367','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA367FRO.asp')
			oCMenu.makeMenu('sub3148','sub314','HMLA-369','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA369FRO.asp')
			oCMenu.makeMenu('sub3149','sub314','MALS-39','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/MALS39FRO.asp')
		oCMenu.makeMenu('sub315','sub31','MACG-38','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MACG38FRO.asp')
			oCMenu.makeMenu('sub3151','sub315','3d LAAD BN', 'http://www.3maw.usmc.mil/FamilyReadiness/MACG38/3LAADFRO.asp')
			oCMenu.makeMenu('sub3152','sub315','MTACS-38', 'http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MTACS38FRO.asp')
			oCMenu.makeMenu('sub3153','sub315','MWCS-38','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MWCS38FRO.asp')
			oCMenu.makeMenu('sub3154','sub315','MACS-1','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MACS1FRO.asp')
			oCMenu.makeMenu('sub3155','sub315','MASS-3','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MASS3FRO.asp')
			oCMenu.makeMenu('sub3156','sub315','VMU-1','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/VMU1FRO.asp')
		oCMenu.makeMenu('sub316','sub31','MWSG-37','http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSG37FRO.asp')
			oCMenu.makeMenu('sub3161','sub316','MWSS-371', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS371FRO.asp')
			oCMenu.makeMenu('sub3162','sub316','MWSS-372', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS372FRO.asp')
			oCMenu.makeMenu('sub3163','sub316','MWSS-373', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS373FRO.asp')
			oCMenu.makeMenu('sub3164','sub316','MWSS-374', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS374FRO.asp')
	oCMenu.makeMenu('sub32','top3','Family Operational Security','')
		oCMenu.makeMenu('sub320','sub32','OpSec Guidance','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/OpSec.asp')
		oCMenu.makeMenu('sub321','sub32','What Can You Do?','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/WhatCanYouDo.asp')
		oCMenu.makeMenu('sub322','sub32','Sensitive Information?','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/SensitiveInfo.asp')
//	oCMenu.makeMenu('sub33','top3','Dictaphone Instructions','http://www.3maw.usmc.mil/FamilyReadiness/Dictaphone/DictaphoneInstructions.asp')
	oCMenu.makeMenu('sub33','top3','Family Anti-Terrorism Protection','http://www.3maw.usmc.mil/FamilyReadiness/FATPG/FATPG.asp')
	

		//EDIT THESE LINES TO CREATE NEW SUBTREE
		//oCMenu.makeMenu('sub001','sub01','PlanMagic Business','http://planmagic.com/business_planning.html','',140,0)
		//oCMenu.makeMenu('sub002','sub01','PlanMagic Marketing','http://planmagic.com/marketing_planning.html','',140,0)
		//oCMenu.makeMenu('sub003','sub01','PlanMagic WebQuest Pro','http://planmagic.com/webquest.html','',140,0)
		//oCMenu.makeMenu('sub004','sub01','PlanMagic Finance Pro','http://planmagic.com/finance.html','',140,0)

oCMenu.makeMenu('top5','','VMU-1 PHOTO ALBUM','http://www.3maw.usmc.mil/FamilyReadiness/macg38/VMU1PhotoAlbum00/PhotoAlbum.asp')

oCMenu.makeMenu('top4','','HIGHER HEADQUARTERS','')
	oCMenu.makeMenu('sub41','top4','MARFORPAC','http://www.mfp.usmc.mil')
	oCMenu.makeMenu('sub42','top4','IMEF','http://www.i-mef.usmc.mil')
	oCMenu.makeMenu('sub43','top4','3D MAW','http://www.3maw.usmc.mil/')
	oCMenu.makeMenu('sub44','top4','MACG-38','http://www.3maw.usmc.mil/macg38/default.asp')
	
oCMenu.makeMenu('top6','','ADJACENT UNITS','')
	
	oCMenu.makeMenu('sub61','top6','MWCS-38','http://www.3maw.usmc.mil/macg38/mwcs38/default.asp')
	oCMenu.makeMenu('sub62','top6','MACS-1','http://www.3maw.usmc.mil/macg38/macs1/default.asp')
	oCMenu.makeMenu('sub63','top6','MASS-3','http://www.3maw.usmc.mil/macg38/mass1/default.asp')
	oCMenu.makeMenu('sub64','top6','MTACS-38','http://www.3maw.usmc.mil/macg38/mtacs38/default.asp')
    oCMenu.makeMenu('sub65','top6','3D LAAD BN','http://www.3maw.usmc.mil/macg38/3laad/default.asp')
    oCMenu.makeMenu('sub66','top6','VMU-3','http://www.3maw.usmc.mil/macg38/VMU3/default.asp')
	
		
oCMenu.makeMenu('top8','','AIR STATIONS & BASES','')
	oCMenu.makeMenu('sub81','top8','MCAS Miramar','http://www.miramar.usmc.mil')
	oCMenu.makeMenu('sub82','top8','MCAS Yuma','http://www.yuma.usmc.mil/')
	oCMenu.makeMenu('sub83','top8','MCAF Camp Pendleton','http://www.cpp.usmc.mil/mcas/')
	oCMenu.makeMenu('sub84','top8','MCB Camp Pendleton','http://www.cpp.usmc.mil/')
	oCMenu.makeMenu('sub85','top8','MCAGCC 29 Palms','http://www.29palms.usmc.mil/')

oCMenu.makeMenu('top9','','WELCOME ABOARD','http://www.3maw.usmc.mil/FamilyReadiness/macg38/vmu1welcome.asp')

//oCMenu.makeMenu('top9','','WELCOME ABOARD','')
//	oCMenu.makeMenu('sub91','top9','CO Welcome Aboard Message','http://www.3maw.usmc.mil/macg38/VMU1/docs/VMU-1 CO Welcome.pdf')
//	oCMenu.makeMenu('sub92','top9','FRO Welcome Aboard Message','http://www.3maw.usmc.mil/macg38/VMU1/docs/VMU-1 FRO Welcome.pdf')
//	oCMenu.makeMenu('sub93','top9','Welcome Aboard Package','http://www.3maw.usmc.mil/macg38/VMU1/docs/29 Palms EWAP.pdf')
//	oCMenu.makeMenu('sub94','top9','Sponsorship Request','http://www.3maw.usmc.mil/macg38/VMU1/docs/VMU-1 Web Sponsorship Request Form.pdf')
//	oCMenu.makeMenu('sub95','top9','29 Palms Activities','http://www.3maw.usmc.mil/macg38/VMU1/docs/29 Palms things to do.pdf')
	
//Leave this line - it constructs the menu
oCMenu.construct()	
