// Milonic DHTML Menu
// Please note that major changes to this file have been made and is not compatible with earlier versions..
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.


// The following line is critical for menu operation, and must appear only once.
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


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////



effect = "Fade(duration=0.3);Alpha(style=0,opacity=85);Shadow(color='#999999', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=2;		// Sub menu offset Top position 
suboffset_left=2;		// Sub menu offset Left position
//font_meas = "px"

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.
"3333cc",				// Mouse Off Font Color
"white",				// Mouse Off Background Color
"00ccff",					// Mouse On Font Color
"white",				// Mouse On Background Color
,						// Menu Border Color 
"12px",					// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"http://jura.wi.mit.edu/bio/images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"ffffff",				// 3D High Color
"ffffff",				// 3D Low Color
"white",				// Current Page Item Font Color (leave this blank to disable)
"3333cc",					// Current Page Item Background Color (leave this blank to disable)
"http://jura.wi.mit.edu/bio/images/arrowdn.gif",			// 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)
]

style2=[				// style2 is for submenus (annemarie)
"3333cc",				// Mouse Off Font Color
"white",				// Mouse Off Background Color
"00ccff",					// Mouse On Font Color
"white",				// Mouse On Background Color
"666666",				// Menu Border Color
"12px",					// Font Size
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"http://jura.wi.mit.edu/bio/images/arrow.gif",			// Sub Menu Image (leave this blank if not needed)
,						// 3D Border & Separator bar
"ffffff",				// 3D High Color
"ffffff",				// 3D Low Color
,				// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
"http://jura.wi.mit.edu/bio/images/arrowdn.gif",			// Top Bar image (leave this blank to disable)
"ffffff",				// Menu Header Font Color (leave blank if headers are not needed)
"000000",				// 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
90,					// Menu Top - The Top position of the menu in pixels
,				// Menu Left - The Left position of the menu in pixels
120,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
"left",					// 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
,					// ..Now Obsolete..
,					// 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 
,"Bioinfo Basics","show-menu=bioinfobasics",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Bioinfo Tools","show-menu=tools",,"",1
,"Graphics","show-menu=graphics",,"",1
,"Search","http://jura.wi.mit.edu/bio/search",,"",1
])

addmenu(menu=["bioinfobasics",
	,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
    ,"Education","show-menu=education",,,0
	])
		
		addmenu(menu=["education",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Course notes","http://jura.wi.mit.edu/bio/education/index.html",,,0
		])
	
	addmenu(menu=["tools",
	,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
    ,"Developed at Whitehead","show-menu=developed",,,0
    ,"Analyses","show-menu=analyses",,,0
    ,"Databases","show-menu=databases",,,0
	])

		addmenu(menu=["developed",
  		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
			      ,"BaRC tools","http://jura.wi.mit.edu/bioc/tools/",,,0
		,"siRNA design","http://jura.wi.mit.edu/bioc/siRNAext/home.php",,,0
		,"Multicoil","http://multicoil.lcs.mit.edu/cgi-bin/multicoil",,,0
		,"Pathblast","http://www.pathblast.org",,,0
		,"Primer3","http://fokker.wi.mit.edu/primer3/",,,0	
		,"TargetScan","http://targetscan.org",,,0
		])

		addmenu(menu=["analyses",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
    	,"DNA","http://jura.wi.mit.edu/bio/dna/index.html",,,0
		,"Proteins - Sequences","http://jura.wi.mit.edu/bio/proteins/sequence.html",,,0
		,"Proteins - Structure","http://jura.wi.mit.edu/bio/proteins/structure.html",,,0
		])

		addmenu(menu=["databases",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
    	,"Public by organism","http://jura.wi.mit.edu/bio/databases/index.html",,,0
		,"Entrez Gene","http://jura.wi.mit.edu/entrez_gene/",,,0
		])	

	addmenu(menu=["graphics",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Graphics Home","http://jura.wi.mit.edu/bio/graphics/home.htm",,,0
	,"Software","show-menu=software2",,,0
	,"Input/Output","show-menu=IO",,,0
	,"Resources","show-menu=graphicsres",,,0
	])
		
		addmenu(menu=["software2",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Flash","http://jura.wi.mit.edu/bio/graphics/flash/flash.htm",,,0
		,"Illustrator","http://jura.wi.mit.edu/bio/graphics/illustrator/illustrator.htm",,,0
		,"Photoshop","http://jura.wi.mit.edu/bio/graphics/photoshop/photoshop.htm",,,0
		,"Powerpoint","http://jura.wi.mit.edu/bio/graphics/powerpoint/powerpoint.htm",,,0
		])
		
		addmenu(menu=["IO",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"File Formats","http://jura.wi.mit.edu/bio/graphics/other/formats.htm",,,0
		,"Microscopy","http://jura.wi.mit.edu/bio/graphics/other/microscopy.htm",,,0
		,"Printing","http://jura.wi.mit.edu/bio/graphics/printing/printing.htm",,,0
		,"Resolution","http://jura.wi.mit.edu/bio/graphics/scanning/resolution.htm",,,0
		,"Scanning","http://jura.wi.mit.edu/bio/graphics/scanning/scanning.htm",,,0
		])
		
		addmenu(menu=["graphicsres",
		,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"FAQ","http://jura.wi.mit.edu/bio/graphics/other/faq.htm",,,0
		,"Biological Art","http://jura.wi.mit.edu/bio/graphics/other/art.htm",,,0
		,"How to get Software","http://jura.wi.mit.edu/bio/graphics/software.htm",,,0
		,"Making Posters","http://jura.wi.mit.edu/bio/graphics/posters/poster.htm",,,0
		,"Web Page Design","http://jura.wi.mit.edu/bio/graphics/webdesign/webdesign.htm",,,0
		])

dumpmenus()
