 /***********************************************
*	(c) Ger Versluis 2000 version 13.21 April 28, 2008    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=18;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="016893";			// Background color when mouse is not over
	var HighBgColor="7a1600";			// Background color when mouse is over
	var FontLowColor="White";			// Font color when mouse is not over
	var FontHighColor="White";			// Font color when mouse is over
	var BorderColor="136693";			// Border color
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Borderwidth between elements
	var BorderBtwnSub=1;			// Borderwidth between elements sub items
	var FontFamily="Calibri,Arial";			// Font family menu items
	var FontSize=13;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";			// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=-.02;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=5;				// Left padding
	var TopPaddng=2;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=0;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="MenuPos";			// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=["arrow.jpg",7,7];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1
	var OverFormElements=1;			// Set this to 0 when the menu does not need to cover form elements.
	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings

	var MenuSlide="";


	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#000000, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction=135, strength=1)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

	

	Menu1=new Array("The Society","Blank.htm","",6,20,185,"","","","","","",-1,-1,-1,"","The Society"); 
		Menu1_1=new Array("Objectives","Society - Objectives.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Objectives"); 
		Menu1_2=new Array("Founding of the Society","Society - Founding.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Founding of the Society"); 
		Menu1_3=new Array("Society Regulations","javascript:window.open('Society - Brahman Regulations.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Society Regulations"); 
		Menu1_4=new Array("2011 / 2012 Council","Society - Council.htm","",0,20,185,"","","","","","",-1,-1,-1,"","2011 / 2012 Council"); 
		Menu1_5=new Array("Personnel","Society - Personnel.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Personnel"); 
		Menu1_6=new Array("Become a Member","Membership.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Become a Member"); 

	Menu2=new Array("The Breed","Blank.htm","",8,20,185,"","","","","","",-1,-1,-1,"","The Breed"); 
		Menu2_1=new Array("History","Breed - History.htm","",0,20,185,"","","","","","",-1,-1,-1,"","History"); 
		Menu2_2=new Array("Why Brahman","Breed - Why Brahman.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Why Brahman"); 
		Menu2_3=new Array("Crossbreeding","Breed - Crossbreeding.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Crossbreeding"); 
		Menu2_4=new Array("Breed Strongpoints","Breed - Strongpoints.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Breed Strongpoints"); 
		Menu2_5=new Array("Standard of Excellence","Breed - Standards.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Standard of Excellence"); 
		Menu2_6=new Array("Brahman Carcase","Breed - Carcase.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Brahman Carcase"); 
		Menu2_7=new Array("Genetic Trends","javascript:window.open('Breed - Genetic Trends.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Genetic Trends"); 
		Menu2_8=new Array("Breed EBV Distribution","javascript:window.open('Percentile.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Breed EBV Distribution"); 

	Menu3=new Array("Breed Improvement","Blank.htm","",5,20,185,"","","","","","",-1,-1,-1,"","Breed Improvement"); 
		Menu3_1=new Array("Breed Manual","Improvement - Breed Manual.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Breed Manual"); 
		Menu3_2=new Array("Breedplan South Africa","javascript:window.open('http://www.breedplan.co.za','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Breedplan South Africa"); 
		Menu3_3=new Array("Breedplan International","Improvement - Breedplan International.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Breedplan International"); 
		Menu3_4=new Array("Genestar","Improvement - Genestar.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Genestar"); 
		Menu3_5=new Array("Brahdex Classification","Improvement - Brahdex.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Brahdex Classification"); 

	Menu4=new Array("Breed Database","Blank.htm","",7,20,185,"","","","","","",-1,-1,-1,"","Breed Database"); 
		Menu4_1=new Array("Animal Enquiry","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=2431&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Animal Enquiry"); 
		Menu4_2=new Array("EBV Enquiry","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=2031&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","EBV Enquiry"); 
		Menu4_3=new Array("Member Enquiry","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=2831&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Member Enquiry"); 
		Menu4_4=new Array("Sale Catalogues","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=3228&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Sale Catalogues"); 
		Menu4_5=new Array("Semen Catalogues","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=3D28&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Semen Catalogues"); 
		Menu4_6=new Array("Mating Predictor","javascript:window.open('http://abri.une.edu.au/online/cgi-bin/i4.dll?1=212F2F3D&2=233B3F&3=56&5=2B3C2B3C3A','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Mating Predictor"); 
		Menu4_7=new Array("Member Login","javascript:window.open('https://abri.une.edu.au/online/cgi-bin/i4.dll?1=BCBS&2=lo','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Member Login"); 

	Menu5=new Array("Performance Testing","Blank.htm","",8,20,185,"","","","","","",-1,-1,-1,"","Performance Testing");
		Menu5_1=new Array("Performance Testing","javascript:window.open('Performance - Testing.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Performance Testing");
		Menu5_2=new Array("Breedplan Manual","javascript:window.open('Documents/Breedplan Handleiding.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Breedplan Manual");
		Menu5_3=new Array("Breedplan Awards","javascript:window.open('Performance - Awards.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Breedplan Awards");
		Menu5_4=new Array("Guide to EBV's","javascript:window.open('Performance - Guide to EBVs.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Guide to EBV's");
		Menu5_5=new Array("Management Groups","javascript:window.open('Performance - Management Groups.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Management Groups");
		Menu5_6=new Array("Small Herd Tips","javascript:window.open('Performance - Small Herds.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Small Herd Tips");
		Menu5_7=new Array("Fertility EBV","javascript:window.open('Performance - Fertility.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Fertility EBV");
		Menu5_8=new Array("Brahman Breeding Plan","javascript:window.open('Performance - Breeding Plan.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Brahman Breeding Plan");

	Menu6=new Array("Birth Notifications","Birthnotifications.htm","",2,20,185,"","","","","","",-1,-1,-1,"","Birth Notifications");
		Menu6_1=new Array("Breeders A to K","Birthnotifications A-K.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Birth Notifications");
		Menu6_2=new Array("Breeders L to Z","Birthnotifications L-Z.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Birth Notifications");

	Menu7=new Array("Trait Leaders","Trait Leaders.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Trait Leaders");

	Menu8=new Array("HerdMASTER","javascript:window.open('http://www.agribsa.co.za/Herdmaster.htm','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","HerdMASTER");

	Menu9=new Array("Shows","Blank.htm","",7,20,185,"","","","","","",-1,-1,-1,"","Shows");
		Menu9_1=new Array("2011 Show Results","Shows - Results.htm","",0,20,185,"","","","","","",-1,-1,-1,"","2011 Show Results");
		Menu9_2=new Array("2011 Show Judges","Shows - 2011 Judges.htm","",0,20,185,"","","","","","",-1,-1,-1,"","2011 Show Judges");
		Menu9_3=new Array("2011 Judges' Policy","javascript:window.open('Shows - Judges Policy.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Judges & Breeding Policy");
		Menu9_4=new Array("2011 Vaal Show","javascript:window.open('Shows - Vaalskou.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","2011 Vaal Show");
		Menu9_5=new Array("Show Classes","javascript:window.open('Shows - Package 2011.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Show Classes");
		Menu9_6=new Array("Breeder Awards","Shows - Awards.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Breeder Awards");
		Menu9_7=new Array("Results Archive","Shows - Results Archive.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Results Archive");

	Menu10=new Array("Sales","Blank.htm","",5,20,185,"","","","","","",-1,-1,-1,"","Sales");
		Menu10_1=new Array("Pamphlets & Catalogues","Sales - Pamphlets.htm","",0,20,200,"","","","","","",-1,-1,-1,"","Pamphlets & Catalogues");
		Menu10_2=new Array("2012 Sale Results","Sales - Results.htm","",0,20,185,"","","","","","",-1,-1,-1,"","2012 Sale Results");
		Menu10_3=new Array("Explanatory Notes for Catalogues","javascript:window.open('Sales - Catalogues.pdf','_new')","",0,20,210,"","","","","","",-1,-1,-1,"","Explanatory Notes for Catalogues");
		Menu10_4=new Array("Note on EBV's","javascript:window.open('Sales - EBV.pdf','_new')","",0,20,185,"","","","","","",-1,-1,-1,"","Note on EBV's");
		Menu10_5=new Array("Results Archive","Sales - Results Archive.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Results Archive");

	Menu11=new Array("Brahman for Sale","For Sale.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Brahman for Sale");

	Menu12=new Array("Journals & Articles","Journals.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Journals & Articles");

	Menu13=new Array("Forms & Applications","Forms.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Forms & Applications");

	Menu14=new Array("Links","Links.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Links");

	Menu15=new Array("Breeder Websites","Breeder Sites.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Breeder Websites");

	Menu16=new Array("Clubs","Clubs.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Clubs");

	Menu17=new Array("Promotional Items","Promotional.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Promotional Items");

	Menu18=new Array("Gallery","Gallery.htm","",0,20,185,"","","","","","",-1,-1,-1,"","Gallery");

