function domRollover() {
	if (navigator.userAgent.match(/Opera (\S+)/)) {
		var operaVersion = parseInt(navigator.userAgent.match(/Opera (\S+)/)[1]);
	}
	if (!document.getElementById||operaVersion <7) return;

	var imgarr=document.getElementsByTagName('img');
	var imgPreload=new Array();
	var imgSrc=new Array();
		for (i=0;i<imgarr .length;i++){
		if (imgarr[i].className.indexOf('domroll')!=-1){
			imgSrc[i]=imgarr[i].getAttribute('src');

			if (imgSrc[i].indexOf('-over') < 0) {
			
				imgPreload[i]=new Image();
					imgPreload[i].src = imgSrc[i].replace(/\.(\w+\.{0})$/, "-over.$1");			
					imgarr[i].setAttribute('xsrc', imgSrc[i]);
				imgarr[i].setAttribute('osrc', imgPreload[i].src);
					imgarr[i].onmouseover=function(){

					this.setAttribute('src', this.getAttribute('osrc'))
				}
				imgarr[i].onmouseout=function(){
					this.setAttribute('src',this.getAttribute('xsrc'))
				}
			}
		}
	}
}

