menuList = new Array();
var isovermenu = false;
menuList[0] = new Array(
"Overview","http://www.nazdaq-it.com/company/overview/",
"Contact","http://www.nazdaq-it.com/company/contact/",
"Key Personnel","http://www.nazdaq-it.com/company/key-personnel/",
"Distributors","http://www.nazdaq-it.com/company/distributors/",
"Events","http://www.nazdaq-it.com/company/events/",
"Press Releases","http://www.nazdaq-it.com/company/press/"
);

menuList[1] = new Array(
"Baan Process Automation","http://www.nazdaq-it.com/services/Baan-Process-Automation/",
"Baan Customizations","http://www.nazdaq-it.com/services/Baan-Customizations/",
"<hr>","",
"PDF Generation Tools","http://www.pdfcommandline.com",
"File Convertors","http://www.nazdaq-it.com/services/File-Convertors/",
"<hr>","",
"Programming Projects","http://www.nazdaq-it.com/services/Programming-Projects/",
"Excel and Word Macros","http://www.nazdaq-it.com/services/Excel-and-Word-Macros/",
"<hr>","",
"Business Development","http://www.nazdaq-it.com/services/Business-Development/",
"Web Design and Programming","http://www.nazdaq-it.com/services/Web-Design-and-Programming/"
);

menuList[2] = new Array(
"Baan and ERP Ln Utilities","http://www.nazdaq-it.com/Baan-Infor-ERP-LN-Software/",
"PDF Utilities","http://www.pdfcommandline.com"
);

menuList[3] = new Array(
"Technology Partners","partners.php",
"User Groups","groups.php"
);

menuList[4] = new Array(
"Customers List","http://www.nazdaq-it.com/customers/List/",
"Customer Stories","http://www.nazdaq-it.com/customers/Stories/",
"Customer Quotes","http://www.nazdaq-it.com/customers/Quotes/"
);

menuList[5] = new Array(
"Frequently Asked Questions","http://www.nazdaq-it.com/faq/General/",
"NAZDAQ's support agreement","http://www.nazdaq-it.com/support/Agreement/",
"Request Validation Key","http://www.nazdaq-it.com/support/Request-Validation-Key/",
"Technical Assistance Request","http://www.nazdaq-it.com/support/Assistance-Request/"
);

menuList[6] = new Array(
"Directions","directions.php",
"Mailing Address","mailing.php"
);

document.write('<div id=magMenu class=\"menuDiv\" onMouseOver=\"keepMenu();\" onMouseOut=\"wipeMenu();\">FireFox</div>');
var myDiv = document.getElementById("magMenu");
myDiv.innerHTML = "<a href=\"testing.html\">This is just a test...</a>";

function changeDiv(myButId,menuNum) {
	isovermenu = true;
	var myBut = document.getElementById(myButId);
	var myDiv = document.getElementById("magMenu");
	var eALL = document.getElementById("containerall");
	myDiv.style.top = parseInt(myBut.offsetHeight) + 80 + "px";
	//myDiv.style.left = parseInt(myBut.offsetLeft + 135) + "px";
	myDiv.style.left = (parseInt(eALL.offsetLeft + myBut.offsetLeft)) + "px";
	myDiv.style.visibility = "visible";
	changeMenu(menuNum-1);
}

function changeMenu(myMenuId)
{
	var i = myMenuId;
		myDiv.innerHTML = "";
		for(j=0; j< menuList[i].length;j++)
		{
			if(menuList[i][j] == '<hr>') myDiv.innerHTML = myDiv.innerHTML + "<hr>";
			else myDiv.innerHTML = myDiv.innerHTML + "<a href=\""+menuList[i][j+1]+"\">"+menuList[i][j]+"</a><br>";
			j++;
		}
}

function hideMenu()
{
	if(isovermenu == false)
		myDiv.style.visibility = "hidden";
}

function wipeMenu()
{
	isovermenu = false;
	setTimeout("hideMenu()",500);
}
function keepMenu()
{
	isovermenu = true;
	myDiv.style.visibility = "visible";
}
