This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var frame1=document.body.parentNode.getElementsByTagName("frame")[0];var frameset2=frame1.contentWindow.document.body.getElementsByTagName("frameset")[1];var frame3=frameset2.getElementsByTagName("frame")[1];var __ADP=frame3.contentWindow;__ADP.isToday=function(date){var today=new Date();var dia=parseInt(date.split('/')[0]);var mes=parseInt(date.split('/')[1]);var ano=parseInt(date.split('/')[2]);if(dia==today.getUTCDate()){if(mes==(today.getMonth()+1)){if(ano==today.getFullYear()){return true}}}return false};__ADP.hourFormat=function(number){if(number<=9){return"0"+number}return String(number)};__ADP.random=function(range){return Math.floor((Math.random()*range)+1)};__ADP.geraHorarios=function(){var minutos=["10","20","30","40","50"];var minuto=minutos[(__ADP.random(5)-1)];var format=new Date();format.setHours(10);var hora=(format.getHours()-1)+__ADP.random(4);var entrada=__ADP.hourFormat(hora)+":"+minuto;var saida_almoco=__ADP.hourFormat(hora+2)+":00";var volta_almoco=__ADP.hourFormat(hora+3)+":00";var said |