<!--

 giorno=new Array("Domenica", "Lunedi","Martedi","Mercoledi", "Giovedi", "Venerdi", "Sabato")
  mese=new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre",
                            "Ottobre", "Novembre", "Dicembre")
  oggi= new Date


leftPos=0

if(screen) { leftPos = screen.width-300 } 


function LANCIA_MENU_2(STRL)
{
         
      nuovafinestra=window.open(STRL,'SameWindow','width=200,height=560,left='+leftPos+',top=20') 	
      nuovafinestra.focus()
		
}


function AVVISO02(STR_URL) 
  {
     pause=true

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=420,innerHeight=60,screenX="+ 10 +",screenY=" + 100 + ";";
	var statusIE = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=420,height=60,left=" + 10 + ",top=" + 100 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w12=window.open(STR_URL,"new12Win",statusIE);	
	
	else
		w11=window.open(STR_URL,"new12Win",statusNN);	
     }
    else
    {
	var statusNN = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=420,innerHeight=60";
	var statusIE = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=420,height=60";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w11=window.open(STR_URL,"new12Win",statusIE);	
	}
	else
	{
		w11=window.open(STR_URL,"new12Win",statusNN);	
	}
      }
    pause=false
 
    w1.focus()
   }


 function AVVISO01(STR_URL) 
  {
     pause=true

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=280,innerHeight=146,screenX="+ 550 +",screenY=" + 480 + ";";
	var statusIE = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=280,height=146,left=" + 550 + ",top=" + 480 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"new1Win",statusIE);	
	
	else
		w1=window.open(STR_URL,"new1Win",statusNN);	
     }
    else
    {
	var statusNN = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=280,innerHeight=146";
	var statusIE = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=280,height=146";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"new1Win",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"new1Win",statusNN);	
	}
      }
    pause=false
 
    w1.focus()
   }


 function VIEW_AWEATHER(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "scrollbars=yes,toolbar=no,resizable=yes,innerWidth=650,innerHeight=520,screenX="+ 400 +",screenY=" + 50 + ";";
	var statusIE = "scrollbars=yes,toolbar=no,resizable=yes,width=650,height=520,left=" + 120 + ",top=" + 10 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "scrollbars=yes,toolbar=no,resizable=yes,innerWidth=650,innerHeight=520";
	var statusIE = "scrollbars=yes,toolbar=no,resizable=yes,width=650,height=520";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }

 function VIEW_BWEATHER(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=650,innerHeight=520,screenX="+ 400 +",screenY=" + 50 + ";";
	var statusIE = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=650,height=520,left=" + 120 + ",top=" + 10 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=650,innerHeight=520";
	var statusIE = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=650,height=520";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }

function DAILY_LOOP(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=960,innerHeight=690,screenX="+ 10 +",screenY=" + 10 + ";";
	var statusIE = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,width=960,height=690,left=" + 10 + ",top=" + 10 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=960,innerHeight=690";
	var statusIE = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,width=960,height=690";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }



function VIEW_CWEATHER(STR_URL) 
  {
     pause=true

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=780,innerHeight=420,screenX="+ 400 +",screenY=" + 50 + ";";
	var statusIE = "status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=780,height=420,left=" + 2 + ",top=" + 70 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"new0Win",statusIE);	
	
	else
		w1=window.open(STR_URL,"new0Win",statusNN);	
     }
    else
    {
	var statusNN = "status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=780,innerHeight=420";
	var statusIE = "status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=780,height=420";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"new0Win",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"new0Win",statusNN);	
	}
      }
    pause=false
   }


function VIEW_SHOWFOTO(STR_URL) 
  {
     pause=true

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "status=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,innerWidth=780,innerHeight=500,screenX="+ 2 +",screenY=" + 50 + ";";
	var statusIE = "status=no,menubar=no,toolbar=no,scrollbars=no,resizable=yes,width=780,height=500,left=" + 2 + ",top=" + 2 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w2=window.open(STR_URL,"new2Win",statusIE);	
	
	else
		w2=window.open(STR_URL,"new2Win",statusNN);	
     }
    else
    {
	var statusNN = "status=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,innerWidth=780,innerHeight=500";
	var statusIE = "status=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,width=780,height=500";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w2=window.open(STR_URL,"new2Win",statusIE);	
	}
	else
	{
		w2=window.open(STR_URL,"new2Win",statusNN);	
	}
      }
    pause=false
   }





 function VIEW_RAMSATSHOW(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=no,toolbar=no,scrollbars=no,resizable=yes,innerWidth=790,innerHeight=660,screenX="+ 2 +",screenY=" + 10 + ";";
	var statusIE = "menubar=no,toolbar=no,scrollbars=no,resizable=yes,width=790,height=660,left=" + 2 + ",top=" + 10 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=no,toolbar=no,scrollbars=no,resizable=yes,innerWidth=790,innerHeight=660";
	var statusIE = "menubar=no,toolbar=no,scrollbars=no,resizable=yes,width=790,height=660";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }




 function VIEW_16_9(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=790,innerHeight=440,screenX="+ 2 +",screenY=" + 200 + ";";
	var statusIE = "menubar=no,toolbar=no,scrollbars=no,resizable=no,width=790,height=440,left=" + 2 + ",top=" + 200 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=no,toolbar=no,scrollbars=no,resizable=no,innerWidth=650,innerHeight=520";
	var statusIE = "menubar=no,toolbar=no,scrollbars=no,resizable=no,width=650,height=520";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }


function PDF(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=800,innerHeight=500,screenX="+ 1 +",screenY=" + 1 + ";";
	var statusIE = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=500,left=" + 1 + ",top=" + 1 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=800,innerHeight=520";
	var statusIE = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=520";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }


function VIEW_800(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=820,innerHeight=660,screenX="+ 1 +",screenY=" + 1 + ";";
	var statusIE = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,width=820,height=660,left=" + 1 + ",top=" + 1 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=820,innerHeight=660";
	var statusIE = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=820,height=660";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }



function VIEW_ANIM(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=520,innerHeight=760,screenX="+ 1 +",screenY=" + 1 + ";";
	var statusIE = "menubar=yes,toolbar=no,scrollbars=yes,resizable=yes,width=520,height=760,left=" + 1 + ",top=" + 1 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,innerWidth=520,innerHeight=760";
	var statusIE = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=520,height=760";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }


 function VIEW_9_16(STR_URL) 
  {

     if(parseInt(navigator.appVersion) >= 4)
     {
	var statusNN = "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=750,innerHeight=640,screenX="+ 2 +",screenY=" + 1 + ";";
	var statusIE = "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=750,height=640,left=" + 2 + ",top=" + 2 + ";";


	if(navigator.appName == "Microsoft Internet Explorer")
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	
	else
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
     }
    else
    {
	var statusNN = "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,innerWidth=750,innerHeight=620";
	var statusIE = "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=750,height=620";

	if(navigator.appName == "Microsoft Internet Explorer")
	{
		w1=window.open(STR_URL,"ControlWindow",statusIE);	
	}
	else
	{
		w1=window.open(STR_URL,"ControlWindow",statusNN);	
	}
      }
   }


function startSound1()
{
 document.Sound1.play()
}

function pauseSound1()
{
 document.Sound1.pause()
}

function stopSound1()
{
 document.Sound1.stop()
}

function changeVol1(changeBy)
{
 currentVol=document.Sound1.GetVolume()
  if(currentVol < 100 && currentVol >0)
     {
      document.Sound1.volume(currentVol+changeBy)
     }
}

function audioSound1()
{ 
   
  
}


-->
