// JavaScript Document
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		navigation2_01_over = newImage("images/Inter_icon_mouseover.jpg");
		navigation2_02_over = newImage("images/S&V_icon_mouseover.jpg");
		preloadFlag = true;
	}
}

function Launch(page, width, height) { 
OpenWin = this.open("viewer.html?file=" + page, "photos1","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width="+width+",height="+height+""); 
}

function Launch2(page, width, height) { 
OpenWin = this.open("viewer2.html?file=" + page, "movie1","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width="+width+",height="+height+""); 
} 

function Launch3(page, width, height) { 
OpenWin = this.open("viewer3.html?file=" + page, "movie1","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width="+width+",height="+height+""); 
} 
