menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}

effect = "Fade(duration=0.2);Alpha(style=0,opacity=91);Shadow(color='#000000', Direction=125, Strength=2)"

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=8               // Sub menu offset Top position
suboffset_left=8             // Sub menu offset Left position



PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"000066",			// Mouse Off Font Color
"",					// Mouse Off Background Color
"6F89CA",			// Mouse On Font Color
"",					// Mouse On Background Color
"6F89CA",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial",			// Font Name
3,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
1,					// 3D Border & Separator bar
"FFFFFF",			// 3D High Color
"999999",			// 3D Low Color
"6F89CA",			// 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)
"EEEEEE",			// Menu Item Separator Color
]


PlainStyle2=[			// 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.
"000066",			// Mouse Off Font Color
"EEEEEE",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"000066",			// Mouse On Background Color
"6F89CA",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial",			// Font Name
,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
1,					// 3D Border & Separator bar
"FFFFFF",			// 3D High Color
"999999",			// 3D Low Color
"FFFFFF",			// Current Page Item Font Color (leave this blank to disable)
"000066",			// 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)
"000066",			// Menu Item Separator Color
]

addmenu(menu=[
"boundmenu",        // Menu Name - This is needed in order for this menu to be called
105,					// Menu Top - The Top position of the menu in pixels
0,					// Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,         // Properties Array - this array is declared higher up as you can see above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
,					// 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
0,					// 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)
0,					// 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)
0,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,					// 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)
,					// Background image for menu when BGColor set to transparent.
0,					// Scrollable Menu
,					// Miscellaneous Menu Properties
,"&nbsp;&nbsp;Home&nbsp;&nbsp;","home.htm target=cwindow",,"Northall Suffolks and Charollais",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;History&nbsp;&nbsp;","history.htm target=cwindow",,"Northall Suffolks and Charollais",1
,"&nbsp;&nbsp;Stock Information&nbsp;&nbsp;","show-menu=Stock","background.htm target=cwindow","Northall Suffolks and Charollais",1
,"&nbsp;&nbsp;Location&nbsp;&nbsp;","location.htm target=cwindow",,"Northall Suffolks and Charollais",1
,"&nbsp;&nbsp;Appointments&nbsp;&nbsp;","appoint.htm target=cwindow",,"Northall Suffolks and Charollais",1
,"&nbsp;&nbsp;Contact&nbsp;&nbsp;","contact.htm target=cwindow",,"Northall Suffolks and Charollais",1
,"&nbsp;&nbsp;Links&nbsp;&nbsp;","links.htm target=cwindow",,"Northall Suffolks and Charollais",1
])


addmenu(menu=["Stock",
	,,,0,,PlainStyle2,0,,effect,0,0,0,,,0,0,,,0,,
	,"&nbsp;&nbsp;&nbsp;Flock Background&nbsp;&nbsp;&nbsp","background.htm target=cwindow",,"Northall Suffolks and Charollais",1
	,"&nbsp;&nbsp;&nbsp;Ram Statistics&nbsp;&nbsp;&nbsp","ramstats.htm target=cwindow",,"Northall Suffolks and Charollais",1
	,"&nbsp;&nbsp;&nbsp;EBVs Explained&nbsp;&nbsp;&nbsp","ebv.htm target=cwindow",,"Northall Suffolks and Charollais",1
	,"&nbsp;&nbsp;&nbsp;Genetic Trends&nbsp;&nbsp;&nbsp","genetictrends.htm target=cwindow",,"Northall Suffolks and Charollais",1
	,"&nbsp;&nbsp;&nbsp;Maedi Visna Information&nbsp;&nbsp;&nbsp","maedi.htm target=cwindow",,"Northall Suffolks and Charollais",1
	,"&nbsp;&nbsp;&nbsp;CT Scanning&nbsp;&nbsp;&nbsp","ctscan.htm target=cwindow",,"Northall Suffolks and Charollais",1
	])

	
dumpmenus();
	