//----------------------------------------------------------------------------------------------------
//	Module Name:- Poll
//	File Name  :- poll.js
//	Create Date:- 18-JUL-2009
//	Intially Create By :- 
//	Update History:
//----------------------------------------------------------------------------------------------------

function validate_frm_poll_page()
{
	with(document.frm_poll)
	{
		cnt=elements['form_option[]'].length;
		count=0;
		for (i=0;i<cnt;i++)
		{
			if (elements['form_option[]'][i].checked==true)
			{
				count++;
			}
		}
		if(count==0)
		{
			alert("Please select your answer for poll and submit!");
			return false;
		}
	}
	return true;
}
