if (typeof setWidgetData_312977147 == 'function') setWidgetData_312977147({ "results": [ { "widget_type":"8", "widget_id":"312977147", "html_code":"
Milano
     
Novembre 22, 2017
" } ] }); function clock_312977147() { if (typeof refresh_time_widgets == 'function' && document.getElementById('widget_type')) { refresh_time_widgets(); return; } var is_need_to_reload = false; var cur_time_span = document.getElementById('time_of_8_312977147'); if (cur_time_span) { var cur_time = cur_time_span.className; if (cur_time.length > 0) { var m = cur_time.charAt(cur_time.length-1); if (m == '9') is_need_to_reload = true; else { m = parseInt(m)+1; cur_time = cur_time.substr(0,cur_time.length-1) + m; cur_time_span.className = cur_time; } } } if (!is_need_to_reload) return; var jjs = document.getElementById("time_js_id"); if (jjs) document.getElementsByTagName("head")[0].removeChild(jjs); var js_file=document.createElement("script"); js_file.setAttribute("id", "time_js_id"); js_file.setAttribute("type","text/javascript"); js_file.setAttribute("charset","UTF-8"); js_file.setAttribute("src","/?page=get_time_info&ver=2&domid=609&type=8&id=312977147&city_id=18133&wlangid=5&mode=1&details=0&background=rgba(0,0,0,0.6)&color=ffffff&add_background=ffffff&add_color=ffffff&head_color=ffffff&border=0&transparent=1&no_timer=1&rand="+Math.random()); document.getElementsByTagName("head")[0].appendChild(js_file); //alert(js_file.getAttribute("src")); } function rclock_312977147() { sec_312977147 = sec_312977147 + 1; if (sec_312977147 >= 60) { sec_312977147 = 0; clock_312977147(); } var deg = sec_312977147 * 6; var deg_rad = deg * Math.PI * 2 / 360; var cur_time = "-moz-transform: rotate(" + deg +"deg); -webkit-transform: rotate(" + deg + "deg); -o-transform: rotate(" + deg + "deg);"; //alert(cur_time); } /*if (clock_timer != -1) clearInterval(clock_timer); clock_timer = setInterval("clock()", 60*1000);*/ if (typeof setWidgetData_312977147 == 'function') if (clock_timer_312977147 == -1) { clock_timer_312977147 = setInterval("clock_312977147()", 60*1000); } if (typeof setWidgetData == 'function') setWidgetData({ "results": [ { "widget_type":"8", "widget_id":"312977147", "html_code":"
Milano
     
Novembre 22, 2017
" } ] }); function clock() { var is_need_to_reload = false; var cur_time_span = document.getElementById('time_of_8_312977147'); if (cur_time_span) { var cur_time = cur_time_span.className; if (cur_time.length > 0) { var m = cur_time.charAt(cur_time.length-1); if (m == '9') is_need_to_reload = true; else { m = parseInt(m)+1; cur_time = cur_time.substr(0,cur_time.length-1) + m; cur_time_span.className = cur_time; } } } if (!is_need_to_reload) return; if (typeof refresh_time_widgets == 'function' && document.getElementById('widget_type')) { refresh_time_widgets(); return; } var jjs = document.getElementById("time_js_id"); if (jjs) document.getElementsByTagName("head")[0].removeChild(jjs); var js_file=document.createElement("script"); js_file.setAttribute("id", "time_js_id"); js_file.setAttribute("type","text/javascript"); js_file.setAttribute("charset","UTF-8"); js_file.setAttribute("src","/?page=get_time_info&type=8&id=312977147&city_id=18133&wlangid=5&mode=1&details=0&background=rgba(0,0,0,0.6)&color=ffffff&add_background=ffffff&add_color=ffffff&head_color=ffffff&border=0&transparent=1&no_timer=1&rand="+Math.random()); document.getElementsByTagName("head")[0].appendChild(js_file); //alert(js_file.getAttribute("src")); } if (typeof setWidgetData == 'function') if (clock_timer == -1) { clock_timer = setInterval("clock()", 60*1000); } if (typeof setWidgetData_312977147 == 'function') setWidgetData_312977147({ "results": [ { "widget_type":"8", "widget_id":"312977147", "html_code":"
Milano
     
Novembre 22, 2017
" } ] }); function clock_312977147() { if (typeof refresh_time_widgets == 'function' && document.getElementById('widget_type')) { refresh_time_widgets(); return; } var is_need_to_reload = false; var cur_time_span = document.getElementById('time_of_8_312977147'); if (cur_time_span) { var cur_time = cur_time_span.className; if (cur_time.length > 0) { var m = cur_time.charAt(cur_time.length-1); if (m == '9') is_need_to_reload = true; else { m = parseInt(m)+1; cur_time = cur_time.substr(0,cur_time.length-1) + m; cur_time_span.className = cur_time; } } } if (!is_need_to_reload) return; var jjs = document.getElementById("time_js_id"); if (jjs) document.getElementsByTagName("head")[0].removeChild(jjs); var js_file=document.createElement("script"); js_file.setAttribute("id", "time_js_id"); js_file.setAttribute("type","text/javascript"); js_file.setAttribute("charset","UTF-8"); js_file.setAttribute("src","/?page=get_time_info&ver=2&domid=609&type=8&id=312977147&city_id=18133&wlangid=5&mode=1&details=0&background=rgba(0,0,0,0.6)&color=ffffff&add_background=ffffff&add_color=ffffff&head_color=ffffff&border=0&transparent=1&no_timer=1&rand="+Math.random()); document.getElementsByTagName("head")[0].appendChild(js_file); //alert(js_file.getAttribute("src")); } function rclock_312977147() { sec_312977147 = sec_312977147 + 1; if (sec_312977147 >= 60) { sec_312977147 = 0; clock_312977147(); } var deg = sec_312977147 * 6; var deg_rad = deg * Math.PI * 2 / 360; var cur_time = "-moz-transform: rotate(" + deg +"deg); -webkit-transform: rotate(" + deg + "deg); -o-transform: rotate(" + deg + "deg);"; //alert(cur_time); } /*if (clock_timer != -1) clearInterval(clock_timer); clock_timer = setInterval("clock()", 60*1000);*/ if (typeof setWidgetData_312977147 == 'function') if (clock_timer_312977147 == -1) { clock_timer_312977147 = setInterval("clock_312977147()", 60*1000); } if (typeof setWidgetData == 'function') setWidgetData({ "results": [ { "widget_type":"8", "widget_id":"312977147", "html_code":"
Milano
     
Novembre 22, 2017
" } ] }); function clock() { var is_need_to_reload = false; var cur_time_span = document.getElementById('time_of_8_312977147'); if (cur_time_span) { var cur_time = cur_time_span.className; if (cur_time.length > 0) { var m = cur_time.charAt(cur_time.length-1); if (m == '9') is_need_to_reload = true; else { m = parseInt(m)+1; cur_time = cur_time.substr(0,cur_time.length-1) + m; cur_time_span.className = cur_time; } } } if (!is_need_to_reload) return; if (typeof refresh_time_widgets == 'function' && document.getElementById('widget_type')) { refresh_time_widgets(); return; } var jjs = document.getElementById("time_js_id"); if (jjs) document.getElementsByTagName("head")[0].removeChild(jjs); var js_file=document.createElement("script"); js_file.setAttribute("id", "time_js_id"); js_file.setAttribute("type","text/javascript"); js_file.setAttribute("charset","UTF-8"); js_file.setAttribute("src","/?page=get_time_info&type=8&id=312977147&city_id=18133&wlangid=5&mode=1&details=0&background=rgba(0,0,0,0.6)&color=ffffff&add_background=ffffff&add_color=ffffff&head_color=ffffff&border=0&transparent=1&no_timer=1&rand="+Math.random()); document.getElementsByTagName("head")[0].appendChild(js_file); //alert(js_file.getAttribute("src")); } if (typeof setWidgetData == 'function') if (clock_timer == -1) { clock_timer = setInterval("clock()", 60*1000); }