// Highlite menu item
function menuOver(name) {
 	if (document.images) {
		setImage(name + "-marker", "marker");
	}
}

// Darken menu item
function menuOut(name) {
 	if (document.images) {
		setImage(name + "-marker", "nomarker");
	}
}

// Change image
function setImage(source, destination) {
	img = eval(destination);
	if (img.complete) {
		document[source].src = img.src;
	}
}

// Open large photo
function CallPhoto(Code, Imgname, Width, Height) {
	popupWin = window.open('photo.asp?Code=' + Code + '&Imgname=' + Imgname + '&Width=' + Width + '&Height=' + Height, 'photo', 'width=' + (Width + 30) + ',height=' + (Height + 70))
	popupWin.focus();
	return false;
}

// Open large poster
function CallPoster(Code, Imgname, Width, Height) {
	popupWin = window.open('poster.asp?Code=' + Code + '&Imgname=' + Imgname + '&Width=' + Width + '&Height=' + Height, 'poster', 'width=' + (Width + 30) + ',height=' + (Height + 70))
	popupWin.focus();
	return false;
}
