// JavaScript Document
function addLoadListener(fn)
{
    if (typeof window.addEventListener != 'undefined')
    {
        window.addEventListener('load', fn, false);
    }
    else if (typeof document.addEventListener != 'undefined')
    {
        document.addEventListener('load', fn, false);
    }
    else if (typeof window.attachEvent != 'undefined')
    {
        window.attachEvent('onload', fn);
    }
    else
    {
        var oldfn = window.onload;

        if (typeof window.onload != 'function')
        {
            window.onload = fn;
        }
        else
        {
            window.onload = function()
            {
                oldfn();
                fn();
            };
        }
    }
};

								//Call function Onload
								addLoadListener(initHighlight);
							
								
								//Highlight function effects all dl tags on the page
								function initHighlight(){
									
									var listRowsRhs = document.getElementsByTagName("dl");
									for(i=0; i < listRowsRhs.length; i++)
									
									{
										
										listRowsRhs[i].onmouseover=highlight;
										listRowsRhs[i].onmouseout=normal;
										
									}
								}
								
								function highlight(){
									var myId1= this.id;
									
									
									if(myId1.match("rhs_highlight"))
									{	
										newId1 = myId1.replace(/rhs_highlight_/, "");
								
										document.getElementById("rhs_highlight_" + newId1).style.background = "#DBF2FF";
									}
									else
									{
										document.getElementById(myId1).style.background = "#DBF2FF";	
									}
									
									
								}
								
								function normal(){
									var myId2= this.id;
									
									if(myId2.match("rhs_highlight"))
									{
											newId2 = myId2.replace(/rhs_highlight_/, "");
											
											if(newId2 % 2 == 1){
											
											document.getElementById("rhs_highlight_" + newId2).style.background = "#F6F6F6";
											
											}
											
											else{
											document.getElementById("rhs_highlight_" + newId2).style.background = "#FFFFFF";
											
											}
									}
									
									else
									{
										document.getElementById(myId2).style.background = "#FFFFFF";	
									}
								}
								
