function stripBorder_1_yp5a54603d94e95(object) {
object.each(function() {
if( parseInt(jQuery(this).width() ) > 0) {
jQuery(this).width(
parseInt(
jQuery(this).width() ) -
parseInt(jQuery(this).css("border-left-width")) -
parseInt(jQuery(this).css("border-right-width"))
);
}
else {
jQuery(this).css("border-left-width", "0px");
jQuery(this).css("border-right-width", "0px");
}
});
}
function stripPadding_1_yp5a54603d94e95(object) {
object.each(function() {
jQuery(this).width(
parseInt( jQuery(this).width() ) -
parseInt(jQuery(this).css("padding-left")) -
parseInt(jQuery(this).css("padding-left"))
);
});
}
function strip_results_1_yp5a54603d94e95() {
stripPadding_1_yp5a54603d94e95( jQuery("#yop-poll-container-1_yp5a54603d94e95 .yop_poll_li_result-1_yp5a54603d94e95") );
stripBorder_1_yp5a54603d94e95( jQuery("#yop-poll-container-1_yp5a54603d94e95 .yop-poll-result-bar-1_yp5a54603d94e95") );
}
jQuery(document).ready(function(e) {
jQuery('.yop-poll-forms').removeClass('yop-poll-forms-display');
if(typeof window.strip_results_1_yp5a54603d94e95 == "function")
strip_results_1_yp5a54603d94e95();
if(typeof window.tabulate_answers_1_yp5a54603d94e95 == "function")
tabulate_answers_1_yp5a54603d94e95();
if(typeof window.tabulate_results_1_yp5a54603d94e95 == "function")
tabulate_results_1_yp5a54603d94e95();
});
function equalWidth_1_yp5a54603d94e95(obj, cols, findWidest ) {
findWidest = typeof findWidest !== "undefined" ? findWidest : false;
var quest=0;
if ( findWidest ) {
obj.each(function() {
var thisWidth = jQuery(this).width();
width = parseInt(thisWidth / cols);
jQuery(this).width(width);
jQuery(this).css("float", "left");
});
}
else {
var widest = 0;
var count = 0;
var poz_each_question=0;
obj.each(function() {
count++;
cols[quest][2]=(jQuery('#yop-poll-answers-1_yp5a54603d94e95-'+ cols[quest][3] +' li').length);
var thisWidth = jQuery(this).width();
if(thisWidth > widest) {
widest = thisWidth;
}
if(count widest) {
widest = thisWidth;
}
if(count