
if(document.images)
{
	/*** Define the rollovers ***/
	RollOver("home",    "images/topnav/homeroll.png",    "images/topnav/homebtn.png", "images/topnav/homeroll.png" , "grp1");
	RollOver("festivals",   "images/topnav/festivalsroll.png",   "images/topnav/festivalsbtn.png", "images/topnav/festivalsroll.png", "grp1");
	RollOver("events",   "images/topnav/eventsroll.png",   "images/topnav/eventsbtn.png", "images/topnav/eventsroll.png", "grp1");
	RollOver("applications",  "images/topnav/applicationsroll.png",  "images/topnav/applicationsbtn.png",  "images/topnav/applicationsroll.png", "grp1");
	RollOver("rules", "images/topnav/rulesroll.png", "images/topnav/rulesbtn.png","images/topnav/rulesroll.png", "grp1");
	RollOver("about", "images/topnav/aboutroll.png", "images/topnav/aboutbtn.png", "images/topnav/aboutroll.png", "grp1");
}


function getElementsByClassName(oElm, strTagName, strClassName)
{
	var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
	var arrReturnElements = new Array();
	strClassName = strClassName.replace(/\-/g, "\\-");
	var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
	var oElement;
	for(var i=0; i<arrElements.length; i++)
	{
		oElement = arrElements[i];
		if(oRegExp.test(oElement.className))
		{
			arrReturnElements.push(oElement);
		}
	}
	return (arrReturnElements)
}
window.onload = function()
{
	var thedivs = getElementsByClassName(document,'div','hide');
	for(i = 0; i < thedivs.length; i++)
	{
		thedivs[i].style.display = 'block';
	}
}


 window.onload = document.getElementsByClass()
 
//-->

