
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)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);Shadow(color='#D5D2C9', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#D5D2C9', Direction=135, Strength=0)" // Stop IE5.5 bug when using more than one filter
}


timegap=50				// 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

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.
"151515",				// Mouse Off Font Color
"CAAF6D",				// Mouse Off Background Color     cc6666
"FFFFFF",				// Mouse On Font Color
"ccc48e",				// Mouse On Background Color
"A7832D",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana",				// Font Name
5,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"151515",				// Current Page Item Font Color (leave this blank to disable)
"white",					// 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)
"EAEBAE",				// Menu Header Background Color (Leave blank if headers are not needed)  cc6666
]


style2=[				// 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.
"A23535",				// Mouse Off Font Color
"EAEBAE",				// Mouse Off Background Color   ECC6C6
"151515",				// Mouse On Font Color
"EAEAE3",				// Mouse On Background Color
"993300",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
5,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"151515",				// Current Page Item Font Color (leave this blank to disable)
"white",				// 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)
]


if(screen.width<=800)
{
	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
	98,					// Menu Top - The Top position of the menu in pixels
	3,					// Menu Left - The Left position of the menu in pixels
	,					// Menu Width - Menus width in pixels
	1,					// Menu Border Width 
	,					// 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;About&nbsp;Toussaint&nbsp;Louverture&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu1","index.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;&nbsp;About&nbsp;TLHS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu2","AboutTLHS.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;TLHS&nbsp;Programs&nbsp;&nbsp;","show-menu=menu3","remarks.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;Discussion&nbsp;Forum&nbsp;&nbsp;&nbsp;","show-menu=menu5","DiscussionForum.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;Articles&nbsp;&nbsp;&nbsp;","show-menu=menu6","BattleBertieres.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;Contact&nbsp;Us&nbsp;&nbsp;&nbsp;","show-menu=menu7","contactus.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu4","index.htm","The Toussaint Louverture Historical Society, Inc.",1
	])

	
}

if(screen.width>800)
{
	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
	98,					// Menu Top - The Top position of the menu in pixels
	114,					// Menu Left - The Left position of the menu in pixels
	,					// Menu Width - Menus width in pixels
	1,					// Menu Border Width 
	,					// 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;About&nbsp;Toussaint&nbsp;Louverture&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu1","index.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;&nbsp;About&nbsp;TLHS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu2","AboutTLHS.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;TLHS&nbsp;Programs&nbsp;&nbsp;","show-menu=menu3","remarks.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;Discussion&nbsp;Forum&nbsp;&nbsp;&nbsp;","show-menu=menu5","DiscussionForum.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;Articles&nbsp;&nbsp;&nbsp;","show-menu=menu6","BattleBertieres.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;Contact&nbsp;Us&nbsp;&nbsp;&nbsp;","show-menu=menu7","contactus.htm","The Toussaint Louverture Historical Society, Inc.",1
	,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=menu4","index.htm","The Toussaint Louverture Historical Society, Inc.",1
	])


}





var bMSIE = false;
var bMSIE4, bMSIE5, bMSIE55, bMSIE6;
var bNetscape = false, bNetscape_2 = false, bNetscape_3 = false, 
      bNetscape_4 = false;

    var ua = window.navigator.userAgent;
    var an = window.navigator.appName;

    // Is it IE?
    bMSIE = (ua.indexOf("MSIE")>=1);
    if (bMSIE)
    {
        // IE4
       bMSIE5 = (ua.indexOf("MSIE 4.0")>=1);
     
        // IE5
        bMSIE5 = (ua.indexOf("MSIE 5.0")>=1);
      
      // IE5.5
        bMSIE55 = (ua.indexOf("MSIE 5.5")>=1);
      
      //IE6
      bMSIE6 = (ua.indexOf("MSIE 6.0")>=1);
//      alert("microsoft browser");


///////////////////////////////

//if(screen.width<=800)
//{//WorldToussaintLouverture.htm   lifetime.htm
//	addmenu(menu=["menu1",,3,261,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Perspectives on Toussaint","tradeslave.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Life and Times of Toussaint Louverture","LifeTimesTssntLvt.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Famous Quotes","quotes.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Souvenirs","Souvenirs.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	//petition.htm
//	addmenu(menu=["menu2",,188,190,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"About TLHS","aboutTLHS.htm",,"The Toussaint Louverture Historical Society, Inc.",1	
//	,"Board Member page","board.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Letter from the Executive Director","brochure.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Memorandum of Understanding","MOU.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Membership Application","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])//,"Events","Events.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	//board.htm   brochure.htm
//	addmenu(menu=["menu3",,292,200,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Did you know Brochure","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1	
//	,"Toussaint Louverture Executive Award Brunch","ToussaintLouvertureExecAwdBrch.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Petition","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Proclamation Mayor Williams","proclamation.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Bicentennial Cards","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])//MOU.htm
//	addmenu(menu=["menu4",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu5",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu6",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu7",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
	
//}	
	

//if(screen.width>800)
//{//tradeslave.htm  WorldToussaintLouverture.htm
//	addmenu(menu=["menu1",,114,261,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Perspectives on Toussaint","PerspTousnt.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Life and Times of Toussaint Louverture","LifeTimesTssntLvt.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Famous Quotes","quotes.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Souvenirs","Souvenirs.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	
//	addmenu(menu=["menu2",,299,190,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"About TLHS","aboutTLHS.htm",,"The Toussaint Louverture Historical Society, Inc.",1	
//	,"Board Member page","board.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Letter from the Executive Director","brochure.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Memorandum of Understanding","MOU.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Membership Application","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	//board.htm
//	addmenu(menu=["menu3",,402,261,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Did you know Brochure","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1	
//	,"Toussaint Louverture Executive Award Brunch","ToussaintLouvertureExecAwdBrch.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Petition","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Proclamation Mayor Williams","proclamation.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Bicentennial Cards","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	addmenu(menu=["menu4",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu5",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu6",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu7",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//}



///////////////////////////////




    }
    else if (an == "Netscape")
    {
        bNetscape = true;
        appVer = parseInt(navigator.appVersion);
        if (appVer >= 4)
            bNetscape_4 = true;
        else if (appVer >= 3)
            bNetscape_3 = true;
        else
            bNetscape_2 = true;
     	
     	//alert("netscape browser");
///////////////////////////////


//if(screen.width<=800)
//{
//	addmenu(menu=["menu1",,3,230,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"The Trade Slave","tradeslave.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"The Life and Times of Toussaint Louverture","WorldToussaintLouverture.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Famous Quotes","quotes.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	
//	addmenu(menu=["menu2",,170,170,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Board Members","board.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Membership Application","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Brochure","brochure.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Memorandum of Understanding","MOU.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Petition","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Events","Events.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	
//	addmenu(menu=["menu3",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu4",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu5",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu6",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu7",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	
//}	


//if(screen.width>800)
//{
//	addmenu(menu=["menu1",,115,235,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"The Trade Slave","tradeslave.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"The Life and Times of Toussaint Louverture","WorldToussaintLouverture.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Famous Quotes","quotes.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	
//	addmenu(menu=["menu2",,282,175,1,,style2,0,"left",effect,0,,,,,,,,,,,
//	,"Board Members","board.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Membership Application","membershipapplication.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Brochure","brochure.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Memorandum of Understanding","MOU.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Petition","petition.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	,"Events","Events.htm",,"The Toussaint Louverture Historical Society, Inc.",1
//	])
//	
//	addmenu(menu=["menu3",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu4",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu5",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu6",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	addmenu(menu=["menu7",,3,261,0,,style2,0,"left",effect,0,,,,,,,,,,,
//	])
//	
//}



///////////////////////////////

    }



dumpmenus()
