Saved as mouseOver.js: --------------------------- function preload () { if (document.images) { var dir = "/buttons/"; for (var i = 0; i < arguments.length; i++) { var btDown = arguments[i] + "Down"; self[btDown] = new Image(); self[btDown].src = dir + btDown + ".gif"; var btOver = arguments[i] + "Over" self[btOver] = new Image(); self[btOver].src = dir + btOver + ".gif"; } } } function overFunc (buttonName, mouseLoc) { if (document.images) { var dir = "/buttons/"; document[buttonName].src = dir + buttonName + mouseLoc + ".gif"; } } Saved as anything.html: --------------------------- "/main.html", "forums" => "/forums/", "sep1" => "blank", "pictures" => "/gallery/", ); ?> )"> $link) { if ($link == "blank") { echo ""; } else { echo ""; } } ?>
 
;
                                                echo ucfirst($title) .