<!--ns4 = (document.layers)? true:falseie4 = (document.all)? true:falsefunction MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)      if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}// PreLoadImages Function : carica le immagini per creare i bottoni.MM_preloadImages('/images/img_prev_on.gif','/images/img_next_on.gif','/images/img_prev.gif','/images/img_next.gif');function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}function fullScreen(theURL) {	wWidth = screen.Width-10;	wHeight = screen.Height-30;	wPosX=0;	wPosY=0;	var s="screenX="+wPosX+", screenY="+wPosY+", width="+wWidth+", height="+wHeight;	var CWIN=window.open(theURL,'original',"border=no,directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,"+s,true)	CWIN.moveTo(Math.ceil(wPosX),Math.ceil(wPosY))	CWIN.focus()	return CWIN}// Creazione DATA in formato correttovar dayarray=new Array("Dom","Lun","Mar","Mer","Gio","Ven","Sab")var montharray=new Array("Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic")function getthedate(){	var mydate=new Date();	var year=mydate.getYear();	if (year < 1000) year+=1900;	var day=mydate.getDay();	var month=mydate.getMonth();	var daym=mydate.getDate();	if (daym < 10) daym="0"+daym;	var hours=mydate.getHours();	var minutes=mydate.getMinutes();	var seconds=mydate.getSeconds();	if (hours==0) hours=24;	if (minutes<=9) minutes="0"+minutes;	if (seconds<=9) seconds="0"+seconds;	var cdate=dayarray[day]+" "+daym+"-"+montharray[month]+"-"+year+" "+hours+":"+minutes; // +":"+seconds;	return cdate;}// TASTO DXvar msgdx="All photographs © 2001-2008 FORZA PRO Photography - All Right Reserved";// Funzione che riconosce il browser e restituisce false per la disabilitazione function destro(ev) {	if (navigator.appName == 'Netscape' && (ev.which == 3 || ev.which == 2)) {		alert(msgdx);		return false;	}	else if (navigator.appName == 'Microsoft Internet Explorer' &&		   (event.button == 2 || event.button == 3)) {		alert(msgdx);		return false; 	} return true; }// Verifica la pressione del tasto destro nell'intero documento document.onmousedown=destro; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=destro;// I cicli catturano l'evento onmousedown e lo associano alla funzione destro for (var i=0; i<document.images.length; i++) {	document.images[i].onmousedown=destro } for (var i=0; i<document.links.length; i++) {	document.links[i].onmousedown=destro }// Buttons Enlightment panelfunction LightOn(what) {	if (ie4) {	   what.style.backgroundColor = '#fcf6f0';	   what.style.color = '#000000';	} else { return; }}function LightOut(what) {	if (ie4) {	   what.style.backgroundColor = '#ccc6c0';	   what.style.color = '#000000';	} else { return; }}function RedirToTop(RedirFile)// La pagina non deve essere caricata redirect forzato// RedirFile -> pagina a cui si vuole reindizzare{	top.location.href = RedirFile;}function RedirIfIsInTop(RedirFile)// La pagina non deve essere caricata in _top// RedirFile -> pagina a cui si vuole reindizzare{if (top.location.href==document.location)	top.location.href = RedirFile;}function RedirIfNotInTop()// La pagina deve essere caricata in _top{if (top.location.href!=document.location)	top.location.href = document.location;}function RedirIfIsNotFrameName(NomeFrame, RedirFile) // La pagina è in un frame ma in un frame diverso// NomeFrame -> nome del frame da verificare// RedirFile -> pagina a cui si vuole reindizzare{if (self.parent.frames.length != 0 && window.name!=NomeFrame)	top.location.href = RedirFile; }// -->