start = function() 
{
	startList("globalNav");
	startList("sideBar");
	tableruler();
//	document.Search_Form.q.focus();
}
function startList(id) 
{
	if (document.all&&document.getElementById)  
	{
		navLI = document.getElementById(id).getElementsByTagName("LI"); //Gets the LI elements
		for (i=0; i<navLI.length; i++) 	//Steps through each LI element 
		{								
			node = navLI[i];			//Set Node to navLI(i)  			
			node.onmouseover=function() //Run when the mouse is over the header
			{
				this.className+="over"; //
			}
			node.onmouseout=function() 
			{
				this.className=this.className.replace("over", "");
			}	
		}	
	}	
}

function tableruler() 
{
	if (document.getElementById && document.createTextNode) 
	{
		var tables=document.getElementById('content').getElementsByTagName('table');
		for (var i=0;i<tables.length;i++) 
		{
			if(tables[i].className.indexOf('fancy')!=-1) 
			{
				var trs=tables[i].getElementsByTagName('tr');
				for(var j=0;j<trs.length;j++) 
				{
					if (trs[j].className.length == 0) 
					{
						if (j%2==1) 
						{
								trs[j].className = 'alt';
								trs[j].onmouseover=function(){this.className='hilited';return false}
								trs[j].onmouseout=function(){this.className='alt';return false}
						} else {
							trs[j].onmouseover=function(){this.className='hilited';return false}
							trs[j].onmouseout=function(){this.className='';return false}
						}	
					}	
				}	
			}	
		}	
	}	
}

window.onload=start;