var submittimeq = 0; var submitted1 = 0; function submitqForm() { if ( ! vldate() ) return false; submitted1 = 1; return true;} function vldate(){ var name = document.forms.qboard.name.value var msg = document.forms.qboard.msg.value var date = new Date(); if( msg == "Wisdom Quotes only..." || msg.length == 0 || msg.length < 10 ) { alert( "Say something wise ^_^"); } else if ( msg.length > 200 ) { alert( "Wise words too long"); } else if ( submittimeq + (5 * 1000) > date.getTime() ) { alert( "Slow down my friend, try again"); } else { submittimeq = date.getTime(); return true; } return false; } function clearTextq(thefield) { if (thefield.defaultValue==thefield.value) thefield.value = ""; } function resetMsgq() { if ( submitted1 > 0 ) { document.forms.qboard.msg.value = ""; submitted1 = 0; document.forms.qboard.msg.focus(); } } document.write('
Wisdom Words:'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
');