function start(desktopURL,name,w,h,scroll)
{
    desktop = window.open(desktopURL, name,"toolbar=no,left=0,top=0,location=no,status=yes,menubar=no,width="+w+",height="+h+",scrollbars="+scroll+",resizable=yes")
}

function startnew(desktopURL,name,w,h,scroll)
{
    desktop = window.open(desktopURL, name,"toolbar=no,left=300,top=140,location=no,status=no,menubar=no,scrollbars="+scroll+",width="+w+",height="+h+",resizable=no")
}

function startwin(desktopURL,name)
{
    desktop = window.open(desktopURL, name)
}



var DDMMYY =0;								//document.write(dammidata(DDMMYY));
var MMDDYY =1;
var aggiungi=0;

function GetMonth(intMonth){
var MonthArray = new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre") 
return MonthArray[intMonth]                  
}

function dammidata(mode){
		
   var now = new Date();
   var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
   var intMonth  = now.getMonth()
   var mese = GetMonth(intMonth)
   var anno = now.getFullYear()
   if (mode==DDMMYY){
      var MonthDayYear =(dayNr+" "+mese+" "+anno);
   }else{
      var MonthDayYear =(mese+" "+dayNr+" "+anno);
   }
      return MonthDayYear;
}

function dammimeseanno(mode){
		
   var now = new Date();
   var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
   var intMonth  = now.getMonth()
	 var anno = now.getFullYear()
   var meseanno = GetMonth(intMonth)+ " " + anno
   
      return meseanno;
}

function dammifilehtm(mode){
		
   var now = new Date();
   var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
   var intMonth  = now.getMonth()
   var mese = GetMonth(intMonth)
   var anno = now.getFullYear()
   if (mode==DDMMYY){
      var MonthDayYear =(dayNr+" "+mese+" "+anno);
   }else{
      var MonthDayYear =(mese+" "+dayNr+" "+anno);
   }
      var filehtm = ('<APPLET CODE="yavs.class" codebase="./" WIDTH="276" HEIGHT="80" style="border: 2px ridge #CC6600; "><PARAM NAME="MSGTEXT"       VALUE="' + mese +'.htm"><PARAM NAME="FGCOLOR"       VALUE="#000000"><PARAM NAME="BGCOLOR"       VALUE="#DEDDF6"><PARAM NAME="HREFCOLOR"     VALUE="#0066ff">	<PARAM NAME="LINKCOLOR"     VALUE="#red">	<PARAM NAME="SPEED"         VALUE="40"><PARAM NAME="PAUSE"         VALUE="4000"><PARAM NAME="MOUSEOVERHOLD" VALUE="YES"><PARAM NAME="WAITTEXT"      VALUE="NO"><PARAM NAME="FONTNAME"      VALUE="Arial"><PARAM NAME="FONTSIZE"      VALUE="11"><PARAM NAME="HPAD"          VALUE="5"><PARAM NAME="VPAD"          VALUE="5"></APPLET>');
			return filehtm;
}


