
menunum=0;
menus=new Array();
_d=document;
function addmenu(){
	menunum++;menus[menunum]=menu;
}
function ONW(winURL,winWidth,winHeight,winConfig){
	mmConfig=""
	mmConfig="width="+winWidth+","
	mmConfig+="height="+winHeight+","
	mmConfig+=winConfig
	var mmWin=open(winURL,"",mmConfig);
	mmWin.focus();
}
function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";_d.write(mt)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Shadow(color='#000000', Direction=135, Strength=3)"
}
else
{
	effect = "Shadow(color='#000000', Direction=135, Strength=3)"
}


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position

style1=[		// style1 is an array of properties.
"D7DCB4",		// Mouse Off Font Color no #
"144B8C",		// Mouse Off Background Color
"144B8C",		// Mouse On Font Color
"D7DCB4",		// Mouse On Background Color
"000000",		// Menu Border Color 
11,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Tahoma",		// Font Name
2,			// Menu Item Padding
"http://www.deaflead.org/images/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66FFFF",		// 3D High Color
"000099",		// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
"http://www.deaflead.org/images/arrowdn.gif",	// 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
55,			// Menu Top - The Top position of the menu in pixels
108,			// Menu Left - The Left position of the menu in pixels
98,			// Menu Width - Menus width in pixels
1,			// 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)
"center",		// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,			// Filter - Text variable for setting transitional effects on menu activation
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 			// 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)
"ftest",		// 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
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Home","http://www.deaflead.org/main.asp",,"The L.E.A.D. Institute",1
,"Prev. Prog.","show-menu=prevprog",,"Prevention Programs",1
," Teen Institute","show-menu=prevprog1",,"Teen Institute",1
,"Events","http://www.deaflead.org/calendar.asp",,"Events Calendar",1
,"L.E.A.D. Staff","http://www.deaflead.org/staff/staff.asp",,"L.E.A.D. Staff",1
,"Contact Us","http://www.deaflead.org/form/emailform.asp",,"E-Mail Contact",1	
,"Others","show-menu=other",,"",1
])
	addmenu(menu=["prevprog",,,135,1,"",style1,,"left","gradientwipe(size=1.00, wipestyle=1, motion=forward, duration=0.5);",0,,,,,,,,,,,
	,"&nbsp;&nbsp;24 Hours Crisis Line","http://www.deaflead.org/prevprog/crisis_line.asp",,"24 Hours Crisis Line Services",1
	,"&nbsp;&nbsp;Drug & Alcohol Abuse","http://www.deaflead.org/prevprog/drug_alcohol.asp",,"Drug & Alcohol Abuse",1
	,"&nbsp;&nbsp;AIDS/HIV Awareness","http://www.deaflead.org/prevprog/aids_hiv.asp",,"AIDS/HIV Awareness",1
	,"&nbsp;&nbsp;Domestic Violence","http://www.deaflead.org/prevprog/dom_violence.asp",,"Domestic Violence",1
	,"&nbsp;&nbsp;Sexual Assault","http://www.deaflead.org/prevprog/sex_assault.asp",,"Sexual Assault",1
	])
	
	addmenu(menu=["prevprog1",,,145,1,"",style1,,"left","gradientwipe(size=1.00, wipestyle=1, motion=forward, duration=0.5);",0,,,,,,,,,,,
	,"&nbsp;&nbsp;Teen Institute","http://www.deaflead.org/prevprog/teen_institute.asp",,"Teen Institute",1

	
	])
	
	addmenu(menu=["other",,,125,1,"",style1,,"left","gradientwipe(size=1.00, wipestyle=1, motion=forward, duration=0.5);",0,,,,,,,,,,,
	,"&nbsp;&nbsp;Resources List","show-menu=rlist",,"Resources List",1
	,"&nbsp;&nbsp;Technical Support","http://www.deaflead.org/tech/tech_support.asp",,"Technical Support",1
	])

		addmenu(menu=["rlist",,,120,1,"",style1,,"left","gradientwipe(size=1.00, wipestyle=1, motion=forward, duration=0.5);",0,,,,,,,,,,,
		,"&nbsp;&nbsp;A - D","http://www.deaflead.org/rlist/a_d.asp",,"A - D",1
		,"&nbsp;&nbsp;E - H","http://www.deaflead.org/rlist/e_h.asp",,"E - H",1
		,"&nbsp;&nbsp;I - L","http://www.deaflead.org/rlist/i_l.asp",,"I - L",1
		,"&nbsp;&nbsp;M - O","http://www.deaflead.org/rlist/m_o.asp",,"M - O",1
		,"&nbsp;&nbsp;P - S","http://www.deaflead.org/rlist/p_s.asp",,"P - S",1
		,"&nbsp;&nbsp;T - W","http://www.deaflead.org/rlist/t_w.asp",,"T - W",1
		,"&nbsp;&nbsp;X - Z","http://www.deaflead.org/rlist/x_z.asp",,"X - Z",1
		])

dumpmenus()
