function checkInputVal(obj){ if(obj.value.length > 1 && obj.value.charAt(0) == '0') obj.value = obj.value.substr(1,obj.value.length); if(!obj.init){ obj.init=1; } return calc(obj); } function hPrintClick(me){ // grab the table and render it into a document of it's own (for printing) var tmp = document.getElementById('ivTimecard').outerHTML; var html = '' + document.getElementsByTagName('link')[0].outerHTML + document.getElementById('ivTimecardCSS').outerHTML + '' + '' + '' +'
' +'
' +' ' +' ' +' ' } html += headerRow() return html } function tsWrapper(){ var p=location.host || location.pathname; var html = '' if(p.match(/esqsoft|127/)){ html += '' + '
' + topRow() + '' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + buildHTMLRows() + '
RowStarting Time
(HH:MM)
Ending Time
(HH:MM)
Lunch/Breaks
(HH:MM)
Normal
Overtime
TotalDate 
' + '
' } else{ html += '
Please use this tool from my website.
' } document.write(html); } tsWrapper();