<!-- Begin POP-UP SIZES AND OPTIONS CODE

// ONLY USE lowercase FOR ALL OPTIONS
// CHANGE ANY OF THESE VARIABLES TO CHANGE THE PROPERTIES AND LOOK AND FEEL

// WINDOW TITLE.
var window_title = "Close Up"
// EDITABLE CAPTION.
var image_caption = ""
// GALLERY POPUP PORTRAIT WIDTH IN PIXELS.
var view_width = 535
// GALLERY POPUP PORTRAIT HEIGHT IN PIXELS.
var view_height = 700
// GALLERY POPUP LANDSCAPE WIDTH IN PIXELS.
var view_width_L = 710
// GALLERY POPUP LANDSCAPE HEIGHT IN PIXELS.
var view_height_L = 550
// GALLERY CLOSE BUTTON ON/OFF. USE "yes" or "no" ONLY.
var close_button = "yes"
// RIGHT CLICK PROTECTION ON USE "yes" or "no" ONLY.
var right_click_on = "yes"
// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF.
var scrollbarS = "0"
// BACKROUND COLOR OF THE GALLERY POPUP.
var background_colors = "0000cc"
// BACKROUND COLOR OF THE GALLERY POPUP.
var background_image = "Images/images/stripedbkg.gif"
// PICTURE OUTLINE COLOR.
var border_color = "000000"


// PORTRAIT FUNCTION
function popUpP(URL,image_caption) {
var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=0,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>'+window_title+'</title>')
  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(\'You may not right mouse click this page.\')')
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_colors+'" leftmargin=0 rightmargin=0 topmargin=10 bottommargin=0 marginheight=10 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<img src="'+URL+'">')
  if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Close" onClick=\'self.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('<br></td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}

// LANDSCAPE FUNCTION
function popUpL(URL,image_caption) {
var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=0,width='+view_width_L+',height='+view_height_L+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>'+window_title+'</title>')
  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(\'You may not right mouse click this page.\')')
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_colors+'" 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%" >')
popwin.document.write('<tr><td align="center"><img src="'+URL+'"></td></tr>')
  if (image_caption) {
popwin.document.write('<tr><td align="center"><b>'+image_caption+'</b></td></tr>')
}
  if (close_button == "yes") {
popwin.document.write('<tr><td valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Close" onClick=\'self.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('<br></td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}

// -->
