
//v 5
function modpollAddScript_5051(script_filename){
	var html_doc = document.getElementById('modpoll_css_5051')
	var js = document.createElement('script');
	js.setAttribute('type', 'text/javascript');
	js.setAttribute('src', script_filename);
	html_doc.appendChild(js);
}
function modpollLoading_5051(){
	var poll = document.getElementById('modpoll_5051_answers');
	poll.innerHTML = '<div>Loading...</div>';
}
function modpollVote_5051(form, vote){
	mychoices = form.choice;
	var answerid = 0;
	for(i = 0; i < mychoices.length; i++){
		if(mychoices[i].checked){
		answerid = mychoices[i].value;
		}
	}
	var script_filename = 'http://modpoll.com/pollresults.js?pid=agdwb2xsMmdvcgsLEgRQb2xsGIhXDA&amp;myrandom=5051&amp;answerid='+answerid;
	modpollLoading_5051();  
	modpollAddScript_5051(script_filename);
	return false;
}
function modpollView_5051(){
	modpollLoading_5051();
	var script_filename = 'http://modpoll.com/pollform.js?pid=5051'; 
	modpollAddScript_5051(script_filename);
	return false;
}
function modpollResults_5051(){
	modpollLoading_5051();
	var script_filename = 'http://modpoll.com/pollresults.js?pid=agdwb2xsMmdvcgsLEgRQb2xsGIhXDA&answerid=0';
	modpollAddScript_5051(script_filename);
	return false;
}
document.write('<div id="modpoll_css_5051">')
document.write('<link rel="stylesheet" type="text/css" href="http://modpoll.com/theme/white/style.css?width=230&amp;pid=5051" />')
document.write('</div>')
document.write('<div id="modpoll_main_5051">')
document.write('<div id="modpoll_top_5051">')
document.write('<div id="modpoll_question_5051">')
document.write('Do you have your own website or blog?')
document.write('</div>')
document.write('<div id="modpoll_5051_answers">')

	document.write('<form method="POST" name="form_5051" action="/modpoll/agdwb2xsMmdvcgsLEgRQb2xsGIhXDA/vote">')

	

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

document.write('</div>')
document.write('<div id="modpoll_buttons_5051">')
document.write('<iframe src="http://modpoll.com/wt/" style="visibility: hidden; height: 0px; width: 0px; border: 0px;" border="0" frameborder="no" width="0" height="0"></iframe>')
document.write('<a href="http://modpoll.com">modpoll.com</a>')
document.write('</div>')
document.write('</div>')


