
function validateInquiryVoteForm( elem, inputsLocator, errorMsgLocator )
{
	var selected = false;
	
	$( inputsLocator ).find( "input" )
		.each(function( idx )
		{
			selected = selected || this.checked;		
		});		
		
	if ( !selected )
	{
		$( errorMsgLocator ).css( "display", "block" );
		return false;
	}
	
		
	$( elem ).parents( "form" ).submit();
	return true;
}