//* image rollover *// function overImg( obj ) { obj.src = obj.src.replace( 'off.gif', 'over.gif' ); } function outImg( obj ) { obj.src = obj.src.replace( 'over.gif', 'off.gif' ); } function tabChange(obj,num,imgId,total) { for (i=1; i<=total; i++) { var imgIds = document.getElementById(imgId+i); var imgSrc = imgIds.getAttribute("src"); if (i==num) { document.getElementById(obj+i).style.display = ''; imgIds.setAttribute("src",imgSrc.replace("_off","_on")); } else { document.getElementById(obj+i).style.display = 'none'; imgIds.setAttribute("src",imgSrc.replace("_on","_off")); } } }