<!-- Begin POP-UP sizeS AND OPTIONS CODE
var print_button 		= "yes"		// PRINT BUTTON ON/OFF
var close_button 		= "yes"		// CLOSE BUTTON yes/no
var right_click_on		= "yes"		// POPUP RIGHT CLICK PROTECTION ON
var background_color	= "FAE4BB"	// VIEWER BACKGROUND COLOR
var viewer	 			= "no"		// yes/FULL SCREEN OR no/POPUP MODE
var background_image	= "../images/background-popups.jpg"			// BACKGROUND IMAGE
var right_click_text	= "You may not right mouse click this page"	// text FOR THE RIGHT CLICK PROTECTION
// THESE OPTIONS DO NOT WORK IN FULL SCREEN MODE
var view_width 			= 660		// GALLERY POPUP width
var view_height 		= 500		// GALLERY POPUP height
function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars=0,location=0,statusbar=0,status=no,left=0,top=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open("","")
}
popwin.document.open()
popwin.document.write('<html><head><title>Picture Close Up</title>')
popwin.document.write('<link rel="StyleSheet" href="../misc/bengal.css" type="text/css">')
   if (right_click_on == "yes") {
popwin.document.write('<meta HTTP-EQUIV="imagetoolbar" content="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body  background="'+background_image+'" bgcolor="#'+background_color+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
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="0"><tr><td>')
popwin.document.write('<img src="'+URL+'" name="show" class="Popupborder"><br>')
popwin.document.write('</td></tr></table>')
popwin.document.write('<br>')
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td>')
   if (close_button == "yes") {
popwin.document.write('<form style="margin: 0px"><input type="button" value="Close" onmouseover="this.classname=\'buttonon-popups\'" onmouseout="this.classname=\'button-popups\'" class="button-popups" onClick=\'self.close()\'>&nbsp;</form>')
}
   if (print_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="Print Image" onClick=\'window.print()\' class="button-popups" onmouseover="this.classname=\'buttonon-popups\'" onmouseout="this.classname=\'button-popups\'">&nbsp;</form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}
//  End -->
