setEvents = function() {
	
    nRoot = document.getElementById("rc");
    
    for (i=0; i<nRoot.childNodes.length; i++) 
    {
    	
        node = nRoot.childNodes[i];
        
        if (node.nodeName=="A") 
        {
        	
            node.onmouseover=function() {
        		if(this.childNodes[0].src.indexOf('_a.gif') != -1)
                {
        			
            		this.childNodes[0].src = this.childNodes[0].src.replace('_a.gif', '_b.gif');
            		
                }
            }
            node.onmouseout=function() {
            	
            	if((this.childNodes[0].src.indexOf('_b.gif') != -1) && this.className == '')
                {
        			
            		this.childNodes[0].src = this.childNodes[0].src.replace('_b.gif', '_a.gif');
                }
            }
        }
        
    }
}
window.onload=setEvents; 
