<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES FOR THE GALLERY IMAGE VIEWING


var slideshow_button 	= "yes"		// SLIDESHOW BUTTON yes/no
var print_button 	= "no"		// 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	= "370C06"	// VIEWER BACKGROUND COLOR
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE


var background_image	= "picts/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 		= 750		// GALLERY POPUP WIDTH
var view_height 	= 525		// GALLERY POPUP HEIGHT
var slideshow_width 	= 750		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 525		// SLIDESHOW POPUP WINDOW HEIGHT








// COPYRIGHT 2006 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// START IMAGE VIEWER CODE







function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars=0,location=0,statusbar=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="coolstyle.css" type="text/css">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
var message="You may not right mouse click this page.";
if (navigator.appName == 'Microsoft Internet Explorer'){
function NOclickIE(e) {
if (event.button == 2 || event.button == 3) {
alert(message);
return false;
}
return true;
}
document.onmousedown=NOclickIE;
document.onmouseup=NOclickIE;
window.onmousedown=NOclickIE;
window.onmouseup=NOclickIE;
}
else {
function NOclickNN(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=NOclickNN; }
document.oncontextmenu=new Function("alert(message);return false")
}
popwin.document.write('<script language="JavaScript" type="text/javascript">\n')
popwin.document.write('<!-- Begin\n')
popwin.document.write('var message="You may not right mouse click this page.";\n')
popwin.document.write('if (navigator.appName == \'Microsoft Internet Explorer\'){\n')
popwin.document.write('function NOclickIE(e) {\n')
popwin.document.write('if (event.button == 2 || event.button == 3) {\n')
popwin.document.write('alert(message);\n')
popwin.document.write('return false;\n')
popwin.document.write('}\n')
popwin.document.write('return true;\n')
popwin.document.write('}\n')
popwin.document.write('document.onmousedown=NOclickIE;\n')
popwin.document.write('document.onmouseup=NOclickIE;\n')
popwin.document.write('window.onmousedown=NOclickIE;\n')
popwin.document.write('window.onmouseup=NOclickIE;\n')
popwin.document.write('}\n')
popwin.document.write('else {\n')
popwin.document.write('function NOclickNN(e){\n')
popwin.document.write('if (document.layers||document.getElementById&&!document.all){\n')
popwin.document.write('if (e.which==2||e.which==3){\n')
popwin.document.write('alert(message);\n')
popwin.document.write('return false;\n')
popwin.document.write('}}}\n')
popwin.document.write('if (document.layers){\n')
popwin.document.write('document.captureEvents(Event.MOUSEDOWN);\n')
popwin.document.write('document.onmousedown=NOclickNN; }\n')
popwin.document.write('document.oncontextmenu=new Function("alert(message);return false")\n')
popwin.document.write('}\n')
popwin.document.write('//  End -->\n')
popwin.document.write('</script>\n');

}
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 (slideshow_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form action="slideshow.htm" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups">&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()
}


// START SLIDESHOW POPUP CODE




<!-- Begin POP-UP SIZES AND OPTIONS CODE


function popUpSlideshow(URL) {

day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}






//  End -->