The rollover buttons javascript doesn’t work on the homepage:
http://www.datetopia.com/
It works fine on other pages:
http://www.datetopia.com/services-dating-matchmaker-software-websites.html
Any ideas why?
<!—
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_over = newImage("images/home-over.gif");
products_over = newImage("images/products-over.gif");
portfolio_over = newImage("images/portfolio-over.gif");
services_over = newImage("images/services-over.gif");
contact_over = newImage("images/contact-over.gif");
preloadFlag = true;
}
}
//—>