function gotoURL(list){
	var URL = list.options[list.selectedIndex].value
	if(URL != ""){
		document.location = URL
	}
}

var newWin
function openPic(file_name,imgx,imgy,alt){
	var x = parseInt(imgx) + 30
	var y = parseInt(imgy) + 35
	var sidePos = 620 - x
	newWin = window.open("loading_image.html","imageWindow","status=no,width=" + x + ",height=" + y + ",directories=no,toolbar=no,location=no,menubar=no,resizable=yes,scrollbars=no,left=" + sidePos + ",top=20")
	newWin.document.write("<HTML><HEAD><TITLE>LillyWEB :: " + alt + "<\/TITLE><\/HEAD><BODY  BGCOLOR='#ff9933'  onBlur='window.close()'><CENTER>")
	newWin.document.write("<TABLE ALIGN='center'><TR><TD>")
	newWin.document.write("<IMG SRC='" + file_name + "' WIDTH='" + imgx + "' HEIGHT='" + imgy + "' BORDER='1' ALT='LillyWEB :: " + alt + "' TITLE='LillyWEB :: " + alt + "'>")
	newWin.document.write("<\/TD><\/TR><\/TABLE>")
	newWin.document.write("<\/CENTER><\/BODY><\/HTML>")
	newWin.document.close()
}

function closeChild(){
	if(window.newWin) newWin.close()
}