// JavaScript Document
function popWindowpoll(wName){
	features = 'width=520,height=350,toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,copyhistory=no,resizable=no';
	pop = window.open('',wName,features);
	if(pop.focus){ pop.focus(); }
	return true;
}

function checkForm(form)  {  
 var checked = false;   
 var buttons = form.elements.poll;   
 for (var i=0; i<buttons.length; i++)    {     
  if (buttons[i].checked) {       
   checked = true;      
    break;     
	 }    
 }    
 if(!checked)      
 alert("you have to choose an option");    
  return checked ; 
  }
