<!--




function do_result_ad6641acbe0b48aa2eae03e010a2594a(votingid){

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



function do_vote_ad6641acbe0b48aa2eae03e010a2594a(votingid){

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

	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_ad6641acbe0b48aa2eae03e010a2594a').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>Golf in einer Tennishalle. Das ist ...</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_ad6641acbe0b48aa2eae03e010a2594a">');






	
	document.write('<div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="411" name="voting_choice_ad6641acbe0b48aa2eae03e010a2594a" />... eine prima Sache. </div><div style="background-color:#c1d3df; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="412" name="voting_choice_ad6641acbe0b48aa2eae03e010a2594a" />... besser als gar kein Golf.</div><div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="413" name="voting_choice_ad6641acbe0b48aa2eae03e010a2594a" />... blanker Unsinn. </div><br />');


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






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




-->
