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 + '' + '' + '