function highlightLink(obj) {
	obj.style.textDecoration = "underline";
}

function resetLink(obj) {
	obj.style.textDecoration = "none";
}


function highlightNav(obj) {
	obj.style.color = "pink";
}

function resetNav(obj) {
	obj.style.color = "white";
}

function linkClick(page) {
	 window.location = "../ver2/" + page + ".asp";
}

var ssPos = 1;

function animateSlideShow() {
	var ss1 = document.getElementById("ss1");	
	var ss2 = document.getElementById("ss2");

	ss1.src = ssImgs[ssPos];

	dojo.fadeOut({node: ss2, duration: 3000, 
		onEnd: function() {
			ss2.src = ss1.src;
			ss2.style.opacity = "1";
		}	
	}).play();
	ssPos++;

	if (ssPos == ssImgs.length) {
		ssPos = 0;
	}

}


function activateSlideShow() {
	document.getElementById("ss2").src = ssImgs[0];

	setInterval(animateSlideShow, 4500);
}
