<style>
#script_terminy
{
margin:0.5em 0 -1em 0;
font-family: Arial;
font-size: 22px;
 color:#f00;
 color:#f00;
}
body
{
width:102px;
height:118px;
padding:16px;
border:1px solid #ddd;
}

</style>

<body>
  <div id="script_terminy"></div>
<script type="text/javascript">
function time_countdown()
{
var d0,d1,dd, n,d,h,m,s, tt, x,y;
d0 = new Date();
//d1 = new Date("July 21, 2008");
//d1 = new Date(2008,7-1,21+1);
d1 = new Date(2014,2-1,28+1);	//28. 2. 2014
dd = d1.getTime() - d0.getTime();
x = 0;		y = 24*60*60*1000;	d = Math.floor((dd-x)/y);
x+= d*y;	y = 60*60*1000;		h = Math.floor((dd-x)/y);
x+= h*y;	y = 60*1000;		m = Math.floor((dd-x)/y);
x+= m*y;	y = 1000;		s = Math.floor((dd-x)/y);
tt =          d + " " + (d==1?"den":     (d>1 && d<5?"dny"     : "dn&iacute;"));
tt+= "<br>" + h + " " + (h==1?"hodina":  (h>1 && h<5?"hodiny"  : "hodin"));
tt+= "<br>" + m + " " + (m==1?"minuta":  (m>1 && m<5?"minuty"  : "minut"));
tt+= "<br>" + s + " " + (s==1?"sekunda": (s>1 && s<5?"sekundy" : "sekund"));
t = tt;
document.getElementById("script_terminy").innerHTML = t;
}
time_countdown();
var time_countdown0 = setInterval("time_countdown()",1000);
</script>
</body>

