	var flag = "" 
	var nflag = ""
	var sflag = ""
	var newWindow = ""

	function imgOn(imgName) {
			document[imgName].src = eval(imgName + "On.src");
	}

	function imgOff(imgName) {
		nflag = flag+"_nav"
		if (nflag != imgName) {
		document[imgName].src = eval(imgName + "Off.src");
		}
	}
	
	function divShow(divShowName) {
	Reference = eval("document.getElementById('" + divShowName + "').style")
	Reference.visibility = "visible";
	flag = divShowName
	}
	
	function divHide(divHideName) {
	Reference = eval("document.getElementById('" + divHideName + "').style")
	Reference.visibility = "hidden"
	}
	
	function opening() {
	openingimage = new Array("goldchains", "maisy", "louis", "texashill", "clarissa", "susani");
	x = Math.round(Math.random()*5);
	visual = openingimage[x];
	initImage(visual);
	flag = visual;
	}

	function bigpicture(name) {
	divShow(name);
	divHide(sflag);
	sflag = name;
	}
	
	function openSee() {
	sflag = "bigpicture_1";
	}

	function popup(url) {
		newWindow=window.open(url,'name','height=700,width=510');
		if (window.focus) {newWindow.focus()}
	}