// Andrea Bianchi http://www.web-link.it  1997 ~ 2010  Testate interne Forum

var calendario = new Date();
var ora = calendario.getHours();
var	mese = calendario.getMonth();
var giorno = calendario.getDate();
var nodate = 1;
function loadswf(swf,w,h){
   
     document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"");
     document.write("codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\"");
     document.write("width=\""+w+"\" height=\""+h+"\">");
     document.write("<param name='movie' value='"+swf+"' />\n");
     document.write("<param name='quality' value='high' /><param name='wmode' value='transparent' />\n");
     document.write("<embed src=\""+swf+"\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\"></embed>");
     document.write("</object>\n");
}

// Gennaio	
if ((mese == 0) && (giorno >= 1 && giorno <= 3)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/01_01F.gif" width="460" height="100" alt="" />AUGURI! Buon Anno 2010 AUGURI! a tutti i partecipanti del Forum.'); var nodate = 0;}

if ((mese == 0) && (giorno == 5)) {loadswf("http://www.ilmioforum.com/img_eventi/06_01F.swf",460,100); document.write('Questa sera arriva la Befana'); var nodate = 0;} 

if ((mese == 0) && (giorno == 6)) {loadswf("http://www.ilmioforum.com/img_eventi/06_01F.swf",460,100); document.write('Il forum di Web-Link augura Buona Befana a Tutti'); var nodate = 0;} 

// Febbraio	
if ((mese == 1) && (giorno == 14)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/14_02.gif" width="460" height="100" alt="" /> Oggi San Valentino - Auguri a tutti gli innamorati'); var nodate = 0;}

if ((mese == 1) && (giorno == 11)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/11_16_02.gif" width="460" height="100" alt="" />    W il Carnevale - Oggi Giovedi Grasso'); var nodate = 0;}

if ((mese == 1) && (giorno == 16)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/11_16_02.gif" width="460" height="100" alt="" />    W il Carnevale - Oggi Martedi Grasso'); var nodate = 0;}

// Marzo	

if ((mese == 2) && (giorno == 8)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/08_03.png" width="460" height="100" alt="Buon 8 Marzo" /> Auguri a tutte le donne del Forum'); var nodate = 0;}
if ((mese == 2) && (giorno == 19)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/19_03.gif" width="460" height="100" alt="Festa del Papa\'" /> Auguri a tutti i Papa\' del Forum'); var nodate = 0;}
if ((mese == 2) && (giorno == 21)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/21_03.gif" width="460" height="100" alt="W la primavera" /> Oggi primo giorno di Primavera'); var nodate = 0;}
if ((mese == 2) && (giorno == 28)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/28_03.gif" width="460" height="100" alt="Passaggio a ora legale" /> Orologi avanti per l\'ora legale'); var nodate = 0;}


// Aprile	
if ((mese == 3) && (giorno == 1)){ document.write('<img src="http://www.ilmioforum.com/mwf/FPrimoaprile.gif" width="460" height="100" alt="Pesce di Aprile" /> 1 Aprile. Attenzione agli scherzetti.'); var nodate = 0;}
if ((mese == 3) && (giorno == 12)){ document.write('<img src="http://www.ilmioforum.com/mwf/FPasqua.gif" width="460" height="100" alt="Buona Pasqua" />Auguri di Buona Pasqua.'); var nodate = 0;}
if ((mese == 3) && (giorno == 13)){ document.write('<img src="http://www.ilmioforum.com/mwf/FPasquetta.gif" width="460" height="100" alt=" Buona Pasquetta" /> Buona Pasquetta.'); var nodate = 0;}
if ((mese == 3) && (giorno == 25)){ document.write('<img src="http://www.ilmioforum.com/mwf/F25aprile.gif" width="460" height="100" alt="Anniversario della Liberazione" /> Buon Anniversario della Liberazione.'); var nodate = 0;}

// Maggio	
if ((mese == 4) && (giorno == 1)){ document.write('<img src="http://www.ilmioforum.com/mwf/F1Maggio.gif" width="460" height="100" alt="Festa dei Lavoratori" /> Buon 1 Maggio.'); var nodate = 0;}
if ((mese == 4) && (giorno == 10)){ document.write('<img src="http://www.ilmioforum.com/mwf/FMamma.gif" width="460" height="100" alt="Festa della Mamma" /> Festa della Mamma! Auguri a tutte le Mamme.'); var nodate = 0;}
if ((mese == 4) && (giorno == 17)){ document.write('<img src="http://www.ilmioforum.com/mwf/inter.gif" width="460" height="100" alt="Campioni di Italia" /> Oggi gli Interisti festeggiano la vittoria dello scudetto.'); var nodate = 0;}
if ((mese == 4) && (giorno == 31)){ document.write('<img src="http://www.ilmioforum.com/mwf/giroit.gif" width="460" height="100" alt="<Giro di Italia" /> Si conclude oggi il giro di Italia ciclistico.'); var nodate = 0;}

// Giugno
if ((mese == 5) && (giorno == 2)) { document.write('<img src="http://www.ilmioforum.com/mwf/F2giugno.gif" width="460" height="100" alt="Festa della Repubblica" /> Festa della nostra Repubblica.'); var nodate = 0;}
if ((mese == 5) && (giorno == 16)) { document.write('<img src="http://www.ilmioforum.com/mwf/FCompleanno.gif" width="460" height="100" alt="12 anni fa nasceva il sito Web-Link" /> Compleanno del sito Web-Link.it'); var nodate = 0;}
if ((mese == 5) && (giorno == 21)) { document.write('<img src="http://www.ilmioforum.com/mwf/pisan.gif" width="460" height="100" alt="Forum party a Pisa" />Oggi Forum Party all\'ombra della torre Pisana.'); var nodate = 0;}

// Luglio

if ((mese == 6) && (giorno == 20)) { document.write('<img src="http://www.ilmioforum.com/mwf/FLuna.gif" width="460" height="100" alt="40 anniversario conquista della Luna" />Oggi Anniversario 40 anni dalla conquista della Luna.'); var nodate = 0;}

// Agosto
if ((mese == 7) && (giorno == 10)) { document.write('<img src="http://www.ilmioforum.com/mwf/FStelle.gif" width="460" height="100" alt="San Lorenzo notte di stelle cadenti" />San Lorenzo: notte di stelle cadenti.'); var nodate = 0;}
if ((mese == 7) && (giorno == 15)) { document.write('<img src="http://www.ilmioforum.com/mwf/FFerr.gif" width="460" height="100" alt="Buon Ferragosto" />Buon Ferragosto.'); var nodate = 0;}

if ((mese == 7) && (giorno == 28)) { document.write('<img src="http://www.ilmioforum.com/mwf/FLumache.png" width="460" height="100" alt="Partenza per Umbian Forum Party" />Partenza per Umbrian Forum Party.'); var nodate = 0;}
if ((mese == 7) && (giorno == 29)) { document.write('<img src="http://www.ilmioforum.com/mwf/FLumache.png" width="460" height="100" alt="Oggi pic-nic Umbrian Forum Party" />Oggi pic-nic Umbrian Forum Party.'); var nodate = 0;}
if ((mese == 7) && (giorno == 30)) { document.write('<img src="http://www.ilmioforum.com/mwf/FLumache.png" width="460" height="100" alt="Oggi lumache Umbrian Forum Party" />Oggi lumache a conclusione del Forum Party in Umbria.'); var nodate = 0;}


 // Settembre 
 if ((mese == 8) && (giorno == 9)) { document.write('<img src="http://www.ilmioforum.com/mwf/Forumcompl.gif" width="460" height="100" alt="Oggi compleanno del forum" />Oggi compleanno del forum: 7 Anni.'); var nodate = 0;}
if ((mese == 8) && (giorno == 23)) { document.write('<img src="http://www.ilmioforum.com/mwf/FAutunno.gif" width="460" height="100" alt="E arrivato l Autunno" /> E arrivato il fresco Autunno.'); var nodate = 0;} 
 
 
 // Ottobre

if ((mese == 9) && (giorno == 2)) { document.write('<img src="http://www.ilmioforum.com/mwf/FNonni.gif" width="460" height="100" alt="Festa dei Nonni" />Oggi Festa dei Nonni'); var nodate = 0;}
if ((mese == 9) && (giorno == 12)) { document.write('<img src="http://www.ilmioforum.com/mwf/FAmerica.png" width="460" height="100" alt="Anniversario scoperta America" /> Oggi Anniversario scoperta della America'); var nodate = 0;} 
if ((mese == 9) && (giorno == 25)) { document.write('<img src="http://www.ilmioforum.com/mwf/FSolare.gif" width="460" height="100" alt="Ritorno all ora solare" /> Oggi orologi indietro per il ritorno all\'ora solare'); var nodate = 0;} 
if ((mese == 9) && (giorno == 31)) {loadswf("http://www.ilmioforum.com/mwf/FHallow.swf",460,100); document.write('Notte di Halloween'); var nodate = 0;} 
 
 
 
// Novembre
if ((mese == 10) && (giorno == 1)) { document.write('<img src="http://www.ilmioforum.com/mwf/FNNFP.gif" width="460" height="100" alt="November Northlands Forum Party" />Oggi: November Northlands Forum Party.'); var nodate = 0;}
if ((mese == 10) && (giorno == 2)) { document.write('<img src="http://www.ilmioforum.com/mwf/FDef.gif" width="460" height="100" alt="Commemorazione Defunti" />Oggi Commemorazione dei Defunti.'); var nodate = 0;}
if ((mese == 10) && (giorno == 4)) { document.write('<img src="http://www.ilmioforum.com/mwf/F4nov.gif" width="460" height="100" alt="Anniversario della Vittoria" />Oggi Anniversario della Vittoria.'); var nodate = 0;}

if ((mese == 10) && (giorno == 5)) { document.write('<img src="http://www.ilmioforum.com/mwf/FEvviva.gif" width="460" height="100" alt="oggi sono contento" />Il Forum di Web-Link ti augura una buona giornata.'); var nodate = 0;}

if ((mese == 10) && (giorno == 9)) { document.write('<img src="http://www.ilmioforum.com/mwf/FMuro.gif" width="460" height="100" alt="caduta muro di Berlino" />Oggi 20 anni dalla caduta del muro di Berlino.'); var nodate = 0;}

if ((mese == 10) && (giorno == 28)) { document.write('<img src="http://www.ilmioforum.com/mwf/FVotautente.gif" width="360" height="100" alt="" /> Buon Giorno, due giorni alla chiusura del voto utente dell\'anno. <strong>Clicca qui</strong>'); var nodate = 0;}

if ((mese == 10) && (giorno == 30)) { document.write('<img src="http://www.ilmioforum.com/mwf/FVotautente.gif" width="360" height="100" alt="" /> Buon Giorno, <strong>ultimo giorno</strong> per votare gli utenti dell\'anno 2009. <strong>Clicca qui</strong>'); var nodate = 0;}


 // Dicembre
 
 if ((mese == 11) && (giorno >= 8 && giorno <= 19)) {loadswf("http://www.ilmioforum.com/img_eventi/25_12F.swf",460,100); document.write('Auguri Auguri Auguri'); var nodate = 0;} 
 
 if ((mese == 11) && (giorno == 20)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/20_12F.gif" width="455" height="96" alt="Forum Party di Natale" /> Oggi:  Northwest Christmas Forum Party'); var nodate = 0;}
 
 if ((mese == 11) && (giorno >= 21 && giorno <= 24)) {loadswf("http://www.ilmioforum.com/img_eventi/25_12F.swf",460,100); document.write('Il Forum di Web-Link ti augura Buone Feste'); var nodate = 0;} 

 if ((mese == 11) && (giorno == 25)) {loadswf("http://www.ilmioforum.com/img_eventi/25_12F.swf",460,100); document.write('Il Forum di Web-Link ti augura Buon Natale'); var nodate = 0;} 

 if ((mese ==  11) && (giorno == 26)) {loadswf("http://www.ilmioforum.com/img_eventi/25_12F.swf",460,100); document.write('Il Forum di Wewb-Link ti augura Buon Santo Stefano'); var nodate = 0;} 

 if ((mese == 11) && (giorno >= 27 && giorno <= 30)) {loadswf("http://www.ilmioforum.com/img_eventi/25_12F.swf",460,100); document.write('Il Forum di Web-Link ti augura  Buone Feste'); var nodate = 0;} 

 if ((mese == 11) && (giorno == 31)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/31_12F.gif" width="455" height="96" alt="Pronti per il nuovo Anno!!!" /> Il forum di Web-Link ti augura buon fine Anno 2009! '); var nodate = 0;}
 
  
if (nodate) {
 		
		   if(ora < 4)
        {
		document.write('<img src="http://www.ilmioforum.com/mwf/title.gif" width="330" height="48" alt="Forum di Web-Link" /> Il Forum di Web-Link ti augura Buona Notte.'); 
       	}
        else
        if(ora < 12)
        {        
        document.write('<img src="http://www.ilmioforum.com/mwf/title.gif" width="330" height="48" alt="Forum di Web-Link" /> Il Forum di Web-Link ti augura Buona Giornata.'); 
		}
        else
        if(ora < 18)
        {
        document.write('<img src="http://www.ilmioforum.com/mwf/title.gif" width="330" height="48" alt="Forum di Web-Link" /> Il Forum di Web-Link ti augura Buon Pomeriggio.'); 
		}
        else
        {
        document.write('<img src="http://www.ilmioforum.com/mwf/title.gif" width="330" height="48" alt="Forum di Web-Link" /> Il Forum di Web-Link ti augura Buona Serata.'); 
		}
}		
		
   
// Andrea Bianchi http://www.web-link.it  1997 ~ 2010
		

