document.write('<table class="tbl_poll">');document.write('<form name="poll"><input id="QuestionID" type="hidden" name="qid" value="25">');document.write('<tr><td class="tr_poll_header">Poll</td></tr>');document.write('<tr><td class="tr_poll_content">Bij de keuze voor een school is voor mij het belangrijkst:</td></tr>');document.write('<tr><td class="tr_poll_content" nowrap>');document.write('<input id="aid" type="radio" name="answerid" value="81">De sfeer in en om het gebouw');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content" nowrap>');document.write('<input id="aid" type="radio" name="answerid" value="79">De opleiding');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content" nowrap>');document.write('<input id="aid" type="radio" name="answerid" value="80">De reistijd');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content" nowrap>');document.write('<input id="aid" type="radio" name="answerid" value="82">De keuze van vrienden');document.write('</td></tr>');document.write('<tr><td class="tr_poll_content" nowrap>');document.write('<input id="aid" type="radio" name="answerid" value="83">Geen van bovenstaande');document.write('</td></tr>');document.write('<tr><td class="tr_poll_footer" nowrap><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://intranet.albeda.nl/neocfc/pol/pol_remote.cfc?method=putVote&qid=25&iid=1&aid=' + answerValue + '&style=http://www.albeda.nl/deelnemer/neopoll.css';
				var X=400, Y=250;
				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://intranet.albeda.nl/neocfc/pol/pol_remote.cfc?method=showPollResults&qid=25&iid=1&style=http://www.albeda.nl/deelnemer/neopoll.css';
			var X=400, Y=250;
			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);
		}
		
		

