function changeImage(obj) {
		obj.src = (obj.src.substr((obj.src.length - 9),5) == '-over') ? obj.src.substr(0, (obj.src.length - 9)) + '.gif' : obj.src.substr(0, (obj.src.length - 4)) + '-over.gif';
}
function setHoverImages(){
 var aIMG = document.getElementsByTagName('IMG');
 for(var i=0;i<aIMG.length;i++)
 	if (aIMG[i].className == 'hoverimg'){
 		aIMG[i].onmouseover = function(){ changeImage(this);this.style.cursor='pointer'; }
 		aIMG[i].onmouseout = function(){ changeImage(this);this.style.cursor='default'; }
 	}
 	 var aDIV = document.getElementsByTagName('DIV')
 	  for(var i=0;i<aDIV.length;i++)
 	 if (aDIV[i].className == 'pointer'){
		aDIV[i].onmouseover = function(){ this.style.cursor='pointer'; }
 		aDIV[i].onmouseout = function(){ this.style.cursor='default'; }		
 	}
}



