<!--




function do_result_fc3b2d43cb9bb73a324a65ea191833b9(votingid){

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



function do_vote_fc3b2d43cb9bb73a324a65ea191833b9(votingid){

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

	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_fc3b2d43cb9bb73a324a65ea191833b9').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>Wie sollte die Antrittsprämie für einen Star wie Tiger Woods finanziert werden?</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_fc3b2d43cb9bb73a324a65ea191833b9">');






	
	document.write('<div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="862" name="voting_choice_fc3b2d43cb9bb73a324a65ea191833b9" />Durch Steuergelder. </div><div style="background-color:#c1d3df; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="864" name="voting_choice_fc3b2d43cb9bb73a324a65ea191833b9" />Durch Sponsoren.</div><div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="866" name="voting_choice_fc3b2d43cb9bb73a324a65ea191833b9" />Überhaupt nicht. Ein Preisgeld reicht allemal.</div><br />');


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






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




-->
