<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> <!-- .input { border-style: none; font-family: Arial; font-size:7pt; color : black; } --> </style> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Vampira</title> <meta content="Nemesis" name="author"> </head> <body style="background-color: transparent;"> <div style="position: absolute; left: 0px; right: auto; top: 0px; bottom: auto; z-index: 0;"> <div style="position: absolute; left: 29px; right: auto; top: 213px; bottom: auto; z-index: 1;"><span id="clock" class="input"></span> <script type="text/javascript" language="JavaScript1.2"> <!-- function aggiorna() { var mesi = new Array("Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno", "Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"); var nomeGiorno = new Array('Domenica','Lunedi','Martedi','Mercoledi','Giovedi', 'Venerdi','Sabato'); Data = new Date() Giorno = Data.getDate() Mese = Data.getMonth() Anno = Data.getFullYear() Ore = Data.getHours() Minuti = Data.getMinutes() Secondi = Data.getSeconds() if ((Ore > 6) && (Ore < 13)) Saluto = "Buon giorno,benvenuti<br>nel mio mondo tenebroso" if ((Ore > 12) && (Ore < 18)) Saluto = "Buon pomeriggio,benvenuti<br>nel mio mondo tenebroso" if ((Ore > 17) && (Ore < 22)) Saluto = "Buona sera,benvenuti<br>nel mio mondo tenebroso" if (Ore > 21) Saluto = "Buona notte,benvenuti<br>nel mio mondo tenebroso" if (Ore < 7) Saluto = "Buona notte,benvenuti<br>nel mio mondo tenebroso" if (Minuti < 10) Minuti = "0" + Minuti if (Secondi < 10) Secondi = "0" + Secondi messaggio = Saluto + "!<br> Sono le ore " + Ore + ":" + Minuti + ":" + Secondi + "<br>di " + nomeGiorno[Data.getDay()] + ", " + Giorno + " " + mesi[Mese] + " " + Anno if(!document.layers){ aggsec = setTimeout("aggiorna();",1000);} if (document.getElementById){ document.getElementById('clock').innerHTML=messaggio;} else if (document.all){ document.all.clock.innerHTML=messaggio;} else if(document.layers){ document.write(messaggio);} } aggiorna(); //--> </script></div> <a href="../index.html" target="_blank"><img src="http://i260.photobucket.com/albums/ii2/nemesis74/terra%20dei%20draghi-data%20ora%20saluto/vampira.gif" border="0"></a></div> </body> </html>