<!--
Declaration ('view',25,25);
Declaration ('home',25,25);
Declaration ('video',25,25);
Declaration ('stills',25,25);

function Declaration (name,width,height) {
	if(document.images) {
		eval("Rollimage_"+name+" = new Array()")
		eval("Rollimage_"+name+"[0]"+" = new Image("+width+","+height+")")
		eval("Rollimage_"+name+"[0].src"+" = '/pics/"+name+"_grey.gif'")
		eval("Rollimage_"+name+"[1]"+" = new Image("+width+","+height+")")
		eval("Rollimage_"+name+"[1].src"+" = '/pics/"+name+"_orange.gif'")
	}
}

function SwapOut(name,id){
	if (document.images){
		document["image_"+id].src = eval("Rollimage_"+name+"[1].src");
    	return true;
  	}
}

function SwapBack(name,id){
	if (document.images){
		document["image_"+id].src = eval("Rollimage_"+name+"[0].src");
    	return true;
  	}
}


//
//  POP-UP - OnClick - PHOTOS
//

var theWindow = null;
function OpenTheWindow(theURL,theTarget) {
	var theWidth = 620;
	var theHeight = 500;
	LeftPosition = (screen.width) ? (screen.width-theWidth)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-theHeight)/2 : 0;
	theSettings = 'height='+theHeight+',width='+theWidth+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=yes';
	theWindow = window.open(theURL,theTarget,theSettings);
	theWindow.focus();
	return true;
	}

//
//  POP-UP - OnClick - MOVIES
//

var theWindow = null;
function OpenTheWindow_mov(theURL,theTarget) {
	var theWidth = 750; // movie is 720 or 640px wide
	var theHeight = 620; // movie is 540 or 480px high
	LeftPosition = (screen.width) ? (screen.width-theWidth)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-theHeight)/2 : 0;
	theSettings = 'height='+theHeight+',width='+theWidth+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=yes';
	theWindow = window.open(theURL,theTarget,theSettings);
	theWindow.focus();
	return true;
	}

//
//  POP-UP - OnClick - PAINTINGS
//

var theWindow = null;
function OpenTheWindow_paint(theURL,theTarget) {
	var theWidth = 590; // a painting is 550px wide
	var theHeight = 540; //
	LeftPosition = (screen.width) ? (screen.width-theWidth)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-theHeight)/2 : 0;
	theSettings = 'height='+theHeight+',width='+theWidth+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=yes';
	theWindow = window.open(theURL,theTarget,theSettings);
	theWindow.focus();
	return true;
	}

//-->
