	/*function Loaded()
	{
		var NavItems=document.getElementsByTagName('div');
		for(var i=0;i<NavItems.length;i++)
			if(NavItems.item(i).className=='NavItem')
			{
				NavItems.item(i).onmouseover=function(){this.className='Over'};
				NavItems.item(i).onmouseout=function(){this.className='NavItem'};
			}				
	}
		function Loaded2()
	{
		var NavItems=document.getElementsByTagName('li');
		for(var i=0;i<NavItems.length;i++)
			if(NavItems.item(i).className=='Submenu')
			{
				NavItems.item(i).onmouseover=function(){this.className='Over'};
				NavItems.item(i).onmouseout=function(){this.className='Submenu'};
			}				
	}*/
	function Loaded()
	{
		if (document.getElementById('nav'))
		{
			cssHover('nav','LI');	
		}
	}

	function cssHover(tagid,tagname) {
		var sfEls = document.getElementById(tagid).getElementsByTagName(tagname);
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" cssHover";
			}
			sfEls[i].onmouseout=function() {
				this.className='';//this.className.replace(new RegExp(" cssHover\\b"), "");
			}
		}
	}
