<!-- CONTROLS ARTIST SIDEBAR IMAGES -->
// Some variables

var base= "../images/new_home/"
var nrm = new Array();
var omo = new Array();
var stuff = new Array('dumovich', 'conrad','palodine', 'vivian', 'whiting' , 'barn', 'viarosa', 't6', 'saeta');

// Pre-load part.

if (document.images)
{
	for (i=0;i<stuff.length;i++)
	{
		nrm[i] = new Image;
		nrm[i].src = base + stuff[i] + ".jpg"
		omo[i] = new Image;
		omo[i].src = base + stuff[i] + "_on.jpg";
	}
}


// The functions: first mouseover, then mouseout

function over(no)
{
	if (document.images)
	{
		document.images[stuff[no]].src = omo[no].src
	}
}

function out(no)
{
	if (document.images)
	{
		document.images[stuff[no]].src = nrm[no].src
	}
}

<!-- CONTROLS ARTIST HEADER MENU TEXT-IMAGES -->
// Some variables

var base2= "images/header/"
var nrm2 = new Array();
var omo2 = new Array();
var stuff2 = new Array('home', 'tours', 'store', 'about', 'contact');

// Pre-load part.

if (document.images)
{
	for (i=0;i<stuff2.length;i++)
	{
		nrm2[i] = new Image;
		nrm2[i].src = base2 + stuff2[i] + ".gif"
		omo2[i] = new Image;
		omo2[i].src = base2 + stuff2[i] + "_on.gif";
	}
}


// The functions: first mouseover, then mouseout

function over2(no)
{
	if (document.images)
	{
		document.images[stuff2[no]].src = omo2[no].src
	}
}

function out2(no)
{
	if (document.images)
	{
		document.images[stuff2[no]].src = nrm2[no].src
	}
}


// allows onchange location change without triggering popup blocker:
function change(val){ 
var a = val.options[val.selectedIndex].value; 
	val.form.action = a; 
	val.form.submit();
} 