|
function validate() { | surveyVal = false | answer = document.forms 'Survey' .SurveyAnswer; id = document.forms 'Survey' .ID.value; var value = "undefined" var allcookies = document.cookie; var pos = allcookies.indexOf(id); if ( pos != -1) { var start = pos + id.length; var end = allcookies.indexOf(";",start); if (end == -1) end = allcookies.length; var value = allcookies.substring(start,end); value = unescape(value); } var nLen = answer.length | for (var i = 0; i |