document.write( "<div style='color: black; line-height:1.1em; background: #ffffff; border:0px; padding: 2px; font-family: arial; font-size: 10px; '>doma&#263;ica: <a href='http://casadevainilla.blogspot.com/2010/09/ajme-koliko-nas-je-tema.html' style='color:black'>Mihaela</a><br />")
document.write( "tema: kukuruz<br />")
var millisecs_per_day=86400000
// set countdown time in milliseconds
// put desired day as arguments to Date.UTC 
// in the order:
// year, month (remember January is 0), day of month, offset from GMT
// NOTE: we are using the offset because that represents midnight 
// (beginning of the day) in a specific timezone
var countdown_time=Date.UTC(2010,08,30,+0);
// get the current time and convert to milliseconds
var now=new Date();
var now_millisecs=now.valueOf();

var day_cnt= Math.ceil(( countdown_time - now_millisecs)/86400000 )

// display the number of days left (or since)
if (day_cnt == 21 )
{
document.write("jo&#353; " + day_cnt + " dan")
}
else if (day_cnt > 1 && day_cnt != 21)
{
document.write("jo&#353; " + day_cnt + " dana")
}
else if (day_cnt == 1 )
{
document.write("jo&#353; " + day_cnt + " dan")
}
else if (day_cnt == 0 )
{
document.write("poslednji dan za u&#269;e&#353;&#263;e")
}
else
{
// multiple days ago
}
document.write("</div>")