function initRowHighlight()
{
	if(!document.getElementsByTagName)return;
	window.oRowHighlight={
		highlight:function(e)
		{
			if(e==null||e==undefined)return;if(e.nodeName!="TR")return;
			e.className += " highlight";
		},
		dehighlight:function(e)
		{
			if(e==null||e==undefined)return;if(e.nodeName!="TR")return;
			e.className = e.className.replace(/(?:^\s*|\s+)highlight(?=\s*$|\s+)/g,"");
		}
	};
	
	var t=document.getElementsByTagName("TABLE");
	for(var i=0;i<t.length;i++)
	{
		if((" "+t[i].className+" ").indexOf("highlight")!=-1)for(var j=0;j<t[i].tBodies.length;j++)for(var k=0;k<t[i].tBodies[j].rows.length;k++)
			if(t[i].tBodies[j].rows[k].className.indexOf("donthighlight")<0)
			{
				t[i].tBodies[j].rows[k].onmouseover=function(){oRowHighlight.highlight(this);}
				t[i].tBodies[j].rows[k].onmouseout=function(){oRowHighlight.dehighlight(this);}
			}
	}
}
function ignite(name)
{
	var func = eval("init"+name);
	if(window.addEventListener){window.addEventListener('load',func,false);}else if(window.attachEvent){window.attachEvent('onload',func);}
}
function addEvent(el,ev,f)
{
	if(el.addEventListener){el.addEventListener(ev,f,false);}
	else if(el.attachEvent){el.attachEvent('on'+ev,f);}
	else el['on'+ev]=f;
}
