function change()  {
	document.getElementsByName("icon").onmouseover=function()
		{
			navRoot.className+=" over";
		}
		document.getElementsByName("icon").onmouseout=function() 
		{
			//alert("hallo")
			this.className=this.className.replace(" over", "");
		}
	}

	
	function changecss(theClass,element,value) {
	//documentation for this script at http://www.shawnolson.net/a/503/
	 var cssRules;
	 if (document.all) {
	  cssRules = 'rules';
	 }
	 else if (document.getElementById) {
	  cssRules = 'cssRules';
	 }
	 for (var S = 0; S < document.styleSheets.length; S++){
	  for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {
	   if (document.styleSheets[S][cssRules][R].selectorText == theClass) {
	    document.styleSheets[S][cssRules][R].style[element] = value;
	   }
	  }
	 }	
	}

 var popupWin;
function openWindow(strUrl) {
	if (popupWin==null || popupWin.closed) 
  	 popupWin=window.open(strUrl,'','scrollbars=no,toolbar=no,directories=no,location=no,resizable=yes,menubar=no,status=no,width=450,height=400,top=200,left=580,focus');
	else 
   	{popupWin.location.href=strUrl}
  	popupWin.focus();
 }
 
 function alternate(id,rollover){ 
	if(document.getElementsByTagName){  
		var table = document.getElementById(id);   
		var rows = table.getElementsByTagName("tr");
		
		for(i = 0; i < rows.length; i++){           
		//manipulate only rows with no <th>
			var headers = rows[i].getElementsByTagName("th");
			if(headers.length == 0)
			{
				if(i % 2 == 0)
				{ 
					rows[i].className = "even";
					if (rollover)
					{
						rows[i].style.cursor ='pointer';
						rows[i].onmouseover=function(){this.className='ruled';return false}
						rows[i].onmouseout=function(){this.className='even';return false}
					}
				}
				else
				{ 
					rows[i].className = "oneven"; 
					if (rollover)
					{
						rows[i].style.cursor ='pointer';
						rows[i].onmouseover=function(){this.className='ruled';return false}
						rows[i].onmouseout=function(){this.className='oneven';return false}
					}
				}
			}
		}
	}
}
