var IE6 = false /*@cc_on || @_jscript_version < 5.7 @*/;

function eightBit(className) {
	if (IE6) {
		var els = $('img.eightBit');
		for (var n = 0; n < els.length; n++) {
			els[n].src = els[n].src.replace('.png', '.8bit.png');
		}
	}
}

function initNav() {
	// Add the hover events to the navigation.
	$('#nav img.hover').each(function() {
		this.onmouseover = navHoverOn;
		this.onmouseout = navHoverOff;
	});
}

function navHoverOn() {
	this.src = this.src.replace('.jpg', '-hover.jpg');
}
function navHoverOff() {
	this.src = this.src.replace('-hover.jpg', '.jpg');
}

