
//v 5
function modpollAddScript_5027(script_filename){
	var html_doc = document.getElementById('modpoll_css_5027')
	var js = document.createElement('script');
	js.setAttribute('type', 'text/javascript');
	js.setAttribute('src', script_filename);
	html_doc.appendChild(js);
}
function modpollLoading_5027(){
	var poll = document.getElementById('modpoll_5027_answers');
	poll.innerHTML = '<div>Loading...</div>';
}
function modpollVote_5027(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=agdwb2xsMmdvcgwLEgRQb2xsGOCxNAw&amp;myrandom=5027&amp;answerid='+answerid;
	modpollLoading_5027();  
	modpollAddScript_5027(script_filename);
	return false;
}
function modpollView_5027(){
	modpollLoading_5027();
	var script_filename = 'http://modpoll.com/pollform.js?pid=5027'; 
	modpollAddScript_5027(script_filename);
	return false;
}
function modpollResults_5027(){
	modpollLoading_5027();
	var script_filename = 'http://modpoll.com/pollresults.js?pid=agdwb2xsMmdvcgwLEgRQb2xsGOCxNAw&answerid=0';
	modpollAddScript_5027(script_filename);
	return false;
}
document.write('<div id="modpoll_css_5027">')
document.write('<link rel="stylesheet" type="text/css" href="http://modpoll.com/theme/white/style.css?width=160&amp;pid=5027" />')
document.write('</div>')
document.write('<div id="modpoll_main_5027">')
document.write('<div id="modpoll_top_5027">')
document.write('<div id="modpoll_question_5027">')
document.write('Have you stuck to your New Year\'s Resolution?')
document.write('</div>')
document.write('<div id="modpoll_5027_answers">')

	
	document.write('<div class="modpoll_answer_5027">')
	document.write('Yes<br />')
	document.write('<div class="modpoll_bar_5027" style="width: 20%">&nbsp;</div>')
	document.write('<span class="modpoll_lttext">41% (7 Votes)</span>')
	document.write('</div>')
	
	document.write('<div class="modpoll_answer_5027">')
	document.write('No<br />')
	document.write('<div class="modpoll_bar_5027" style="width: 17%">&nbsp;</div>')
	document.write('<span class="modpoll_lttext">35% (6 Votes)</span>')
	document.write('</div>')
	
	document.write('<div class="modpoll_answer_5027">')
	document.write('I didn\'t make one!<br />')
	document.write('<div class="modpoll_bar_5027" style="width: 12%">&nbsp;</div>')
	document.write('<span class="modpoll_lttext">24% (4 Votes)</span>')
	document.write('</div>')
	
	document.write('<div class="modpoll_answer_5027">')
	document.write('17 Total Votes' )
	document.write('</div>')
	
	document.write(' (Voting has closed)' )
	
	document.write('</div>')

document.write('</div>')
document.write('<div id="modpoll_buttons_5027">')
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>')


