<!-- Code to popup gallery images
function popUp(imageIndex) {
	var view_width = 650
	var view_height = 475
	var opt='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
	var picTitle
	popwin=window.open("","",opt)
	popwin.document.open()
	popwin.document.write('<title></title>')
	popwin.document.write('<script language="JavaScript" src="scripts/gallery_pictures.js"></script>')
	popwin.document.write('<head>')
	popwin.document.write('<script language="JavaScript">')
	popwin.document.write('function setPicture(imageIndex) {')
	popwin.document.write('  bigpicture.src=getImageUrl(imageIndex);')
	popwin.document.write('}')
	popwin.document.write('</script>')
	popwin.document.write('</head>')
	popwin.document.write('<body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" ')
	popwin.document.write('onLoad=setPicture(' + imageIndex + ');>')
	popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" ><tr><td align="center">')
	popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#000000" style="border-collapse: collapse"><tr><td>')
	popwin.document.write('<img id="bigpicture" src=""><br>')
	popwin.document.write('</td></tr></table>')
	popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
	popwin.document.write('<br><form  style="margin: 0px"><input type=submit value="Close Window" onClick=\'self.close()\'  onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
	popwin.document.write('</td></tr></table>')
	popwin.document.write('</body>')
	popwin.document.close()
}
// End -->
