shad=new Array ("/img/m1.gif","/img/m2.gif","/img/m3.gif","/img/m4.gif","/img/m5.gif","/img/m6.gif","/img/m1_.gif","/img/m2_.gif","/img/m3_.gif","/img/m4_.gif","/img/m5_.gif","/img/m6_.gif")

function menu()
{
	var Images=new Array();
	for (var i=0; i<shad.length; i++)
	{
		Images[i]=new Image();
		Images[i].src=shad[i];
	};

};
menu();

startList = function() {
if (document.all&&document.getElementById) {
	navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="DIV") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
		   }
		}
	}
}


function tableruler()
{
	var b;
	if (document.getElementsByTagName)
	{
		var tables=document.getElementsByTagName('table');
		for (var i=0;i<tables.length;i++)
		{

			if(tables[i].className=='events' || tables[i].className=='stat' || tables[i].className=='internetA' || tables[i].className=='productsA')
			{
				var trs=tables[i].getElementsByTagName('tr');
				var odd = true;
				for(var j=0;j<trs.length;j++)
				{
					if(trs[j].parentNode.nodeName=='TBODY')
					{
						if (odd) {trs[j].className='stripped';}
						odd = !odd;
						trs[j].onmouseover=function(){b=this.className;this.className='ruled';}
						trs[j].onmouseout=function(){if (typeof(b)!=="undefined") this.className=b;}
					}
				}
			}
		}
	}
}
window.onload=function(){startList();tableruler();};

function popup( url, width, height, event )
{
	var wnd = window.open(url, "wind1", "width=" + width + ",height=" + height +",scrollbars=auto,menubar=no,status=no,resizable=no,toolbar=no,top=400,left=300" );
	wnd.focus();
	return 0;
}

function showhide(id) {
        if (document.getElementById) {myObj = document.getElementById(id);}     else {myObj = document.all.id;}
        if (myObj.className!='') {myObj.className=''} else {myObj.className='visibleElement'}
}
