function SI_dom() { return new Boolean(document.getElementById && document.getElementsByTagName); }

function SI_menu() {
	var d = document;
	var isSafari 	= (navigator.userAgent.indexOf('Safari') != -1);
	var isIE 		= (navigator.appName == "Microsoft Internet Explorer");
	var isWinIE		= (isIE && window.print);
	if (!SI_dom() || window.opera || isSafari || !d.getElementById) 
	{		 
		return;
	}
	
	var m=SI_menu.arguments;

	for(i=0; i<m.length; i++) {
		if (!d.getElementById(m[i])) { alert(m[i]+ "0000"); continue; }// Added 4.08.23
		for (var l=0; (lnk=d.getElementById(m[i]).getElementsByTagName("a")[l]); l++) {
			if (lnk.parentNode.childNodes.length > 1) {
				li = lnk.parentNode; // The containing <li>
				for (var n=0; n < li.childNodes.length; n++) {
					node = li.childNodes[n];
					if (node.nodeName=="UL") {
						li.ul = node; // The sibling <ul> (submenu)
						delete node;
						
						li.classDefault		= li.className;
						li.classHover		= li.className+((li.className=='')?'hover':' hover');
						li.isIE				= isIE;
						li.isWinIE			= isWinIE;
						li.onmouseover		= SI_showMenu;
						li.onmouseout		= SI_hideMenu;
						}
					}
				}
			}
		}
	}
function SI_showMenu() {
	this.className = this.classHover;
	if (this.isIE) {
		this.style.zIndex = 100;
		 if (this.isWinIE) SI_toggleSelects('hidden'); 
		}
	}
function SI_hideMenu() {
	this.className = this.classDefault;
	if (this.isIE) {
		this.style.zIndex = 1;
		if (this.isWinIE) SI_toggleSelects('visible'); 
		}
	}
	
function SI_toggleSelects(vis)
{
  if (typeof document.uniqueID != 'undefined'
      && typeof document.body.style.scrollbarTrackColor == 'undefined')
  {
    var selects = document.getElementsByTagName('select');
    for (var i = 0; i < selects.length; i++)
    {
      selects[i].style.visibility = vis;
    }

    return true;
  }

  return false;
}

var hasFlash = false;
if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")!=-1){}

if (hasFlash && document.getElementsByTagName && document.getElementsByTagName('html')[0]) { }

window.onload = function() {
	SI_menu('navmain'); 
};

if (typeof window.attachEvent != "undefined") {
}

 
function writeMarquee(strText) {
document.write("<marquee scrolldelay='300' scrollamount='10'>" + strText + "</marquee>");
}
 