<!-- Hide script from javascript impaired browsers

/* This script preloads and executes rollover images. */

if (document.images) {
	imageList = new Array (
		"sports",
		"music",
		"singles",
		"about"
		);

	buttonOn = new Array (imageList.length);
	buttonOff = new Array (imageList.length);

	for (i = 0; i < imageList.length; i ++) {
		buttonOn[imageList[i]] = new Image ();
		buttonOn[imageList[i]].src= "images/nav/" + imageList[i] + "_on.gif";
		buttonOff[imageList[i]] = new Image ();
		buttonOff[imageList[i]].src= "images/nav/" + imageList[i] + "_off.gif";
	}

	function change (button, state) {
		if (document.images[button] && (state == "on")) {
			document.images[button].src = buttonOn[button].src;
		}

		if (document.images[button] && (state == "off")) {
			setTimeout (function () {document.images[button].src = buttonOff[button].src}, 100);
		}
	}
}

// End hiding script -->
