var jshover = function()
{
	
	var menuDiv = document.getElementById("menu")
	if (!menuDiv)
		return;

	var sfEls = menuDiv.getElementsByTagName("div");
	for (var i=0; i<sfEls.length; i++) 
	{
		
		sfEls[i].onmouseover=function()
		{
			this.className+=" jshover";
		}
		sfEls[i].onmouseout=function() 
		{
			this.className=this.className.replace(new RegExp(" jshover\\b"), "");
		}
	}
$(function(){
IEHTMLSelectElement.fix( document.getElementsByTagName('select') );
});
}

if (window.attachEvent) 
	window.attachEvent("onload", jshover);


	
$(function(){
	$('.submenu','#menu').each(function(){
		$(this).css('margin-left',-$(this).width()/2)
	});
});