/*
 *
 *
*/

function modifyMenu()
{
	//var MSIE = navigator.appVersion.indexOf('MSIE')+5;
	//var semi = navigator.appVersion.indexOf(';',MSIE);
	//var vers = parseInt(navigator.appVersion.substr(MSIE,(semi-MSIE)));
	
	if (document.all&&document.getElementById)
	//if (true)
	{
		var root = document.getElementById('menu');
		if(root && root.childNodes)
		{
			for (var i = 0; i < root.childNodes.length; i++)
			{
				if (root.childNodes[i].className == 'menu_group')
				{
					root.childNodes[i].onmouseover = function(){this.className = 'menu_group_over';};
					root.childNodes[i].onmouseout = function(){this.className = 'menu_group';};
				}
			}
		}
	}	
}


/*function correctPNG()
   {
   for(var i=0; i<document.images.length; i++)
      {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle        
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
         img.outerHTML = strNewHTML
         i = i-1
         }
      }
   }
window.attachEvent("onload", correctPNG); */