function isblank(s)
{
	for(var i = 0; i < s.length; i++)
	{
		var c = s.charAt(i);
		if((c != ' ') && (c != '\n') && (c != '\t'))
			return false;
	}
	//window.alert("true");
	return true;
}



function validateForm(form)
{
	
	
	var topic = form.topic;
	var usrChoice = topic.selectedIndex;
	
	
	
	if((topic.options[usrChoice].value == "0") ||(topic.options[usrChoice].value == "1" ))
	{
		window.alert("Please select a topic.");
		form.topic.focus();
		return false;
	}
		

	return true;
}
