Event.observe(window, 'load', pageLoad);
 
function pageLoad()
{
                $$("a.doPopup").each
                (
                                function(a)
                                {
                                                a.observe
                                                (
                                                                'mouseover',
                                                                function(e)
                                                                {
                                                                                var divId = a.getAttribute("id").replace("a", "d");
																				var div = $(divId);   								
																				if(div)
																					{
																						div.appear({from: "0", to: "1"});
																						div.addClassName('test');							
																					}									
                                                                }
                                                );
                                }
                );
                               
                $$("a.doPopup").each
                (
                                function(a)
                                {
                                                a.observe
                                                (
                                                                'mouseout',
                                                                function(e)
                                                                {
                                                                                var divId = a.getAttribute("id").replace("a", "d");
																				var div = $(divId);										       
																				if(div)
																					{
																						div.appear({from: "1", to: "0"});
																						div.removeClassName('test');											
																					}
                                                                }
                                                );
                                }
                );
}