


//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','','VMA-311 HOME','http://www.3maw.usmc.mil/MAG13/VMA311/default.asp','')

oCMenu.makeMenu('top1','','COMMAND ELEMENT','','')
	oCMenu.makeMenu('sub10','top1','Commanding Officer','http://www.3maw.usmc.mil/MAG13/VMA311/CommandElement/cobio.asp')
	oCMenu.makeMenu('sub11','top1','Executive Officer','http://www.3maw.usmc.mil/MAG13/VMA311/CommandElement/xobio.asp')
	oCMenu.makeMenu('sub12','top1','Sergeant Major','http://www.3maw.usmc.mil/MAG13/VMA311/CommandElement/sgtmaj.asp')
			
oCMenu.makeMenu('top2','','VMA-311 HISTORY','http://www.3maw.usmc.mil/MAG13/VMA311/history.asp')
oCMenu.makeMenu('top3','','VMA-311 STREAMERS','http://www.3maw.usmc.mil/MAG13/VMA311/streamers.asp')
oCMenu.makeMenu('top10','','FAMILY READINESS','')
	oCMenu.makeMenu('sub100','top10','VMA-311 Family Readiness','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA311FRO.asp')
	oCMenu.makeMenu('sub101','top10','3D MAW Family Readiness','http://www.3maw.usmc.mil/FamilyReadiness/home.asp')
		oCMenu.makeMenu('sub1010','sub101','MWHS-3','http://www.3maw.usmc.mil/FamilyReadiness/MWHS3/MWHS3FRO.asp')
		oCMenu.makeMenu('sub1011','sub101','MAG-11','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/MAG11FRO.asp')
			oCMenu.makeMenu('sub10111','sub1011','VMFA(T)-101', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFAT101FRO.asp')
			oCMenu.makeMenu('sub10112','sub1011','VMFA(AW)-121', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA121FRO.asp')
			oCMenu.makeMenu('sub10113','sub1011','VMFA(AW)-225',
'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA225FRO.asp')
			oCMenu.makeMenu('sub10114','sub1011','VMFA-232','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA232FRO.asp')
			oCMenu.makeMenu('sub10115','sub1011','VMFA(AW)-242', 'http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA242FRO.asp')
			oCMenu.makeMenu('sub10116','sub1011','VMFA-314','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA314FRO.asp')
			oCMenu.makeMenu('sub10117','sub1011','VMFA-323','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMFA323FRO.asp')
			oCMenu.makeMenu('sub10118','sub1011','VMGR-352','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/VMGR352FRO.asp')
			oCMenu.makeMenu('sub10119','sub1011','MALS-11','http://www.3maw.usmc.mil/FamilyReadiness/MAG11/MALS11FRO.asp')
		oCMenu.makeMenu('sub1012','sub101','MAG-13','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/MAG13FRO.asp')
			oCMenu.makeMenu('sub10121','sub1012','VMA-211','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA211FRO.asp')
			oCMenu.makeMenu('sub10122','sub1012','VMA-214','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA214FRO.asp')
			oCMenu.makeMenu('sub10123','sub1012','VMA-311','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA311FRO.asp')
			oCMenu.makeMenu('sub10124','sub1012','VMA-513','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/VMA513FRO.asp')
			oCMenu.makeMenu('sub10125','sub1012','MALS-13','http://www.3maw.usmc.mil/FamilyReadiness/MAG13/MALS13FRO.asp')
		oCMenu.makeMenu('sub1013','sub101','MAG-16','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/MAG16FRO.asp')
			oCMenu.makeMenu('sub10131','sub1013','VMM-161','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/VMM161FRO.asp')
			oCMenu.makeMenu('sub10132','sub1013','HMM-163','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM163FRO.asp')
			oCMenu.makeMenu('sub10133','sub1013','HMM-165','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM165FRO.asp')
			oCMenu.makeMenu('sub10134','sub1013','HMM-166','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMM166FRO.asp')
			oCMenu.makeMenu('sub10135','sub1013','HMH-361','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH361FRO.asp')
			oCMenu.makeMenu('sub10136','sub1013','HMH-462','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH462FRO.asp')
			oCMenu.makeMenu('sub10137','sub1013','HMH-465','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH465FRO.asp')
			oCMenu.makeMenu('sub10138','sub1013','HMH-466','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/HMH466FRO.asp')
			oCMenu.makeMenu('sub10139','sub1013','MALS-16','http://www.3maw.usmc.mil/FamilyReadiness/MAG16/MALS16FRO.asp')
		oCMenu.makeMenu('sub1014','sub101','MAG-39','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/MAG39FRO.asp')
			oCMenu.makeMenu('sub10141','sub1014','HMMT-164','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMMT164FRO.asp')
			oCMenu.makeMenu('sub10142','sub1014','HMM-268','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMM268FRO.asp')
			oCMenu.makeMenu('sub10143','sub1014','HMM-364','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMM364FRO.asp')
			oCMenu.makeMenu('sub10144','sub1014','HMT-303','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMT303FRO.asp')
			oCMenu.makeMenu('sub10145','sub1014','HMLA-169','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA169FRO.asp')
			oCMenu.makeMenu('sub10146','sub1014','HMLA-267','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA267FRO.asp')
			oCMenu.makeMenu('sub10147','sub1014','HMLA-367','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA367FRO.asp')
			oCMenu.makeMenu('sub10148','sub1014','HMLA-369','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA369FRO.asp')
			oCMenu.makeMenu('sub10149','sub1014','HMLA-469','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/HMLA469FRO.asp')
			oCMenu.makeMenu('sub10150','sub1014','MALS-39','http://www.3maw.usmc.mil/FamilyReadiness/MAG39/MALS39FRO.asp')
		oCMenu.makeMenu('sub1015','sub101','MACG-38','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MACG38FRO.asp')
			oCMenu.makeMenu('sub10151','sub1015','3d LAAD BN', 'http://www.3maw.usmc.mil/FamilyReadiness/MACG38/3LAADFRO.asp')
			oCMenu.makeMenu('sub10152','sub1015','MTACS-38', 'http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MTACS38FRO.asp')
			oCMenu.makeMenu('sub10153','sub1015','MWCS-38','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MWCS38FRO.asp')
			oCMenu.makeMenu('sub10154','sub1015','MACS-1','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MACS1FRO.asp')
			oCMenu.makeMenu('sub10155','sub1015','MASS-3','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/MASS3FRO.asp')
			oCMenu.makeMenu('sub10156','sub1015','VMU-1','http://www.3maw.usmc.mil/FamilyReadiness/MACG38/VMU1FRO.asp')
		oCMenu.makeMenu('sub1016','sub101','MWSG-37','http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSG37FRO.asp')
			oCMenu.makeMenu('sub10161','sub1016','MWSS-371', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS371FRO.asp')
			oCMenu.makeMenu('sub10162','sub1016','MWSS-372', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS372FRO.asp')
			oCMenu.makeMenu('sub10163','sub1016','MWSS-373', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS373FRO.asp')
			oCMenu.makeMenu('sub10164','sub1016','MWSS-374', 'http://www.3maw.usmc.mil/FamilyReadiness/MWSG37/MWSS374FRO.asp')
	oCMenu.makeMenu('sub102','top10','Family Operational Security','')
		oCMenu.makeMenu('sub1021','sub102','OpSec Guidance','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/OpSec.asp')
		oCMenu.makeMenu('sub1022','sub102','What Can You Do?','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/WhatCanYouDo.asp')
		oCMenu.makeMenu('sub1023','sub102','Sensitive Information?','http://www.3maw.usmc.mil/FamilyReadiness/OpSec/SensitiveInfo.asp')
//	oCMenu.makeMenu('sub103','top10','Dictaphone Instructions','http://www.3maw.usmc.mil/FamilyReadiness/Dictaphone/DictaphoneInstructions.asp')
	oCMenu.makeMenu('sub103','top10','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','','VMA-311 PHOTO ALBUM','http://www.3maw.usmc.mil/FamilyReadiness/mag13/vma311PhotoAlbum/PhotoAlbum.asp')

oCMenu.makeMenu('top6','','HIGHER HEADQUARTERS','')
	oCMenu.makeMenu('sub61','top6','MARFORPAC','http://www.mfp.usmc.mil')
	oCMenu.makeMenu('sub62','top6','IMEF','http://www.i-mef.usmc.mil')
	oCMenu.makeMenu('sub63','top6','3D MAW','http://www.3maw.usmc.mil/')
	oCMenu.makeMenu('sub64','top6','MAG-13','http://www.3maw.usmc.mil/mag13/default.asp')
	
oCMenu.makeMenu('top7','','ADJACENT UNITS','')
	oCMenu.makeMenu('sub71','top7','MALS-13','http://www.3maw.usmc.mil/mag13/mals13/default.asp')
	oCMenu.makeMenu('sub72','top7','VMA-214','http://www.3maw.usmc.mil/mag13/vma214/default.asp')
	oCMenu.makeMenu('sub73','top7','VMA-211','http://www.3maw.usmc.mil/mag13/vma211/default.asp')
	oCMenu.makeMenu('sub74','top7','VMA-513','http://www.3maw.usmc.mil/mag13/vma513/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','','MCAS YUMA JOINT LAW CNTR','http://www.yuma.usmc.mil/Services/legal/default.htm')

//oCMenu.makeMenu('top4','','Help','')
//	oCMenu.makeMenu('sub41','top4','Alphabetized Unit Listing','http://www.3maw.usmc.mil/help/alphaListing.asp')

//Leave this line - it constructs the menu
oCMenu.construct()	
