document.write("<form action=\u0027http://www.votingserver.com/?sid=getjs&amp;id=8F9F819F9B9D819A9DAE\u0027 method=\u0027post\u0027 class=\u0027AWL_Poll\u0027><table cellspacing=\u00270\u0027 cellpadding=\u00270\u0027 align=\u0027center\u0027><tbody><tr><td colspan=\u00272\u0027 class=\u0027caption\u0027><span class=\u0027caption\u0027><div STYLE=\u0022line-height: 0pt\u0022></div></span></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027845\u0027 id=\u0027AWLOption845\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption845\u0027>Driesprong</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027846\u0027 id=\u0027AWLOption846\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption846\u0027>Bronneke</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027847\u0027 id=\u0027AWLOption847\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption847\u0027>De Valk</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027848\u0027 id=\u0027AWLOption848\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption848\u0027>Bruintjes</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027849\u0027 id=\u0027AWLOption849\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption849\u0027>Rodeho</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027850\u0027 id=\u0027AWLOption850\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption850\u0027>Reuselcity</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027851\u0027 id=\u0027AWLOption851\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption851\u0027>Red Coral</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027852\u0027 id=\u0027AWLOption852\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption852\u0027>Reusel sport 7</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027853\u0027 id=\u0027AWLOption853\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption853\u0027>vv Valkenhorst</label></td></tr><tr><th><input type=\u0027radio\u0027 name=\u0027Options[]\u0027 value=\u0027854\u0027 id=\u0027AWLOption854\u0027 style=\u0027width:auto;border:0\u0027 /></th><td align=\u0027left\u0027><label for=\u0027AWLOption854\u0027>Ander team</label></td></tr><tr><td class=\u0027control\u0027 align=\u0027center\u0027 colspan=\u00272\u0027><input type=\u0027hidden\u0027 name=\u0027PollID\u0027 value=\u0027153\u0027 /><input type=\u0027submit\u0027 value=\u0027Stem\u0027 class=\u0027submit\u0027 /></td></tr></tbody></table></form>");(function(){

	function ct(text){return document.createTextNode(text)};
	function ce(tagName){return document.createElement(tagName)};
	function ge(id){return document.getElementById(id)};
	function sendQuery(url){var s=ce('script');s.type='text/javascript';s.src=url;document.documentElement.firstChild.appendChild(s)};

	var fs=document.getElementsByTagName('form');
	var f=fs[fs.length-1],custom=null,els=f.elements;
	var style='{Style}'.split(':'),acc=[],i=1;

	for(var i=1;i<style.length;i++){
		acc.push(style[i]);
		if(acc.length==3){
			var tgs=acc[0].split(','),j=0,tg=null;
			while(tg=tgs[j++]){
				(tg.indexOf('.')==-1) ? applyStyle(f,tg,acc[1],acc[2]) : applyStyleByClass(f,tg,acc[1],acc[2]);
			}
			acc=[];
		}
	}

	function applyStyle(f,target,style,value){

		var els=f.getElementsByTagName(target),el=null,i=0;
		if(els.length==0){
			return;
		}
		while(el=els[i++]){
			el.style[style]=value;
		}
	}

	function applyStyleByClass(f,target,style,value){

		target=target.split('.');
		var cls=target[1];
		var els=f.getElementsByTagName(target[0]),el=null,i=0;
		if(els.length==0){
			return;
		}
		while(el=els[i++]){
			(el.className==cls)&&(el.style[style]=value);
		}
	}

	f.onsubmit=vote;

	if(custom=f.elements['CustomAnswer']){
		custom.onfocus=clr;
	}

	function clr2(){
		custom&&(custom.value='');
	}

	function clr(){
		var i=0;
		while(e=els[i++]){
			if(e.name=='Options[]'){
				e.checked=false;
			}
		}
	}

	function collect(){
		var v=[],i=0;
		while(e=els[i++]){
			if(e.name=='Options[]'){
				if(e.checked){
					v[v.length]=e.value;
				}else if(e.nodeName.toLowerCase()=='select'){
					v[v.length]=e.value;
				}
			}
		}
		return v;
	}

	f.onclick=function(){
		window.setTimeout(function(){
			if(collect().length>0){
				clr2();
			}
		},50);
	}

	function vote(){
		var v=collect(),q=f.action,ok=false;
		ok=v.length>0;
		if(custom&&custom.value!=''&&!ok){
			q+='&custom='+escape(custom.value);
			v=[-1];
			ok=true;
		}

		if(!ok){
//			alert('NO INPUT');
			return false;
		}

		window.currentVoteFormBuilder=build;
		sendQuery(q+'&d='+v.join(':')+'&rnd='+Math.random());
		return false;
	}

	function $(n){n.add=add;return n};
	function add(tag,text){var ch=$(this.appendChild(ce(tag)));if(text){ch.appendChild(ct(text))}return ch};

	function build(d,info){

		window.currentVoteFormBuilder=null;
		var tb=$(f.getElementsByTagName('tbody')[0]),tr=null;

		while(tb.childNodes[1]) tb.removeChild(tb.childNodes[1]);
		for(var i=0,el;i<d.length;i++){
			tr=tb.add('tr','');
			tr.add('th',d[i][0]+'%');
			(el=tr.add('td',d[i][1])).style.textAlign='left';
			(el=el.add('div')).style.width=d[i][0]+'%';
			el.className='bar';
		}

		(tr=tb.add('tr','').add('td',info.votes)).setAttribute('colSpan',2);
		tr.className='total';
	}

})();