<!--




function do_result_a2d25dee789cf4a8142a3413698ca4a8(votingid){

	$.post('/voting-handler.php', {action : 'result', voting_id: votingid},
		function(resp){
				$('#voting_container_a2d25dee789cf4a8142a3413698ca4a8').html(resp);
			}
	);
}



function do_vote_a2d25dee789cf4a8142a3413698ca4a8(votingid){

	var selection = -1;
	var radiobutton = document.getElementsByName('voting_choice_a2d25dee789cf4a8142a3413698ca4a8')

	for (i=0; i<radiobutton.length; i++) {
		if (radiobutton[i].checked == true) {
			selection = radiobutton[i].value;
			break;
		}
	}


        $.post('/voting-handler.php', {action : 'vote', voting_id: votingid, voting_choice: selection},
                function(resp){
                                $('#voting_container_a2d25dee789cf4a8142a3413698ca4a8').html(resp);
                        }
        );

}





document.write('<br clear="all">');
document.write('<div style="font-size:10pt;" >');
document.write('<div style="padding-left:10px; line-height:22px; border-right:1px solid #9db0bc; background-image:url(\'http://cwanswers.com/ovsp/widget/styles/glossy/images/widget_header.png\'); background-repeat:no-repeat; font-size:8pt;"><strong>Würden Sie Golf auch am Computer spielen?</strong></div>');
document.write('<div style="border:1px solid #9db0bc; border-top:0px; padding:20px; background-image: url(\'http://cwanswers.com/ovsp/widget/styles/glossy/images/gradient_top.png\'); background-repeat: repeat-x;">');
document.write('<div id="voting_container_a2d25dee789cf4a8142a3413698ca4a8">');






	
	document.write('<div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="786" name="voting_choice_a2d25dee789cf4a8142a3413698ca4a8" />Bloß nicht. </div><div style="background-color:#c1d3df; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="788" name="voting_choice_a2d25dee789cf4a8142a3413698ca4a8" />Vielleicht gelegentlich.</div><div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="790" name="voting_choice_a2d25dee789cf4a8142a3413698ca4a8" />Auf jeden Fall. </div><br />');


	document.write('<input style="margin:5px; width:50px;" type="button" name="vote" value="vote" onclick="do_vote_a2d25dee789cf4a8142a3413698ca4a8(244)" />');
	//document.write('<input style="margin:5px;" type="button" name="result" value="result" onclick="do_result_a2d25dee789cf4a8142a3413698ca4a8(244)" />');
	
	
	var radiobutton = document.getElementsByName('voting_choice_a2d25dee789cf4a8142a3413698ca4a8');
	radiobutton[0].checked = true;






document.write('</div></div></div>');




-->
