var imgToUpdate;var imgUpdateInterval;var currentPic;var prevPIC;var nextPIC;function initUpdate(whichIMG,interval) {	imgUpdateInterval = interval;	imgToUpdate = whichIMG;	upDateLoop();}function updateLiveImage() {			myImg = document.images[imgToUpdate];	myImg.src = "model.jpg?refresh="+Math.ceil(Math.random()*20000000033);		}function upDateLoop() {	updateLiveImage();	setTimeout("upDateLoop()", imgUpdateInterval);}/////////////// OPEN CONSOLE ////////////////*function popLiveConsole() {	w = 820;	h = 600;		proj = 'liveConsole';	consoleURL = '/projects/umbro/liveevent/';	arg = 'width='+w+',height='+h+',left=26,top=26, scrollbars=yes';	popup = (document.layers) ? window.open(consoleURL, proj, arg) : window.open(consoleURL, proj, arg);	popup.focus();	}*//////////////// POP ///////////////function pop(popW,popH,popName,popURL,popScroll) {	w = popW;	h = popH;	l = ((screen.width-w)/2);	t = ((screen.height-h)/2.5);	proj = popName;	projURL = popURL;	scrollWin = popScroll;	arg = 'width='+w+',height='+h+',left='+l+',top='+t+',scrollbars='+scrollWin+',resize=no';	popup = window.open(projURL, proj, arg);	popup.focus();	}///////////// GALLERY LINK ///////////////function galleryOVER() {	div333Show = 'gallery_link_over';	if(document.getElementById) {		document.getElementById(div333Show).style.visibility = 'visible';	} else if(document.layers) {		document.layers[div333Show].style.visibility = 'visible';	} else {		document.all[div333Show].style.visibility = 'visible';	}}	function galleryOUT() {	div333Hide = 'gallery_link_over';	if(document.getElementById) {		document.getElementById(div333Hide).style.visibility = 'hidden';	} else if(document.layers) {		document.layers[div333Hide].style.visibility = 'hidden';	} else {		document.all[div333Hide].style.visibility = 'hidden';	}}///////////// GALLERY PREV/NEXT ///////////////currentPic = 1;prevPIC = 1;nextPIC = 1;totalPic = 11;function prev() {	if (currentPic>1) {		currentPic--;	} else {		currentPic=totalPic;	}	for (i=1;i<=totalPic;i++) {		hidePIC = 'gallery'+i;		if(document.getElementById) {			document.getElementById(hidePIC).style.visibility = 'hidden';		} else if(document.layers) {			document.layers[hidePIC].style.visibility = 'hidden';		} else {			document.all[hidePIC].style.visibility = 'hidden';		}			}	prevPIC = 'gallery'+currentPic;	if(document.getElementById) {		document.getElementById(prevPIC).style.visibility = 'visible';		document.getElementById('navnum').innerHTML = '('+currentPic+' of '+totalPic+')';	} else if(document.layers) {		document.layers[prevPIC].style.visibility = 'visible';		document.layers['navnum'].innerHTML = '('+currentPic+' of '+totalPic+')';	} else {		document.all[prevPIC].style.visibility = 'visible';		document.all['navnum'].innerHTML = '('+currentPic+' of '+totalPic+')';	}}function next() {	if (currentPic<totalPic) {		currentPic++;	} else {		currentPic=1;	}	for (i=1;i<=totalPic;i++) {		hidePIC = 'gallery'+i;		if(document.getElementById) {			document.getElementById(hidePIC).style.visibility = 'hidden';		} else if(document.layers) {			document.layers[hidePIC].style.visibility = 'hidden';		} else {			document.all[hidePIC].style.visibility = 'hidden';		}	}	nextPIC = 'gallery'+currentPic;	if(document.getElementById) {		document.getElementById(nextPIC).style.visibility = 'visible';		document.getElementById('navnum').innerHTML = '('+currentPic+' of '+totalPic+')';	} else if(document.layers) {		document.layers[nextPIC].style.visibility = 'visible';		document.layers['navnum'].innerHTML = '('+currentPic+' of '+totalPic+')';	} else {		document.all[nextPIC].style.visibility = 'visible';		document.all['navnum'].innerHTML = '('+currentPic+' of '+totalPic+')';	}}