﻿function writeurlstamp(myform){
var dnow = new Date();
myform.urlstamp.value = Date.parse(dnow);
}
function chkCFLength(tArea,MsgDiv){
tArea.value = tArea.value.replace(/(^ +| +$)/,'');
document.getElementById(MsgDiv).innerHTML = 'You entered ' + tArea.value.length + ' characters out of 428 max length.';
}
function countCFLength(tArea,MsgDiv){
document.getElementById(MsgDiv).innerHTML = 'You entered ' + tArea.value.length + ' characters out of 428 max length.';
if(tArea.value.length >428){
tArea.value = tArea.value.substring(0,428);
document.getElementById(MsgDiv).innerHTML = 'You entered ' + tArea.value.length + ' characters out of 428 max length.';
}
}
