var Stat = 0;
var Posizione = 0;
var Scritta = new Array ();
Scritta[0] = "www.Omeo.it";
Scritta[1] = "Omeopatina On Line";
Scritta[2] = "www.Omeo.it";

function Scrolling()
{
 defaultStatus = Scritta[Stat].substring(Posizione,Scritta[Stat].length);
 if (Posizione++ == Scritta[Stat].length)
	{
	 Posizione = 0;
	 Stat = (Stat+1)%3;  // incremento i modulo 3	
	}
 Pausa = setTimeout("Scrolling()",250);
}

// ---------------------------------------------------

function on(imgpos)
{
 with(document.images[imgpos])
 src = src.substring(0, src.length - 5)+"b"+src.substring(src.length - 4);
 return true;
}
function off(imgpos)
{
 with(document.images[imgpos])
 src = src.substring(0, src.length - 5)+"a"+src.substring(src.length - 4);
 return true;
}
// ---------------------------------------------------

var oggi = new Date();

if (oggi.getDay() == "1")
        var giorno = "Lunedi"
else if (oggi.getDay() == "2")
        var giorno = "Martedi"
else if (oggi.getDay() == "3")
        var giorno = "Mercoledi"
else if (oggi.getDay() == "4")
        var giorno = "Giovedi"
else if (oggi.getDay() == "5")
        var giorno = "Venerdi"
else if (oggi.getDay() == "6")
        var giorno = "Sabato"
else if (oggi.getDay() == "0")
        var giorno = "Domenica";

if (oggi.getMonth()+1 == "1")
        var mese = "Gennaio"
else if (oggi.getMonth()+1 == "2")
        var mese = "Febbraio"
else if (oggi.getMonth()+1 == "3")
        var mese = "Marzo"
else if (oggi.getMonth()+1 == "4")
        var mese = "Aprile"
else if (oggi.getMonth()+1 == "5")
        var mese = "Maggio"
else if (oggi.getMonth()+1 == "6")
        var mese = "Giugno"
else if (oggi.getMonth()+1 == "7")
        var mese = "Luglio"
else if (oggi.getMonth()+1 == "8")
        var mese = "Agosto"
else if (oggi.getMonth()+1 == "9")
        var mese = "Settembre"
else if (oggi.getMonth()+1 == "10")
        var mese = "Ottobre"
else if (oggi.getMonth()+1 == "11")
        var mese = "Novembre"
else if (oggi.getMonth()+1 == "12")
        var mese = "Dicembre";
// ---------------------------------------------------

function glossario (dove)
{
 window.open(dove,'glossario','width=450,height=500,scrollbars=yes,resizable=no');
}