/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var AgntUsr=navigator.userAgent.toLowerCase();
	var AppVer=navigator.appVersion.toLowerCase();
	var DomYes=document.getElementById?1:0;
	var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0;
	var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
	var XPYes=AgntUsr.indexOf('windows nt 5.1')!=-1?1:0;
	var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
	var FireFoxYes=AgntUsr.indexOf('firefox')!=-1?1:0;
	var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
	if(Opr){NavYes=1;ExpYes=0;}
	var DomNav=DomYes&&NavYes?1:0;
 	var DomExp=DomYes&&ExpYes?1:0;
	var Nav4=NavYes&&!DomYes&&document.layers?1:0;
	var Exp4=ExpYes&&!DomYes&&document.all?1:0;
	var Exp6Plus=(AppVer.indexOf("msie 6")!= -1||AppVer.indexOf("msie 7")!= -1)?1:0
	var PosStrt=(NavYes||ExpYes||Opr)&&!Opr6orless?1:0;
	var P_X=DomYes?"px":"",FHtml=null,ScHtml=null,FCmplnt=0,SCmplnt=0;

	var NoOffFirstLineMenus=8;			// Number of first level items
	var LowBgColor='';			// Background color when mouse is not over
	var LowSubBgColor='#FFE34D';			// Background color when mouse is not over on subs
	var HighBgColor='#fed701';			// Background color when mouse is over
	var HighSubBgColor='#fed701';			// Background color when mouse is over on subs
	var FontLowColor='#ffffff';			// Font color when mouse is not over
	var FontSubLowColor='#000000';			// Font color subs when mouse is not over
	var FontHighColor='#000000';			// Font color when mouse is over
	var FontSubHighColor='#000000';			// Font color subs when mouse is over
	var BorderColor='';			// Border color
	var BorderSubColor='FEB80E';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Verdana, Arial, Helvetica, sans-serif"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='right';			// Item text position 'left', 'center' or 'right'
	var MenuSubTextCentered='left';			// Item text position 'left', 'center' or 'right'	
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=-.01;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.03;			// vertical overlap child/ parent
	var StartTop=96;				// Menu offset x coordinate
	var StartLeft=-293;				// Menu offset y coordinate

	if(FireFoxYes) {
		if (XPYes) {
			StartLeft = StartLeft - 10;
		} else {
			StartLeft = StartLeft - 8;
		}
	} else {
		if (NavYes) {
			StartLeft = StartLeft - 7;
		}
	}

	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=10;				// Left padding
	var TopPaddng=8;				// Top padding
	var LeftSubPaddng=10;				// Left padding
	var TopSubPaddng=4;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

// Make sure to make all changes for menu navigation here and in menu_variables_home.js
Menu1=new Array("Hear for Yourself","hear_for_yourself.html","",2,30,165);
	Menu1_1=new Array("Video Clips","see_melodywave_action.html","",0,20,150);
	Menu1_2=new Array("City Tour Calendar","hear_for_yourself_calendar.php","",0);

Menu2=new Array("MelodyWave<sup>&reg</sup> Instruments<br>and Education","melodywave_education.html","",4,56);
	Menu2_1=new Array("Tutorials","melodywave_education_tutorial.html","",0,20,150);	
	Menu2_2=new Array("Musical Selections","melodywave_education_musical_selections.html","",0);
	Menu2_3=new Array("Our Educational Consultant Team", "melodywave_education_consultant_team.html","",0,35);
	Menu2_4=new Array("MelodyWave<sup>&reg</sup> Instruments<br>Resources", "melodywave_education_music_resources.html","",0,48);

Menu3=new Array("MelodyWave<sup>&reg</sup> Instruments<br> and Technology","melodywave_technology.html","",3,56);
	Menu3_1=new Array("Tutorials","melodywave_technology_tutorial.html","",0,20,180);	
	Menu3_2=new Array("Technical Support","melodywave_technology_tech_support.html","",0);
	Menu3_3=new Array("Operations Manual [PDF]","documents/operating_instructions.pdf","",0);

Menu4=new Array("Product Brochure","product_brochure.html","",0,30);

Menu5=new Array("See MelodyWave<sup>&reg</sup><br>Instruments in Action","see_melodywave_action.html","",3,40);
	Menu5_1=new Array("Video Clips","see_melodywave_action.html","",0,20,150);
	Menu5_2=new Array("City Tour Calendar","hear_for_yourself_calendar.php","",0);
	Menu5_3=new Array("MelodyWave<sup>&reg</sup> Instruments<br>Photo Gallery","melodywave_photo_gallery.html","",0,48,150);	

Menu6=new Array("To Purchase MelodyWave<sup>&reg</sup> Instruments<br>","to_purchase_melodywave.html","",0,56);

// Menu7=new Array("Introductory Offers","","",0,30);
Menu7=new Array("Introductory Offers","offers_and_grants.html","",0,30);
//	Menu7_1=new Array("Matching Grant Program","offers_matching_grant_program.html","",0,35,150);	
//	Menu7_2=new Array("Matching Grant Application","offers_matching_grant_application.php","",0,35,150);	
//	Menu7_2=new Array("","","",0,35,150);	

//Menu7=new Array("MelodyWave&reg;<br>for Retailers","melodywave_for_retailers.html","",1,40);
//	Menu7_1=new Array("Music Retailer Application","music_retailer_application.php","",0,35,150);	

Menu8=new Array("Latest News","news_latest.php","",1,30);
	Menu8_1=new Array("News Archive","news_archive.php","",0,20,150);	


