// *** Hover fuctions

function hoverOn(el) {
	elSource = el.src.substring(el.src.indexOf("images/") + "images/".length);
	ccs = elSource.charAt(0);
	if (ccs != "a") {
		newSource = "h" + elSource;
		el.src = "images/" + newSource;
	}
}
	
function hoverOff(el) {
	cs = el.src.substring(el.src.indexOf("images/") + "images/".length);
	ccs = cs.charAt(0);
	if (ccs == "h") {
		newSource = el.src.substring(el.src.indexOf("images/h") + "images/h".length);
		el.src = "images/" + newSource;
	}
}

function showLayer(el) {
	if (el == 1) {
		document.getElementById("video2").style.display = "none";
		document.getElementById("video1").style.display = "block";
		document.getElementById("vl2").className = "smallLink";
		document.getElementById("vl1").className = "smallLinkActive";
	}
	if (el == 2) {
		document.getElementById("video1").style.display = "none";
		document.getElementById("video2").style.display = "block";
		document.getElementById("vl1").className = "smallLink";
		document.getElementById("vl2").className = "smallLinkActive";
	}
}