window.onload = function() {	
	domRollover();
}

domRollover = function() {
	if (navigator.userAgent.match(/Opera (\S+)/)) {
		var operaVersion = parseInt(navigator.userAgent.match(/Opera (\S+)/)[1]);
	}
	if (!document.getElementById || operaVersion <7) return;
	
	$$('.domroll').each(function(thisel) {
		thisel.off = thisel.src;
		thisel.over = thisel.className.match(/domroll (\S+)/)[1];
		
		thisel.addEvent('mouseover', function() {thisel.src = thisel.over});
		thisel.addEvent('mouseout', function() {thisel.src = thisel.off});
    }); 	
}