window.onload = rolloverInit; function rolloverInit() { var i; for (i=0; i