function preloadImages() { login = new Image login.src = siteRoot +'images/menu/login.gif' login_over = new Image login_over.src = siteRoot +'images/menu/login_over.gif' mail = new Image mail.src = siteRoot +'images/top/mail.gif' mail_over = new Image mail_over.src = siteRoot +'images/top/mail_1.gif' print_out = new Image print_out.src = siteRoot +'images/top/print.gif' print_over = new Image print_over.src = siteRoot +'images/top/print_1.gif' sitemap = new Image sitemap.src = siteRoot +'images/top/sitemap.gif' sitemap_over = new Image sitemap_over.src = siteRoot +'images/top/sitemap_1.gif' } function hover(what,menut,color) { what.style.cursor = 'hand'; changeColor(what,'over',color) } function out(what,menut,color) { what.style.cursor = 'default'; changeColor(what,'out',color); window.status = '' } function hover(what,menut,color,href) { what.style.cursor = 'hand'; changeColor(what,'over',color); window.status = href } function hover_cal(what,href) { what.style.cursor = 'hand'; window.status = href } function out_cal(what) { what.style.cursor = 'default'; window.status = '' } function clicked(href) { //if(event.srcElement.tagName == 'TD') { href.click(); //} } function changeColor(what,action,color) { if (action == 'over') { what.style.background = color; } if (action == 'out') { what.style.background = color; } }