
function changeImage(imageLevel, imageName, imageState){
	if (document.images) {
		document[imageName].src = imageLevel+'images/nav/'+imageName+'_'+imageState+'.gif';
	}
}
var imageArray=new Array()
function preLoadImages(){
	for (i=0;i<preLoadImages.arguments.length;i++){
		imageArray[i]=new Image();
		imageArray[i].src=preLoadImages.arguments[i];
}
}

function opengalleryWindow(theURL) { //v2.0
  var win = window.open(theURL,'ambientpop','status=yes,resizable=yes,width=640,height=440');
  win.focus();
}




