rem: h = parseInt(document.getElementById('hour').value); m = parseInt(document.getElementById('minute').value); s = parseInt(document.getElementById('second').value); 
add: h = parseInt(document.getElementById('hour').value,10); m = parseInt(document.getElementById('minute').value,10); s = parseInt(document.getElementById('second').value,10); 
context: function returnDate(d) {    txt = d;    if (window.opener.dateType != 'date') {        // need to get time        h = parseInt(document.getElementById('hour').value);        m = parseInt(document.getElementById('minute').value);        s = parseInt(document.getElementById('second').value);        if (window.opener.dateType == 'datetime') {            txt += ' ' + formatNum2(h, 'hour') + ':' + formatNum2(m, 'minute') + ':' + formatNum2(s, 'second');        } else {            // timestamp            txt += formatNum2(h, 'hour') + formatNum2(m, 'minute') + formatNum2(s, 'second');        }    }    window.opener.dateField.value = txt;    window.close();}
meta: 5450	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5450/ee07b9333276b3d8f318ed3d8222063e96d7d415/tbl_change.js/clean/libraries/tbl_change.js