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);
}


/***********************************
*  Editable properties START here  *
***********************************/
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // 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=10;		// Sub menu offset Top position
suboffset_left=10;		// Sub menu offset Left position

/*style for formating***/
style1=[
"333333",   			// Mouse Off Font Color
"ADBBD6",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"6D84B6",				// Mouse On Background Color
"ffffff",				// Menu Border Color
9,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"ffffff",				// 3D High Color
"ffffff",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"dddddd",					// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// 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
0,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
110,					// Menu Width - Menus width in pixels
1,					// Menu Border Width
"center",		    // 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 - 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)
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)
,					// 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
,"&nbsp;HOME&nbsp;","http://www.forensics.ca/phpcode/web/index.php",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;NEWS CENTRE&nbsp;","http://www.forensics.ca/phpcode/web/news.php",,"",1
,"&nbsp;LABS & EXPERTS&nbsp;","http://www.forensics.ca/phpcode/web/lab_home.php",,"",1
,"&nbsp;FORUM&nbsp;","http://www.forensics.ca/phpcode/MAIN_Forum/Landing_Page.htm",,"Discussion Forum",1
,"&nbsp;U. PROGRAMS&nbsp;","http://www.forensics.ca/phpcode/web/up.php",,"",1
,"&nbsp;JOB POSTINGS&nbsp;","http://www.forensics.ca/phpcode/web/ljp.php",,"",1
//,"&nbsp;CALENDAR&nbsp;","http://www.forensics.ca/calendar/calendar.php",,"",1
,"&nbsp;STORE&nbsp;","http://www.forensics.ca/phpcode/store/web/index.php",,"",1
,"&nbsp;EVENTS&nbsp;","http://www.forensics.ca/phpcode/web/event_home.php",,"",1
,"&nbsp;LINKS&nbsp;","http://www.forensics.ca/phpcode/web/links.php",,"",1

])

	addmenu(menu=["about_us",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"blar1","show-menu=blar1_about_us",,,1
	,"blar2","index.html",,,1
	,"blar3","index.html",,,1
	,"blar4","index.html",,,1
	])


		addmenu(menu=["blar1_about_us",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"more blar","",,,0
		,"more blar","",,,0
		])

//you can add more menu as above in further level

	addmenu(menu=["lb_list",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"North America","show-menu=north_america",,,1
	,"South America","http://www.forensics.ca/phpcode/web/lab1.php",,,1
	,"Europe","http://www.forensics.ca/phpcode/web/lab1.php",,,1
	,"Asia / Australasia","http://www.forensics.ca/phpcode/web/lab1.php",,,1
	,"Africa / Middle East","http://www.forensics.ca/phpcode/web/lab1.php",,,1
	])

//
	  addmenu(menu=["north_america",
		,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Canada","http://www.forensics.ca/phpcode/web/lab1.php",,,1
		,"United States ","http://www.forensics.ca/phpcode/web/lab1.php",,,1
		])


//links start here

	addmenu(menu=["links",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Chemistry","show-menu=chemistry",,,1
	,"Biology","show-menu=biology",,,1
	,"Toxicology","http://www.forensics.ca/links.php#Toxicology",,,1
	,"Electronics/Engineering","show-menu=engineering",,,1
	,"Crime Scenes","show-menu=crime_scenes",,,1
	,"General","show-menu=general",,,1
	])

	  addmenu(menu=["chemistry",
		,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Arson","http://www.forensics.ca/links.php#Arson",,,1
		,"Trace Evidence","http://www.forensics.ca/links.php#Trace",,,1
		,"Documents","http://www.forensics.ca/links.php#Documents",,,1
		])

	  addmenu(menu=["biology",
		,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"DNA","http://www.forensics.ca/links.php#DNA",,,1
		,"Hairs and Fibers","http://www.forensics.ca/links.php#Hairs",,,1
		,"Anthropology","http://www.forensics.ca/links.php#Anthropology",,,1
		,"Entomology","http://www.forensics.ca/links.php#Entomology",,,1
		,"Odontology","http://www.forensics.ca/links.php#Odontology",,,1
		,"Nursing","http://www.forensics.ca/links.php#Nursing",,,1
		,"Psychology & Psychiatry","http://www.forensics.ca/links.php#Psychology",,,1
		,"Pathology","http://www.forensics.ca/links.php#Pathology",,,1
		,"Blood Stain Patterns","http://www.forensics.ca/links.php#Blood",,,1
		])

	  addmenu(menu=["engineering",
		,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Computer Investigation","http://www.forensics.ca/links.php#Computer",,,1
		,"Engineering","http://www.forensics.ca/links.php#Engineering",,,1
		,"Firearms","http://www.forensics.ca/links.php#Firearms",,,1
		,"Audio","http://www.forensics.ca/links.php#Audio",,,1
		])

	  addmenu(menu=["crime_scenes",
		,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Crime Scenes","http://www.forensics.ca/links.php#Crime",,,1
		,"Photography","http://www.forensics.ca/links.php#Photography",,,1
		,"Fingerprints","http://www.forensics.ca/links.php#Fingerprints",,,1
		,"Art","http://www.forensics.ca/links.php#Art",,,1
		])

	  addmenu(menu=["general",
		,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Quality Assurance","http://www.forensics.ca/links.php#Quality",,,1
		,"Book Resources and Stores","http://www.forensics.ca/links.php#Book",,,1
		,"Government Bodies ","http://www.forensics.ca/links.php#Government",,,1
		,"Identification","http://www.forensics.ca/links.php#Identification",,,1
		,"Journals","http://www.forensics.ca/links.php#Journals",,,1
		,"Jurisprudence","http://www.forensics.ca/links.php#Jurisprudence",,,1
		,"Mass Disaster Investigations","http://www.forensics.ca/links.php#Mass",,,1
		,"Microscopy","http://www.forensics.ca/links.php#Microscopy",,,1
		,"Miscarriages in Justice","http://www.forensics.ca/links.php#Miscarriages",,,1


		,"Scientific Techniques","http://www.forensics.ca/links.php#Scientific",,,1
		,"Societies","http://www.forensics.ca/links.php#Societies",,,1
		,"Webpages (Personal)","http://www.forensics.ca/links.php#Webpages",,,1
		,"Vendors for Forensic Supplies","http://www.forensics.ca/links.php#Vendors",,,1
		])
//links end here


	addmenu(menu=["careers",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"University Programs","http://www.forensics.ca/career_uni.php",,,1
	,"Latest Job Postings","http://www.forensics.ca/career_postings.php",,,1
	,"Events","http://www.forensics.ca/calendar/calendar.php",,,1
	])


//	addmenu(menu=["links",
//	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
//	,"blar1","links.php",,,1
//	,"blar2","index.html",,,1
//	,"blar3","index.html",,,1
//	])


	addmenu(menu=["author",
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Short Bio.","http://www.forensics.ca/phpcode/web/author.php",,,1
//	,"Photo Gallery","photo_gallery.php",,,1
	,"Contact Info.","http://www.forensics.ca/phpcode/web/contact.php",,,1
	])


//	addmenu(menu=["contact_us",
//	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
//	,"blar1","index.html",,,1
//	,"blar2","index.html",,,1
//	,"blar3","index.html",,,1
//	])

//special effect menu, omit here
//	addmenu(menu=["Other",,,140,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
//	,"Menu","",,"Milonic DHTML Menu Site",1
//	])


dumpmenus()