function preload(imgObj,imgSrc) { if (document.images) { eval(imgObj+' = new Image()') eval(imgObj+'.src = "'+imgSrc+'"') } } function changeImage(imgName,imgObj) { if (document.images) { document.images[imgName].src = eval(imgObj+".src") } } function overLight(tag) { tag.style.backgroundColor = 'ccccff'; tag.style.cursor = 'hand'; } function outLight(tag) { tag.style.backgroundColor = 'cccccc'; } function overDark(tag) { tag.style.backgroundColor='ccccff'; tag.style.cursor='hand'; } function outDark(tag) { tag.style.backgroundColor='FFFFFF'; }