//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
//menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above 
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#007ac2', Direction=0, Strength=0)"
}
else
{
	effect = "Shadow(color='#777777', Direction=0, Strength=0)" // Stop IE5.5 bug when using more than one filter
}


timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",					// Mouse Off Font Color
"",					// Mouse Off Background Color
"#FFFF33",				// Mouse On Font Color
"navy",				// Mouse On Background Color
"",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
6,						// Menu Item Padding
"/blocks/block0/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
0,						// 3D Border & Separator bar
"",				// 3D High Color
"",				// 3D Low Color
"",				// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
"",				// Menu Header Font Color (Leave blank if headers are not needed)
"",				// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
147,					// Menu Top - The Top position of the menu in pixels
0,					// Menu Left - The Left position of the menu in pixels
150,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Air Combat Training","show-menu=act","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/index.html","Air Combat Training",1
,"Ground<br>Combat Training","show-menu=gct","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/index.html","Ground Combat Training",1
,"MILES Products","show-menu=miles","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/index.html","MILES_Products",1
,"Joint, Collective &amp; Mobile Training","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Jnt_Coll_&_Moble_Trng/index.html",,"Joint,  Collective and Mobile Training",1
,"Combat Training Systems Home","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/index.html",,"Combat Training System Home",1
])

	addmenu(menu=["act",
	,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Components/Technologies","show-menu=ctes","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/Components/index_acmi_components.html","Components/Technologies",1
	,"ACMI Programs","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/acmi_prog.html",,"ACMI Programs",1
	,"Enhancements","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/acmi_enhance.html",,"Enhancements",1
	,"Rangeless ACMI Training","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/rngls_acmi.html",,"Rangeless ACMI Training",1
	])

		addmenu(menu=["ctes",
		,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"ICADS Debriefing","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/Components/ICADS/index_ICADS.html",,"ICADS Debriefing",1
		,"Instumentation Pods","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Air_Cmbt_Trng/Components/pods.html",,"Instumentation Pods",1
		])
		addmenu(menu=["gct",
		,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Urban Operations Training","/cda1/pdf/2008_june/9836Urban_Operations.pdf",,"Urban Operations Training",1
		,"Homestation/Deployable Training","/cda1/pdf/2008_june/IHITS.pdf",,"Homestation/Deployable Training",1
		,"Precision Gunnery Training","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/Precision_Cmbt_Trng/index_precision_cmbt_trng_sys.html",,"Precision Gunnery Training",1
		])
				addmenu(menu=["cote",
				,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Exercise Control/AARs","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/Components/exer_cntrl_AARs.html",,"Exercise Control/AARs",1
				,"Digital Communications Network","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/Components/dgtl_COMMS_ntwrk.html",,"Digital Communications Network",1
				,"Instrumentation Equipment","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/Components/Instru_equip2.html",,"Instrumentation Equipment",1
				])

				addmenu(menu=["m2000",
				,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Components/AARs","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/MILES_2000/Components_AARS/index_MILES_components.html",,"Components/AARs",1
				,"Field&nbsp;Maintenance&nbsp;Reports","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/MILES_2000/Field_Maint/Index_MILES_FIELD_M249.html",,"Field&nbsp;Maintenance&nbsp;Reports",1
				,"Frequently&nbsp;Asked&nbsp;Questions","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/MILES_2000/Field_Maint/FAQ.html",,"Frequently&nbsp;Asked&nbsp;Questions",1
				])
		addmenu(menu=["miles",
		,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"MILES IWS","show-menu=miws","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/MILES_IWS.html","MILES IWS",1
		,"MILES 2000 Simulation","show-menu=m2000","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Grnd_Cmbt_Trng/MILES_2000/index.html","MILES 2000 Simulation",1
		,"Wireless MILES","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/images/PAN_overview_CDNZ.pdf",, "Wireless MILES",1
		,"Cubic New Zealand TESS Products","http://www.cdnz.co.nz/",,"Cubic New Zealand",1
		])
				addmenu(menu=["miws",
				,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Quick Reference Cards","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/quick_ref.html",,"Quick Reference Cards",1
				,"Target Sheets","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/images/184344_100.pdf",,"Target Sheets",1
				,"FAQs","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/MILES_Products/faq.html",,"FAQs",1
				,"Contact Us","mailto:iws_support@cubic.com?subject=Contact%20Us",,"Contact Us",1
				])
		addmenu(menu=["jcmt",
		,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Exportable Combat Training Services","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Jnt_Coll_&_Moble_Trng/xctc.html",,"Exportable Combat Training Services",1
		,"Homestation & Deployable Training","/cda1/Prod_&_Serv/Cmbt_Trng_Sys/Jnt_Coll_&_Moble_Trng/IHITS.html",,"Homestation & Deployable Training",1
		])	

dumpmenus()
