document.write('<table class="tbl_poll">');document.write('<form name="poll"><input id="QuestionID" type="hidden" name="qid" value="4">');document.write('<tr><td class="tr_poll_header">Poll</td></tr>');document.write('<tr><td class="tr_poll_content">De maatregelen die Den Haag heeft getroffen voor<Br>de bouwsector n.a.v. de kredietcrisis zijn:</td></tr>');document.write('<tr><td class="tr_poll_content">');document.write('<input id="aid" type="radio" name="answerid" value="12">Goed voor de korte termijn.');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content">');document.write('<input id="aid" type="radio" name="answerid" value="13">Goed, de ambitie is duidelijk zichtbaar.');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content">');document.write('<input id="aid" type="radio" name="answerid" value="14">Matig, de maatregelen zijn onvoldoende.');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content">');document.write('<input id="aid" type="radio" name="answerid" value="15">Slecht, werken niet op korte termijn.');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content">');document.write('<input id="aid" type="radio" name="answerid" value="16">Slecht, een gemiste kans.');document.write('</td></tr>');document.write('<tr><td class="tr_poll_footer"><a class="mnu_poll" href="javascript: VotePoll();">Stem</a>&nbsp;|&nbsp;<a class="mnu_poll" href="javascript: ShowPollResults();">Bekijk stand</a></td></tr>');document.write('</form></table>');
		function VotePoll() {
			answerValue = getRadioValue("answerid");
			if (answerValue != null) {
				var e='http://portal.denieuwbouw.nl//neocfc/pol/pol_remote.cfc?method=putVote&qid=4&iid=2&aid=' + answerValue + '&style=http://www.denieuwbouw.nl/neopoll.css';
				var X=450, Y=650;
				Xw = (screen.availWidth/2)-(X/2);
				Yw = (screen.availHeight/2)-(Y/2);
				windowNew = window.open(e, "close","height=" + Y + ", width=" + X + ", menubar=0,resizable=1,scrollbars=1,status=0,titlebar=no,toolbar=0,left=" + Xw + ", top=" + Yw);
			}
		}
		
		function getRadioValue(RadioName){
			var colRadio = document.getElementsByName(RadioName);
			for (var i = 0; i < colRadio.length; i++) {
				if (colRadio[i].checked) {return colRadio[i].value;}
			}
			return null;
		}
		
		function ShowPollResults() {
			var e='http://portal.denieuwbouw.nl//neocfc/pol/pol_remote.cfc?method=showPollResults&qid=4&iid=2&style=http://www.denieuwbouw.nl/neopoll.css';
			var X=450, Y=650;
			Xw = (screen.availWidth/2)-(X/2);
			Yw = (screen.availHeight/2)-(Y/2);
			windowNew = window.open(e, "close","height=" + Y + ", width=" + X + ", menubar=0,resizable=1,scrollbars=1,status=0,titlebar=no,toolbar=0,left=" + Xw + ", top=" + Yw);
		}
		
		
