<!-- funzione popup pagina normale
function popup(page) {
	window.open(page,'popup','width=797,height=570,toolbar=yes,scrollbars=yes,resizable=yes');	
}
/*<A href='javascript:popup("nomeFile.htm")'>*/
// -->
// ----------------------------------------------------------------------------------------------
<!--
// fuunzione menu combo a tendina
function fal(val)
{
  if(val != "none")
  {
    index = val.split("|")
    window.open(index[0],index[1],"scrollbars=yes,toolbar=yes,resizable=yes");
  }
}
// -->
// ----------------------------------------------------------------------------------------------
<!--
// popup che si apre da sopra a Dx e si espande verso la SX
function expandingWindow(website) {
var windowprops='width=1,height=1,scrollbars=yes,status=no,resizable=yes,toolbar=yes,location=no'
var heightspeed = 20; 
var widthspeed = 20; 
var leftdist = 0;   
var topdist = 0; 
var lunghezza = 798;
var altezza = 598;

if(lunghezza == 0){
lunghezza = window.screen.availWidth;
		}
if(altezza == 0){
altezza = window.screen.availHeight;
}

if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
var winwidth = lunghezza;
var winheight = altezza;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'mywindow');
}
// -->
// ----------------------------------------------------------------------------------------------
<!--
// fuunzione popup esplosiva <a href="#" onClick="explosion('info_crudelta/info_dic_2001.htm','pop')">
function explosion(url)
{
 if (!document.layers&&!document.all&&!document.getElementById)
  {
   paramstp="height=300,width=400,top=0,left=0,scrollbars=yes,location=no"+
   ",directories=no,resizable=yes"
   var crw=window.open(url,"",paramstp);
   if (crw.focus){crw.focus();}
   return;
  }
 var winwidth=100;
 var winheight=100;
 var winreswidth=798;
 var winresheight=598;
 var LeftPosition=(winreswidth-winwidth)/2;
 var TopPosition=winresheight-winheight/2;

 var paramstr="left="+LeftPosition+",top="+TopPosition+",width="+winwidth+
              ",height="+winheight+",toolbar=no,menubar=no,location=no,"+
              "status=no,scrollbars=yes,resizable=yes";
 var crw=open(url,"",paramstr);

 crw.resizeBy(0,-40);

 var resspeed=50;
 var wspeed=winreswidth/resspeed;
 var hspeed=winresheight/resspeed;
 var x=wspeed;
 
 while (x)
 {
  crw.resizeBy(x,0);
  winwidth+=x;
  LeftPosition=(winreswidth-winwidth)/2;
  TopPosition-=wspeed;
  if (LeftPosition<0) LeftPosition=0;
  if (TopPosition<0) TopPosition=0;
  crw.moveTo(LeftPosition,TopPosition);
  if (winwidth>=winreswidth) x=0;

 }
 crw.moveTo(0,0);
 
 var y=hspeed;
 winheight=500;
 while(y)
 {
  crw.resizeBy(0,y);
  winheight+=y;
  if (winheight>=winresheight) y=0;
 }
 crw.resizeTo(winreswidth,winresheight);
 if (crw.focus){crw.focus();}
}
// -->
// ----------------------------------------------------------------------------------------------
<!--
function newWindow(mypage,myname,w,h,features) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }else{winl = 0;wint =0;}
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}
/*<a href="JavaScript:newWindow('imagefoto/evita.jpg','popup',430,300,'')">*/
// -->
// ----------------------------------------------------------------------------------------------

<!--
function in_basso(){
var dimension = screen.height;
window.scroll(0,dimension);
}
function in_alto(){
window.scroll(0,0);
}
/*<input type="button" value="Torna Su" OnClick="en_haut()" Color:lightgreen)">*/
// -->

// ----------------------------------------------------------------------------------------------

<!--
// popup a redimensione immagine
// D'autres scripts et des tutoriaux sur http://www.toutjavascript.com-popup a dimensione immagine
function PopupImage(img) {
	titre="Popup Image - Tout Javascript.com";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
//-->
// ----------------------------------------------------------------------------------------------
//Expand dal centro:collegamento:<a href="nomeLink.htm" onClick="expand();">
<!-- 
function expand() {
for(x = 0; x < 50; x++) {
window.moveTo(screen.availWidth * -(x - 50) / 100, screen.availHeight * -(x - 50) / 100);
window.resizeTo(screen.availWidth * x / 50, screen.availHeight * x / 50);
}
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
}
//-->
// ----------------------------------------------------------------------------------------------
//Disabilita la visione dei links nella statusBar
<!-- 

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
//-->
// ----------------------------------------------------------------------------------------------
//script ultima modifica
<!-- 
function MakeArray(n) {
this.length = n
return this
}
function FormatDate(ltime) {
var lm = ltime.getMinutes();
nomJour = new MakeArray(7);
nomJour[1] = "Domenica" ; nomJour[2] = "Lunedi" ; nomJour[3] = "Martedi"; nomJour[4] = "Mercoledi";
nomJour[5] = "giovedi" ; nomJour[6] = "Venerdi" ; nomJour[7] = "Sabato";
nomMois = new MakeArray(12);
nomMois[1] = "Gennaio" ; nomMois[2] = "Febbraio" ; nomMois[3] = "Marzo" ; nomMois[4] = "Aprile";
nomMois[5] = "Maggio" ; nomMois[6] = "giugno" ; nomMois[7] = "Luglio" ; nomMois[8] = "Agosto";
nomMois[9] = "Settembre" ; nomMois[10] = "Ottobre" ; nomMois[11] = "Novembre" ; nomMois[12] ="Dicembre";
var ltext =nomJour[ltime.getDay()+1]+" "+ltime.getDate()+" "+nomMois[ltime.getMonth()+1]+" "+ltime.getYear()+" ore "+ltime.getHours()+"h";
ltext += ((lm < 10) ? "0" : "")+lm;
return ltext;
}
//-->
// ----------------------------------------------------------------------------------------------
//bordo quadro browser
<!-- 
if (document.all)
document.body.style.cssText="border:9 ridge #000000"
//-->