<!--
// Pop Up window with any url
function popUp(url){
window.open(url,'pop','width=800,height=600,status=yes,resizable=yes,scrollbars=yes,top=40,left=200');
}
//pop up function


// Email
function maillink(lhs,rhs)
	{
	document.write("<a HREF=\"mailto");
	document.write(":" + lhs + "@");
	document.write(rhs + "\"class=gr>" + lhs + "@" + rhs + "<\/a>");
}

//for rolling
	var intPageNavCode;
	var strActiveImageName;
	var a = new Array()
	var b = new Array()
	var c = new Array()
	
	a[07] = new Image(); b[07] = new Image(); c[07] = new Image();
	a[07].src = 'images/home_off.gif';
	b[07].src = 'images/home_on.gif';
	c[07].src = 'images/home_up.gif';
	
	a[04] = new Image(); b[04] = new Image(); c[04] = new Image();
	a[04].src = 'images/contact_us_off.gif';
	b[04].src = 'images/contact_us_on.gif';
	c[04].src = 'images/contact_us_up.gif';
	a[03] = new Image(); b[03] = new Image(); c[03] = new Image();
	a[03].src = 'images/gallery_information_off.gif';
	b[03].src = 'images/gallery_information_on.gif';
	c[03].src = 'images/gallery_information_up.gif';
	a[02] = new Image(); b[02] = new Image(); c[02] = new Image();
	a[02].src = 'images/exhibitions_off.gif';
	b[02].src = 'images/exhibitions_on.gif';
	c[02].src = 'images/exhibitions_up.gif';
	a[01] = new Image(); b[01] = new Image(); c[01] = new Image();
	a[01].src = 'images/artists_off.gif';
	b[01].src = 'images/artists_on.gif';
	c[01].src = 'images/artists_up.gif';
	
	a[05] = new Image(); b[05] = new Image(); c[05] = new Image();
	a[05].src = 'images/artworks_off.gif';
	b[05].src = 'images/artworks_on.gif';
	c[05].src = 'images/artworks_up.gif';
	a[06] = new Image(); b[06] = new Image(); c[06] = new Image();
	a[06].src = 'images/artist_information_off.gif';
	b[06].src = 'images/artist_information_on.gif';
	c[06].src = 'images/artist_information_up.gif';
	
	function roll(name,idx)
	{
		if (idx != intPageNavCode)
		{
			document.images[name].src = b[idx].src;
		}
	}
	function unroll(name,idx)
	{
		if (idx != intPageNavCode)
		{
			document.images[name].src = a[idx].src;
		}
	}
	function LoadActiveImage()
	{
		//Load active image per constants set up on each page.
		document.images[strActiveImageName].src = c[intPageNavCode].src;
	}

function window_onload()
{
	//reference to over
	LoadActiveImage();
}
//-->