	
	function voteit()
	{
		var max = document.regform.rdvote.length;
		for (var idx = 0; idx < max; idx++) {
			if (eval("document.regform.rdvote[" + idx + "].checked") == true){
				id=idx;
			}
		}	
		windowprops = "scrollbars=yes, menubar=no, toolbar=no, status=no, history=no, top=0, left=0, resizable=no,width=550,height=300";	

		win=window.open("voteview.asp?id="+id,'myWin', windowprops);
		win.focus();
	}
	
	function voteview(){
		var id='';
		windowprops = "scrollbars=yes, menubar=no, toolbar=no, status=no, history=no, top=0, left=0, resizable=no,width=550,height=300, top=screen.height/2, left=screen.width/2";	

		win=window.open("voteview.asp?id="+id,'myWin', windowprops);
		win.focus();		
	}
