<!--




function do_result_f39b7870c3d0a19b6ac576507efa82be(votingid){

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



function do_vote_f39b7870c3d0a19b6ac576507efa82be(votingid){

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

	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_f39b7870c3d0a19b6ac576507efa82be').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>Schüzen Sie Ihren Oldtimer gegen Diebstahl?</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_f39b7870c3d0a19b6ac576507efa82be">');






	
	document.write('<div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1736" name="voting_choice_f39b7870c3d0a19b6ac576507efa82be" />Nein, das macht sowieso keinen Sinn.</div><div style="background-color:#c1d3df; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1738" name="voting_choice_f39b7870c3d0a19b6ac576507efa82be" />Nein, aber ich passe besonders gut auf.</div><div style="background-color:#ecf1f5; border:1px solid #9db0bc; padding: 2px; margin-bottom: 2px;"><input type="radio" value="1740" name="voting_choice_f39b7870c3d0a19b6ac576507efa82be" />Auf jeden Fall. Mit allem, was es auf dem Markt so gibt.</div><br />');


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






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




-->
