
function SetCurrentDate(id)
{
    var elem = document.getElementById(id);
    if (elem)
    {
        var Now = new Date(); 
        var smin  = Now.getMinutes() < 10 ? '0' + Now.getMinutes() : Now.getMinutes();
        var smnth = Now.getMonth() + 1;
        smnth = smnth < 10 ? '0' + smnth : smnth;
        
        elem.innerHTML = "ÑÅÃÎÄÍß:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + Now.getHours() + ':' + smin + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + Now.getDate()+ '-' + smnth + '-' + Now.getFullYear();
    }        
}

