// load images
var menuHome = new Array();

menuHome[0] = new Image();
menuHome[0].src = "images/menu/menu_aboutUs_over.gif";
menuHome[1] = new Image();
menuHome[1].src = "images/menu/menu_newsEvents_over.gif";
menuHome[2] = new Image();
menuHome[2].src = "images/menu/menu_catalogue_over.gif";
menuHome[3] = new Image();
menuHome[3].src = "images/menu/menu_orderOnline_over.gif";
menuHome[4] = new Image();
menuHome[4].src = "images/menu/menu_contactUs_over.gif";

function rollon ( imgName, path )
{
	var imgNum = imgName.substring ( 5 );
	if ( document.images && document.images [ imgName ].complete )
	{
		document.images[imgName].src = path;
	}
}

function rolloff ( imgName, path ) 
{
	var imgNum = imgName.substring ( 5 );
	if ( document.images && document.images [ imgName ].complete )
	{
		document.images [ imgName ].src = path
	}
}

sfHover = function ( ) 
{
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for ( var i = 0; i < sfEls.length; i++ ) 
	{
		sfEls[i].onmouseover = function ( ) 
		{
			this.className += " over";
		}
		sfEls[i].onmouseout=function ( ) 
		{
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}

if ( window.attachEvent ) window.attachEvent ( "onload", sfHover );