//create Navigation Menu Variables

var navName, navURL;

function MenuObj(menuURL,menuName){
    this.navURL = menuURL;
    this.navName = menuName;
}
var navMenuArray = new Array(2);
navMenuArray[0] = new Array(new MenuObj("municipalities.html","Public Sector"),new MenuObj("vendors.html","Vendors"));

navMenuArray[1] = new Array(new MenuObj("history.html","Company History"),new MenuObj("values.html","Values"),new MenuObj("affiliations.html","Affiliations and Certifications"),new MenuObj("team.html","Team"));

// the number you pass to initLeft doesn't matter since it will get
// changed onactivate
var myMenu1 = new ypSlideOutMenu("menu1", "down", 128, 155, 130, (navMenuArray[0].length * 25));
var myMenu2 = new ypSlideOutMenu("menu2", "down", 625, 155, 220, (navMenuArray[1].length * 25));

ypSlideOutMenu.writeCSS();


function changeList(){
	var tempId = document.getElementById('list');
	if(tempId.className == "hideList")
		tempId.className = "showList";
	else{
		tempId.className = "hideList";
		window.location = "index.html";
	}
}