// 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;}
if ((mese == 2) && (giorno == 29)) { document.write('<img src="http://www.ilmioforum.com/mwf/lutto.gif" width="330" height="48" alt="Lutto e solidarietà per gli amici di forum" title="Lutto e solidarieta\' per gli amici di forum" />'); var nodate = 0;}
if ((mese == 2) && (giorno == 30)) { document.write('<img src="http://www.ilmioforum.com/mwf/lutto.gif" width="330" height="48" alt="Lutto e solidarietà per gli amici di forum" title="Lutto e solidarieta\' per gli amici di forum" />Tutti noi, cara amica di forum, ti siamo vicini.'); var nodate = 0;}



// Aprile	
if ((mese == 3) && (giorno == 1)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/01_04.png" width="460" height="100" alt="Pesce di Aprile" /> 1 Aprile. Attenzione agli scherzetti.'); var nodate = 0;}
if ((mese == 3) && (giorno == 4)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/04_04.png" width="460" height="100" alt="Buona Pasqua" />Auguri di Buona Pasqua.'); var nodate = 0;}
if ((mese == 3) && (giorno == 5)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/05_04.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/img_eventi/anfora.png" width="460" height="100" alt="Monterosso al Mare 5 Terre" /> Forum Party a Monterosso al Mare (5 Terre).'); var nodate = 0;}


// Maggio	
if ((mese == 4) && (giorno == 1)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/01_05.gif" width="460" height="100" alt="Festa dei Lavoratori" /> Buon 1 Maggio.'); var nodate = 0;}
if ((mese == 4) && (giorno == 9)){ document.write('<img src="http://www.ilmioforum.com/img_eventi/09_05.gif" width="460" height="100" alt="Festa della Mamma" /> Festa della Mamma! Auguri a tutte le Mamme.'); var nodate = 0;}


// Giugno
if ((mese == 5) && (giorno == 2)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/06_02.png" 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/img_eventi/06_16.png" width="460" height="100" alt="13 anni fa nasceva il sito Web-Link" /> 13esimo Compleanno del sito Web-Link.it'); var nodate = 0;}
if ((mese == 5) && (giorno == 21)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/06_21.png" width="460" height="100" alt="E che sia una bella Estate" /> Buona Estate a tutti'); var nodate = 0;}

// Luglio



// Agosto
if ((mese == 7) && (giorno == 10)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/08_10.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/img_eventi/08_15.png" width="460" height="100" alt="Buon Ferragosto" />Buon Ferragosto.'); var nodate = 0;}

if ((mese == 7) && (giorno == 26)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/umbria.png" width="460" height="100" alt="Umbrian Pic-nic Forum Party 2010" />Partenze per Umbrian Pic-nic Forum Party 2010.'); var nodate = 0;}

if ((mese == 7) && (giorno == 27)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/umbria.png" width="460" height="100" alt="Umbrian Pic-nic Forum Party 2010" />Visita ad Assisi per Umbrian Pic-nic Forum Party 2010.'); var nodate = 0;}
if ((mese == 7) && (giorno == 28)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/umbria.png" width="460" height="100" alt="Umbrian Pic-nic Forum Party 2010" />Visita Spello e Bevagna per Umbrian Pic-nic Forum Party 2010.'); var nodate = 0;}
if ((mese == 7) && (giorno == 29)) { document.write('<img src="http://www.ilmioforum.com/img_eventi/umbria.png" width="460" height="100" alt="Umbrian Pic-nic Forum Party 2010" />Oggi Pic-nic Umbrian Forum Party 2010.'); 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 == 31)) { 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 == 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;}


 // 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 >= 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
		

