function data(){


var isnMonths=new Array("ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie");
var isnDays= new Array("<b>duminic&#259;</b>","<b>luni</b>","<b>mar&#355;i</b>","<b>miercuri</b>","<b>joi</b>","<b>vineri</b>","<b>sāmb&#259;t&#259;</b>","<b>duminic&#259;</b>");
today = new Date()
hr = today.getHours()
an = today.getYear()

document.write("<left>")
if ((hr == 1) || (hr == 2) || (hr == 3))
document.write("<span lang='ro' style='font-size:8.0pt;color:#000099;font-family: Verdana, Arial, Helvetica, sans-serif;'>Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "
			+"<font color=red>"+"Este trecut de miezul nop&#355;ii!")+"</span>"
if ((hr == 4) || (hr == 5) || (hr == 6) || (hr == 7) || (hr == 8) || (hr == 9) || (hr == 10) || (hr == 11))
document.write("<span lang='ro' style='font-size:8.0pt;color:#0000ff;font-family: Verdana, Arial, Helvetica, sans-serif;'>"+"Bun&#259; diminea&#355;a!  "+"Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "+"</span>"
)
if ((hr == 12) || (hr == 13) || (hr == 14) || (hr == 15) || (hr == 16) || (hr == 17))
document.write("<span lang='ro' style='font-size:8.0pt;color:#000099;font-family: Verdana, Arial, Helvetica, sans-serif;'>"+"Bun&#259; ziua! Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "+"</span>")
if ((hr == 18) || (hr == 19) || (hr == 20) || (hr == 21) || (hr == 22))
document.write("<span lang='ro' style='font-size:8.0pt;color:#000099;font-family: Verdana, Arial, Helvetica, sans-serif;'>"+"Bun&#259; seara! "+" Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "+"</span>")
if (hr == 23)
document.write("<span lang='ro' style='font-size:8.0pt;color:#000099;font-family: Verdana, Arial, Helvetica, sans-serif;'>"+"Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "
			+"<font color=red>"+"Este aproape miezul nop&#355;ii!"+"</span>")
if (hr == 0)
document.write("<span lang='ro' style='font-size:8.0pt;color:#000099;font-family: Verdana, Arial, Helvetica, sans-serif;'>"+"Ast&#259;zi este: "+isnDays[today.getDay()]
			+", "+today.getDate()+" "+isnMonths[today.getMonth()]+" "+an+". "
			+"<font color=red>"+"Este miezul nop&#355;ii!"+"</span>")
document.write("</font></left>")
}

data();
