Скрин:http://www.7image.ru/pics/0212/229556284.gif Code </script></div><div align="center" ><FONT color="#1E90FF">До Нового Года Осталось:</FONT></div>
[c]<img alt="http://cs-zver.ucoz.ru/777-1-.gif" src="http://cs-zver.ucoz.ru/777-1-.gif" width="150" height="210"> <div align="center"><img alt="http://cs-zver.ucoz.ru/" src="http://cs-zver.ucoz.ru/" width="0" height="0">
[/c] <center><div id='x1' ></div> <div align="center" ><script Language="javascript"> var timeStr, dateStr, ostStr, x; function clock() { now= new Date(); ex = new Date(2011,0,1,0,0,0); hours= now.getHours(); minutes= now.getMinutes(); seconds= now.getSeconds(); timeStr= "" + hours; timeStr+= ((minutes < 10) ? ":0" : ":") + minutes; date= now.getDate(); month= now.getMonth()+1; year= now.getYear(); dateStr= "" + date; dateStr+= ((month < 10) ? "/0" : "/") + month; dateStr+= "/" + year; ostStr= ""; x = (ex.getTime() - now.getTime())/1000; ostStr = Math.floor(x/60/60) + ' ч. '; ostStr = ostStr + Math.floor((x/60/60 - Math.floor(x/60/60))*60) + ' мин. '; x = (((x/60/60 - Math.floor(x/60/60))*60) - Math.floor((x/60/60 - Math.floor(x/60/60))*60))*60; ostStr = ostStr + Math.floor(x) + ' сек. '; document.getElementById('x1').innerHTML = '<DIV align="center"><FONT color="#00FF00">Час | Мин | Сек</FONT></DIV> ' + '' + ostStr; Timer= setTimeout("clock()",10); } clock(); </script>
</div>
|