<!-- 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 close_button 	= "yes"		// CLOSE BUTTON yes/no
var print_button 	= "yes"		// PRINT BUTTON ON/OFF
var right_click_on	= "yes"		// POPUP RIGHT CLICK PROTECTION ON
var border_color	= "000000"	// PICTURE OUTLINE COLOR
var background_color	= "FFFFFF"	// VIEWER BACKGROUND COLOR
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE

var zoom	 	= "no"		// SHOW POPUP ZOOM LINKS
var right_click_text	= "Il tasto Dx è Disabilitato."	// TEXT FOR THE RIGHT CLICK PROTECTION


// THESE OPTIONS DO NOT WORK IN FULL SCREEN MODE

var view_width 		= 755		// GALLERY POPUP WIDTH
var view_height 	= 550		// GALLERY POPUP HEIGHT
var slideshow_width 	= 755		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 550		// SLIDESHOW POPUP WINDOW HEIGHT
var scrollbarS		= "0"		// Show scrollbars 0 for no 1 for yes

// START IMAGE VIEWER CODE


function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=0,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>Zoom Immagini</title>')
popwin.document.write('<link rel=StyleSheet href="home_file/styleQuad.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 bgcolor="#'+background_color+'" leftmargin="0" rightmargin="0" topmargin="2" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%"><tr><td valign="top" align="center">')
popwin.document.write('<TABLE width="750" height="513" background="gallery/bg_gallery.jpg" cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse: collapse"><tr><td align="center" valign="middle">')
popwin.document.write('<img src="'+URL+'" name="show"><br>')
popwin.document.write('</td></tr></table><br>')
popwin.document.write('<TABLE class="printhide" cellpadding="0" cellspacing="0" border="0"><tr><td class="printhide">')
   if (close_button == "yes") {
popwin.document.write('<form style="margin: 0px"><input type="button" value="Chiudi Finestra" 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="Sequenza Immagini" 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="Stampa Immagine" onClick=\'window.print()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups">&nbsp;</form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
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='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}
<!--
function globalWindowOpen(theURL,winName,features) {
	window.open(theURL,winName,features);
}
// -->
 

function blastOff1() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index1.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index1.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff2() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index2.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index2.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff3() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index3.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index3.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff4() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index4.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index4.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff5() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index5.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index5.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff6() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index6.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index6.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
function blastOff7() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index7.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index7.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}function blastOff77() {
var sWD = screen.width;
var sHT = screen.height;
self.moveTo(0,0);
window.resizeTo(sWD,sHT);

if ((sWD == 640) && (sHT == 480)) {
	alert("Your screen size is too small to display this site.  Please enlarge your screen size to at least 800x600. PC users: Right-click on your desktop and select the Settings tab. Mac users: Go to your Monitors Control Panel and select a larger size.");
	} else {
	if ((sWD == 800) && (sHT == 600)) {
globalWindowOpen('video/index77.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=10'); } else {
var targetLf = ((sWD/2)-395);
var targetTp = ((sHT/2)-260);
globalWindowOpen('video/index77.htm','Clip','width=790,height=521,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+targetTp+',left='+targetLf);
		}
	}
}
//  End -->
