function Swap(newimg)
{
	document.getElementById('Thumb').src = '/_images/photo' + newimg + '.jpg';
}

function bigopen(which,wname,wide,high) {
	window.open(which,wname,"menubar=0,status=0,width="+wide+",height="+high+"");
}

function colorEnlargement(img,alt) {
	document.getElementById('colorEnlargement').style.display = 'block';
	document.getElementById('colorImage').src = img;
	document.getElementById('colorImage').alt = alt;
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
