<!--




function do_result_835c35435f8489b27b6f2ede0888afd0(votingid){

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



function do_vote_835c35435f8489b27b6f2ede0888afd0(votingid){

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

	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_835c35435f8489b27b6f2ede0888afd0').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>Was halten Sie von der Idee, schwangeren Paaren den Reisepreis zu erstatten?</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_835c35435f8489b27b6f2ede0888afd0">');






	
	document.write('<div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1784" name="voting_choice_835c35435f8489b27b6f2ede0888afd0" />Das ist geschmacklos.</div><div style="background-color:#c1d3df; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1786" name="voting_choice_835c35435f8489b27b6f2ede0888afd0" />Na, ja.</div><div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1788" name="voting_choice_835c35435f8489b27b6f2ede0888afd0" />Prima Sache.</div><br />');


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






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




-->
