/* Light Box Z-Tuned */
function changeheight(){
	if (window.innerHeight && window.scrollMaxY) {
		var yWithScroll = window.innerHeight + window.scrollMaxY;
		var lightBoxOverlayHeight = yWithScroll;
	} else {
		var yWithScroll = document.body.scrollHeight;
		var yHeight = document.body.clientHeight;
		var lightBoxOverlayHeight = yWithScroll + yHeight;
	}

	e = findObj("lightBoxOverlay");
	e.style.height = lightBoxOverlayHeight + 'px';
}

function showLB(containerId){
    obj = findObj(containerId);
	if (!obj) return;
	obj.style.display = 'block';
	changeheight();
}
function showLBContent(containerId){
	showLB('lightBoxOverlay');
	obj = findObj(containerId);
	if (!obj) return;
	obj.style.display = 'block';
}

function hideLB(containerId){
    obj2 = findObj(containerId)
	if (!obj2) return;
	obj2.style.display = 'none';
}
function thisMovie(movieName) {
    return document[movieName];
}
function stopAll() {
    thisMovie('popupFLV').stopReel();
}
function hideAll(){
    hideLB('lightFlash');
    hideLB('lightFLV');
	hideLB('lightBoxOverlay');
	try {
	    stopAll();
	}
	catch (e) {

	}
}