var root = ""



// Pop-up Video Window
function popUpVideo(theURL)
{
		var popup=window.open(theURL,'popup','width=400,height=380,left=10,top=10');
		popup.focus();
}



// Pop-up Thanks Window
function popUpThanks(which) {
		URL = 'thanks/default.htm?' + which
		var popup=window.open(URL,'popup','width=610,height=380,left=168,top=220,scrollbars=yes');
		popup.focus();
}








//preload images

if (document.images) {
/////MENU
nav1 = new Image();
nav1.src = root + "images/b01.gif"
nav1on = new Image();
nav1on.src = root + "images/b01_on.gif"

nav2 = new Image();
nav2.src = root + "images/b02.gif"
nav2on = new Image();
nav2on.src = root + "images/b02_on.gif"

nav3 = new Image();
nav3.src = root + "images/b04.gif"
nav3on = new Image();
nav3on.src = root + "images/b04_on.gif"

nav4 = new Image();
nav4.src = root + "images/b03.gif"
nav4on = new Image();
nav4on.src = root + "images/b03_on.gif"

nav5 = new Image();
nav5.src = root + "images/b05.gif"
nav5on = new Image();
nav5on.src = root + "images/b05_on.gif"



//other rollovers
photo1 = new Image();
photo1.src = root + "images/photo01.jpg"
photo1on = new Image();
photo1on.src = root + "images/photo01_on.jpg"

photo2 = new Image();
photo2.src = root + "images/photo02.jpg"
photo2on = new Image();
photo2on.src = root + "images/photo02_on.jpg"

photo3 = new Image();
photo3.src = root + "images/photo03.jpg"
photo3on = new Image();
photo3on.src = root + "images/photo03_on.jpg"

photo4 = new Image();
photo4.src = root + "images/photo04.jpg"
photo4on = new Image();
photo4on.src = root + "images/photo04_on.jpg"

artist1 = new Image();
artist1.src = root + "images/haynal.jpg"
artist1on = new Image();
artist1on.src = root + "images/haynal_on.jpg"

artist2 = new Image();
artist2.src = root + "images/kris.jpg"
artist2on = new Image();
artist2on.src = root + "images/kris_on.jpg"

artist3 = new Image();
artist3.src = root + "images/artist01.jpg"
artist3on = new Image();
artist3on.src = root + "images/artist01_on.jpg"

artist4 = new Image();
artist4.src = root + "images/laura.jpg"
artist4on = new Image();
artist4on.src = root + "images/laura_on.jpg"

artist5 = new Image();
artist5.src = root + "images/ralston.jpg"
artist5on = new Image();
artist5on.src = root + "images/ralston_on.jpg"


artist6 = new Image();
artist6.src = root + "images/caitlin.jpg"
artist6on = new Image();
artist6on.src = root + "images/caitlin_on.jpg"








}

//swap Images
function swapImg(imgObj, imgSrc) {
	document.images[imgObj].src = eval(imgSrc + '.src');
}

// Pop-up Window
function popUp(theURL,width,height,more)
{
		var popup=window.open(theURL,'popup','width='+width+',height='+height+','+more);
		popup.focus();
}

