/*---------------------------------------------------------   How Latitudes Become Forms : JavaScript (Calendar)   December 2002      New Media Initiatives   -eric williams, brent gustafson-----------------------------------------------------------*/var lastHilite = 1;var SwapOn = false;var numImgs = 12;var curLink = 1;var workStart = 1;var thisTime = null;	function changeHilite(div) {  if (div) {	document.getElementById("cal" + lastHilite).style.display = "none";	document.getElementById("cal" + div).style.display = "block";	lastHilite = div;  }}function updateBack() {	if (window.innerWidth) {		theHeight = window.innerHeight;	}	else if (document.documentElement && document.documentElement.clientHeight) {		theHeight = document.documentElement.clientHeight;	}	else if (document.body) {		theHeight = document.body.clientHeight;	}	if (theHeight < 750) {		theHeight = 750;	}	var HowHigh = theHeight + "px";	document.getElementById("backfill").style.height = HowHigh;}//slideshow    function swapOff() {	clearInterval(thisTime);   	SwapOn = false;}function swapAgain() {	if (SwapOn == false) {    	thisTime = setInterval("imgSwap(1);",10000);    	SwapOn = true;    }}   	function imgSwap(direction) { 	if (direction == 1){		if (curLink >= thumbnail.length-1) {			curLink = workStart;		}		else { 			curLink++;		}	}		if (direction == 0){		if (curLink <= workStart) {			curLink = thumbnail.length-1;		}		else {			curLink--;		}	}		document.artist.src = "/images/artist/" + thumbnail[curLink];	document.getElementById('a-label').innerHTML = desc[curLink];}function showFlash() {	document.getElementById("flashnav").style.display = "block";	document.getElementById("chunks").style.display = "none";}function hideFlash() {	document.getElementById("flashnav").style.display = "none";	document.getElementById("chunks").style.display = "block";}function enlarge() {	var image = "/artists/enlarge.wac?id=" + ids[curLink];	var myWin = window.open(image, "myWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=yes,width=600,height=400");	myWin.focus();}function popup(url,width,height) {	var properties = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=yes,width=" + width + ",height=" + height;	var myPopup = window.open(url, "myPopup", properties);	myPopup.focus();}