<!--

//This function will validate selected form input parameters.

function Validate() {
	var Proceed = 1;
	var FocusField = "";
	var Msg = "";
		
//alert(document.replyform.een.options[document.replyform.een.selectedIndex].value);
	while (Proceed == 1) {

			if (document.replyform.een.value.length == 0) {
			Proceed = 0;
			FocusField = "een";
			Msg = "Please enter the summary title you are commenting on";
			break;
		}

			if (document.replyform.twee.value.length == 0) {
			Proceed = 0;
			FocusField = "twee";
			Msg = "Please enter your comments";
			break;
		}

	
		break;	
	}

	if (Proceed == 1) {
		return true;
	}else{
		alert (Msg);
		
		//This statement will place cursor at error field

		eval("document.replyform." + FocusField + ".focus()");
		return false;
	}				

}


		// -->

