
inittablecheck = function()
{		
	for(k=0; k < document.getElementsByTagName("table").length; k++)
	{
		navRoot = document.getElementsByTagName("table")[k];		
				
		var trcounter = 0;
		
		for (i=0; i<navRoot.childNodes.length; i++) 		
		{			
			if(navRoot.childNodes[i].nodeName=="TBODY")
			{				
				for (j=0; j<navRoot.childNodes[i].childNodes.length; j++) 
				{
					node = navRoot.childNodes[i].childNodes[j];
										
					if(node.nodeName=="TR") 
					{				
						if(trcounter > 0)						
							if(trcounter % 2 == 1)
								node.className += ' odd';
				
						trcounter++;												
					}
				}
			}
		}
	}
}

popup = function(url)
{
	window.open(url, '', 'width=600,height=380');	
	return false;
}
