CREATE TABLE `wp_yop2_poll_questionmeta` (
  `meta_id` int(11) NOT NULL AUTO_INCREMENT,
  `yop_poll_question_id` int(11) NOT NULL,
  `meta_key` varchar(255) NOT NULL,
  `meta_value` longtext NOT NULL,
  PRIMARY KEY (`meta_id`),
  KEY `yop_poll_question_id` (`yop_poll_question_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_poll_questionmeta`
--

INSERT INTO `wp_yop2_poll_questionmeta` (`meta_id`,`yop_poll_question_id`,`meta_key`,`meta_value`) VALUES 
 (1,1,'options','a:93:{s:19:\"user_interface_type\";s:8:\"beginner\";s:17:\"is_default_answer\";s:2:\"no\";s:15:\"poll_start_date\";s:19:\"2014-12-17 21:04:52\";s:13:\"poll_end_date\";s:19:\"01-01-2038 23:59:59\";s:12:\"view_results\";a:1:{i:0;s:5:\"after\";}s:23:\"view_results_start_date\";s:19:\"01-01-1970 00:00:00\";s:24:\"view_results_permissions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:17:\"view_results_type\";s:28:\"votes-number-and-percentages\";s:19:\"answer_result_label\";s:62:\"%POLL-ANSWER-RESULT-PERCENTAGES% :  %POLL-ANSWER-RESULT-VOTES%\";s:17:\"vote_button_label\";s:14:\"Ψηφίστε\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";a:2:{i:0;s:2:\"no\";i:1;N;}s:23:\"view_results_link_label\";s:40:\"Δείτε τα Αποτελέσματα\";s:22:\"view_back_to_vote_link\";s:3:\"yes\";s:28:\"view_back_to_vote_link_label\";s:38:\"Πίσω στη Δημοσκόπηση\";s:16:\"view_total_votes\";s:3:\"yes\";s:22:\"view_total_votes_label\";s:50:\"Συνολικές Ψήφοι : %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:50:\"Συνολικές Ψήφοι %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:62:\"Ευχαριστούμε για τη Συμμετοχή σας\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:2:\"no\";s:31:\"vote_permisions_wordpress_label\";s:22:\"Vote as Wordpress User\";s:25:\"vote_permisions_anonymous\";s:2:\"no\";s:31:\"vote_permisions_anonymous_label\";s:22:\"Vote as Anonymous User\";s:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";i:30;s:29:\"blocking_voters_interval_unit\";s:4:\"days\";s:30:\"limit_number_of_votes_per_user\";s:2:\"no\";s:24:\"number_of_votes_per_user\";i:1;s:20:\"percentages_decimals\";s:1:\"2\";s:25:\"use_default_loading_image\";s:3:\"yes\";s:17:\"loading_image_url\";s:0:\"\";s:19:\"redirect_after_vote\";s:2:\"no\";s:23:\"redirect_after_vote_url\";s:0:\"\";s:11:\"date_format\";s:2:\"UE\";s:22:\"view_poll_archive_link\";s:3:\"yes\";s:23:\"auto_generate_poll_page\";s:2:\"no\";s:27:\"has_auto_generate_poll_page\";s:2:\"no\";s:11:\"use_captcha\";s:2:\"no\";s:24:\"send_email_notifications\";s:2:\"no\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";b:0;s:36:\"add_other_answers_to_default_answers\";s:2:\"no\";s:28:\"display_other_answers_values\";s:2:\"no\";s:22:\"allow_multiple_answers\";s:2:\"no\";s:29:\"allow_multiple_answers_number\";i:1;s:33:\"allow_multiple_answers_min_number\";i:1;s:15:\"display_answers\";s:8:\"vertical\";s:30:\"display_answers_tabulated_cols\";s:1:\"3\";s:15:\"sorting_results\";s:10:\"as_defined\";s:15:\"sorting_answers\";s:10:\"as_defined\";s:25:\"sorting_results_direction\";s:3:\"asc\";s:25:\"sorting_answers_direction\";s:3:\"asc\";s:41:\"singular_answer_result_votes_number_label\";s:4:\"vote\";s:39:\"plural_answer_result_votes_number_label\";s:5:\"votes\";s:15:\"display_results\";s:8:\"vertical\";s:30:\"display_results_tabulated_cols\";s:1:\"2\";s:14:\"bar_background\";s:6:\"FBD55E\";s:10:\"bar_height\";i:10;s:16:\"bar_border_color\";s:6:\"EDB918\";s:16:\"bar_border_width\";i:1;s:16:\"bar_border_style\";s:5:\"solid\";s:21:\"sorting_archive_polls\";s:5:\"votes\";s:26:\"sorting_archive_polls_rule\";s:3:\"asc\";s:11:\"archive_url\";b:0;s:18:\"archive_link_label\";s:17:\"View Poll Archive\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";s:1:\"1\";s:22:\"archive_polls_per_page\";s:1:\"5\";s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:19:\"yop-poll@ekloges.tv\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:8:\"New Vote\";s:24:\"email_notifications_body\";s:1311:\"<p>A new vote was registered on %VOTE_DATE% for %POLL_NAME%</p>\r\n\r\n                                                            <p>Vote Details:</p>\r\n\r\n                                                            [QUESTION]\r\n\r\n                                                            <p><b>Question:</b> %QUESTION_TEXT%</p>\r\n\r\n                                                            <p><b>Answers:</b> <br />\r\n\r\n                                                            [ANSWERS]\r\n\r\n                                                            %ANSWER_VALUE%\r\n\r\n                                                            [/ANSWERS]\r\n\r\n                                                            </p>\r\n\r\n                                                            <p><b>Custom Fields:</b> <br />\r\n\r\n                                                            [CUSTOM_FIELDS]\r\n\r\n                                                            %CUSTOM_FIELD_NAME% - %CUSTOM_FIELD_VALUE%\r\n\r\n                                                            [/CUSTOM_FIELDS]\r\n\r\n                                                            </p>\r\n\r\n                                                            [/QUESTION]\r\n\r\n                                                            <p><b>Vote ID:</b> <br />%VOTE_ID%</p>\";s:25:\"schedule_reset_poll_stats\";s:2:\"no\";s:24:\"schedule_reset_poll_date\";s:19:\"2014-12-17 21:04:52\";s:35:\"schedule_reset_poll_recurring_value\";i:9999;s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:2:\"no\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:24:\"vote_permisions_facebook\";s:2:\"no\";s:30:\"vote_permisions_facebook_label\";s:21:\"Vote as Facebook User\";s:25:\"facebook_share_after_vote\";s:2:\"no\";s:26:\"facebook_share_description\";s:49:\"Just casted an YOP Poll vote on ΕΚΛΟΓΕΣ TV\";s:22:\"vote_permisions_google\";s:2:\"no\";s:28:\"vote_permisions_google_label\";s:15:\"Vote as G+ User\";s:24:\"show_google_share_button\";s:2:\"no\";s:18:\"google_integration\";s:2:\"no\";s:20:\"facebook_integration\";s:2:\"no\";s:29:\"facebook_show_comments_widget\";s:2:\"no\";}'),
 (2,4,'options','a:95:{s:19:\"user_interface_type\";N;s:17:\"is_default_answer\";s:2:\"no\";s:15:\"poll_start_date\";N;s:13:\"poll_end_date\";N;s:12:\"view_results\";a:1:{i:0;s:5:\"after\";}s:23:\"view_results_start_date\";s:0:\"\";s:24:\"view_results_permissions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:17:\"view_results_type\";s:28:\"votes-number-and-percentages\";s:19:\"answer_result_label\";s:62:\"%POLL-ANSWER-RESULT-PERCENTAGES% :  %POLL-ANSWER-RESULT-VOTES%\";s:17:\"vote_button_label\";s:14:\"Ψηφίστε\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:3:\"yes\";s:23:\"view_results_link_label\";s:24:\"Αποτελέσματα\";s:22:\"view_back_to_vote_link\";s:3:\"yes\";s:28:\"view_back_to_vote_link_label\";s:38:\"Πίσω στη Δημοσκόπηση\";s:16:\"view_total_votes\";s:3:\"yes\";s:22:\"view_total_votes_label\";s:50:\"Συνολικές Ψήφοι : %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:50:\"Συνολικές Ψήφοι %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:62:\"Ευχαριστούμε για τη Συμμετοχή σας\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:2:\"no\";s:31:\"vote_permisions_wordpress_label\";s:22:\"Vote as Wordpress User\";s:25:\"vote_permisions_anonymous\";s:3:\"yes\";s:31:\"vote_permisions_anonymous_label\";s:22:\"Vote as Anonymous User\";s:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";s:1:\"1\";s:29:\"blocking_voters_interval_unit\";s:4:\"days\";s:30:\"limit_number_of_votes_per_user\";s:2:\"no\";s:24:\"number_of_votes_per_user\";i:1;s:20:\"percentages_decimals\";s:1:\"2\";s:25:\"use_default_loading_image\";s:3:\"yes\";s:17:\"loading_image_url\";s:0:\"\";s:19:\"redirect_after_vote\";s:2:\"no\";s:23:\"redirect_after_vote_url\";s:0:\"\";s:11:\"date_format\";s:11:\"d/m/Y H:i:s\";s:22:\"view_poll_archive_link\";s:3:\"yes\";s:23:\"auto_generate_poll_page\";s:2:\"no\";s:27:\"has_auto_generate_poll_page\";s:2:\"no\";s:11:\"use_captcha\";s:2:\"no\";s:24:\"send_email_notifications\";s:2:\"no\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";N;s:36:\"add_other_answers_to_default_answers\";s:2:\"no\";s:28:\"display_other_answers_values\";s:2:\"no\";s:22:\"allow_multiple_answers\";s:2:\"no\";s:29:\"allow_multiple_answers_number\";i:1;s:33:\"allow_multiple_answers_min_number\";i:1;s:15:\"display_answers\";s:8:\"vertical\";s:30:\"display_answers_tabulated_cols\";s:1:\"3\";s:15:\"sorting_results\";s:5:\"exact\";s:15:\"sorting_answers\";s:5:\"exact\";s:25:\"sorting_results_direction\";s:3:\"asc\";s:25:\"sorting_answers_direction\";s:3:\"asc\";s:41:\"singular_answer_result_votes_number_label\";s:10:\"ψήφος\";s:39:\"plural_answer_result_votes_number_label\";s:10:\"φήφοι\";s:15:\"display_results\";s:8:\"vertical\";s:30:\"display_results_tabulated_cols\";s:1:\"2\";s:14:\"bar_background\";s:6:\"FBD55E\";s:10:\"bar_height\";i:10;s:16:\"bar_border_color\";s:6:\"EDB918\";s:16:\"bar_border_width\";i:1;s:16:\"bar_border_style\";s:5:\"solid\";s:21:\"sorting_archive_polls\";N;s:26:\"sorting_archive_polls_rule\";N;s:11:\"archive_url\";N;s:18:\"archive_link_label\";N;s:20:\"show_poll_in_archive\";N;s:18:\"poll_archive_order\";N;s:22:\"archive_polls_per_page\";s:1:\"5\";s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:19:\"yop-poll@ekloges.tv\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:8:\"New Vote\";s:24:\"email_notifications_body\";s:268:\"<p>A new vote was registered on [VOTE_DATE] for [POLL_NAME]</p>\r\n			<p>Vote Details:</p>\r\n			<p><b>Question:</b> [QUESTION]</p>\r\n			<p><b>Answers:</b> <br />[ANSWERS]</p>\r\n			<p><b>Custom Fields:</b> <br />[CUSTOM_FIELDS]</p>\r\n			<p><b>Vote ID:</b> <br />[VOTE_ID]</p>\";s:25:\"schedule_reset_poll_stats\";s:2:\"no\";s:24:\"schedule_reset_poll_date\";i:1395759269;s:35:\"schedule_reset_poll_recurring_value\";i:9999;s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:2:\"no\";s:32:\"use_the_same_template_for_widget\";N;s:24:\"vote_permisions_facebook\";s:2:\"no\";s:30:\"vote_permisions_facebook_label\";s:21:\"Vote as Facebook User\";s:25:\"facebook_share_after_vote\";s:2:\"no\";s:26:\"facebook_share_description\";s:49:\"Just casted an YOP Poll vote on ΕΚΛΟΓΕΣ TV\";s:22:\"vote_permisions_google\";N;s:28:\"vote_permisions_google_label\";N;s:24:\"show_google_share_button\";s:2:\"no\";s:18:\"google_integration\";N;s:20:\"facebook_integration\";N;s:29:\"facebook_show_comments_widget\";s:2:\"no\";s:8:\"template\";i:8;s:15:\"widget_template\";i:8;}'),
 (3,2,'options','a:94:{s:19:\"user_interface_type\";s:8:\"beginner\";s:17:\"is_default_answer\";s:2:\"no\";s:15:\"poll_start_date\";s:19:\"2014-12-17 21:04:52\";s:13:\"poll_end_date\";s:19:\"01-01-2038 23:59:59\";s:12:\"view_results\";a:1:{i:0;s:5:\"after\";}s:23:\"view_results_start_date\";s:19:\"01-01-1970 00:00:00\";s:24:\"view_results_permissions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:17:\"view_results_type\";s:28:\"votes-number-and-percentages\";s:19:\"answer_result_label\";s:62:\"%POLL-ANSWER-RESULT-PERCENTAGES% :  %POLL-ANSWER-RESULT-VOTES%\";s:17:\"vote_button_label\";s:14:\"Ψηφίστε\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";a:2:{i:0;s:2:\"no\";i:1;N;}s:23:\"view_results_link_label\";s:40:\"Δείτε τα Αποτελέσματα\";s:22:\"view_back_to_vote_link\";s:3:\"yes\";s:28:\"view_back_to_vote_link_label\";s:38:\"Πίσω στη Δημοσκόπηση\";s:16:\"view_total_votes\";s:3:\"yes\";s:22:\"view_total_votes_label\";s:50:\"Συνολικές Ψήφοι : %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:50:\"Συνολικές Ψήφοι %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:62:\"Ευχαριστούμε για τη Συμμετοχή σας\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:2:\"no\";s:31:\"vote_permisions_wordpress_label\";s:22:\"Vote as Wordpress User\";s:25:\"vote_permisions_anonymous\";s:2:\"no\";s:31:\"vote_permisions_anonymous_label\";s:22:\"Vote as Anonymous User\";s:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";i:30;s:29:\"blocking_voters_interval_unit\";s:4:\"days\";s:30:\"limit_number_of_votes_per_user\";s:2:\"no\";s:24:\"number_of_votes_per_user\";i:1;s:20:\"percentages_decimals\";s:1:\"2\";s:25:\"use_default_loading_image\";s:3:\"yes\";s:17:\"loading_image_url\";s:0:\"\";s:19:\"redirect_after_vote\";s:2:\"no\";s:23:\"redirect_after_vote_url\";s:0:\"\";s:11:\"date_format\";s:2:\"UE\";s:22:\"view_poll_archive_link\";s:3:\"yes\";s:23:\"auto_generate_poll_page\";s:2:\"no\";s:27:\"has_auto_generate_poll_page\";s:2:\"no\";s:11:\"use_captcha\";s:2:\"no\";s:24:\"send_email_notifications\";s:2:\"no\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";b:0;s:36:\"add_other_answers_to_default_answers\";s:2:\"no\";s:28:\"display_other_answers_values\";s:2:\"no\";s:22:\"allow_multiple_answers\";s:2:\"no\";s:29:\"allow_multiple_answers_number\";s:1:\"1\";s:33:\"allow_multiple_answers_min_number\";s:1:\"1\";s:15:\"display_answers\";s:8:\"vertical\";s:30:\"display_answers_tabulated_cols\";s:1:\"3\";s:15:\"sorting_results\";s:10:\"as_defined\";s:15:\"sorting_answers\";s:10:\"as_defined\";s:25:\"sorting_results_direction\";s:3:\"asc\";s:25:\"sorting_answers_direction\";s:3:\"asc\";s:41:\"singular_answer_result_votes_number_label\";s:4:\"vote\";s:39:\"plural_answer_result_votes_number_label\";s:5:\"votes\";s:15:\"display_results\";s:8:\"vertical\";s:30:\"display_results_tabulated_cols\";s:1:\"2\";s:14:\"bar_background\";s:6:\"FBD55E\";s:10:\"bar_height\";i:10;s:16:\"bar_border_color\";s:6:\"EDB918\";s:16:\"bar_border_width\";i:1;s:16:\"bar_border_style\";s:5:\"solid\";s:21:\"sorting_archive_polls\";s:5:\"votes\";s:26:\"sorting_archive_polls_rule\";s:3:\"asc\";s:11:\"archive_url\";b:0;s:18:\"archive_link_label\";s:17:\"View Poll Archive\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";s:1:\"1\";s:22:\"archive_polls_per_page\";s:1:\"5\";s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:19:\"yop-poll@ekloges.tv\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:8:\"New Vote\";s:24:\"email_notifications_body\";s:1311:\"<p>A new vote was registered on %VOTE_DATE% for %POLL_NAME%</p>\r\n\r\n                                                            <p>Vote Details:</p>\r\n\r\n                                                            [QUESTION]\r\n\r\n                                                            <p><b>Question:</b> %QUESTION_TEXT%</p>\r\n\r\n                                                            <p><b>Answers:</b> <br />\r\n\r\n                                                            [ANSWERS]\r\n\r\n                                                            %ANSWER_VALUE%\r\n\r\n                                                            [/ANSWERS]\r\n\r\n                                                            </p>\r\n\r\n                                                            <p><b>Custom Fields:</b> <br />\r\n\r\n                                                            [CUSTOM_FIELDS]\r\n\r\n                                                            %CUSTOM_FIELD_NAME% - %CUSTOM_FIELD_VALUE%\r\n\r\n                                                            [/CUSTOM_FIELDS]\r\n\r\n                                                            </p>\r\n\r\n                                                            [/QUESTION]\r\n\r\n                                                            <p><b>Vote ID:</b> <br />%VOTE_ID%</p>\";s:25:\"schedule_reset_poll_stats\";s:2:\"no\";s:24:\"schedule_reset_poll_date\";s:19:\"2014-12-17 21:04:52\";s:35:\"schedule_reset_poll_recurring_value\";i:9999;s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:2:\"no\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:24:\"vote_permisions_facebook\";s:2:\"no\";s:30:\"vote_permisions_facebook_label\";s:21:\"Vote as Facebook User\";s:25:\"facebook_share_after_vote\";s:2:\"no\";s:26:\"facebook_share_description\";s:49:\"Just casted an YOP Poll vote on ΕΚΛΟΓΕΣ TV\";s:22:\"vote_permisions_google\";s:2:\"no\";s:28:\"vote_permisions_google_label\";s:15:\"Vote as G+ User\";s:24:\"show_google_share_button\";s:2:\"no\";s:18:\"google_integration\";s:2:\"no\";s:20:\"facebook_integration\";s:2:\"no\";s:29:\"facebook_show_comments_widget\";s:2:\"no\";s:16:\"other_answers_id\";s:0:\"\";}');


--
-- Definition of table `wp_yop2_poll_questions`
--

CREATE TABLE `wp_yop2_poll_questions` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `question` text NOT NULL,
  `type` text NOT NULL,
  `question_author` bigint(20) NOT NULL DEFAULT '0',
  `question_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `question_status` varchar(20) NOT NULL,
  `question_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `poll_order` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_poll_questions`
--

INSERT INTO `wp_yop2_poll_questions` (`ID`,`poll_id`,`question`,`type`,`question_author`,`question_date`,`question_status`,`question_modified`,`poll_order`) VALUES 
 (1,4,'Θα ψηφίσετε στις  Ευρωεκλογές 2014;','text',1,'2014-03-26 12:28:03','open','2014-05-29 12:18:48',1),
 (2,5,'Θα εκλεγεί ΠτΔ στις επόμενες 2 ψηφοφορίες;','text',1,'2014-12-18 12:25:57','active','2014-12-18 12:26:55',1);


--
-- Definition of table `wp_yop2_poll_results`
--

CREATE TABLE `wp_yop2_poll_results` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `vote_id` varchar(256) NOT NULL,
  `ip` varchar(100) NOT NULL,
  `country` varchar(100) NOT NULL,
  `user_id` varchar(25) DEFAULT NULL,
  `user_type` enum('facebook','google','admin','wordpress','anonymous','default') NOT NULL DEFAULT 'default',
  `tr_id` varchar(256) DEFAULT NULL,
  `result_details` longtext,
  `user_details` longtext,
  `vote_date` datetime NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=106 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_poll_results`
--

INSERT INTO `wp_yop2_poll_results` (`ID`,`poll_id`,`vote_id`,`ip`,`country`,`user_id`,`user_type`,`tr_id`,`result_details`,`user_details`,`vote_date`) VALUES 
 (1,4,'vote_id_5371dadc53d6a','62.74.23.73','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[1],\"answers\":[\"\\u0394\\u03ad\\u03bd \\u03ad\\u03c7\\u03c9 \\u03b1\\u03c0\\u03bf\\u03c6\\u03b1\\u03c3\\u03af\\u03c3\\u03b5\\u03b9\"]}}','','2014-05-13 11:42:09'),
 (2,4,'vote_id_537859f2d2741','37.6.232.156','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[1],\"answers\":[\"\\u0394\\u03ad\\u03bd \\u03ad\\u03c7\\u03c9 \\u03b1\\u03c0\\u03bf\\u03c6\\u03b1\\u03c3\\u03af\\u03c3\\u03b5\\u03b9\"]}}','','2014-05-18 09:57:55'),
 (3,4,'vote_id_537a5fbcee99d','213.136.71.211','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[1],\"answers\":[\"\\u0394\\u03ad\\u03bd \\u03ad\\u03c7\\u03c9 \\u03b1\\u03c0\\u03bf\\u03c6\\u03b1\\u03c3\\u03af\\u03c3\\u03b5\\u03b9\"]}}','','2014-05-19 22:47:08'),
 (4,4,'vote_id_5367600419866','85.73.248.26','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-05 12:55:17'),
 (5,4,'vote_id_5364cfe431382','85.74.118.244','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-03 14:15:48'),
 (6,4,'vote_id_5362c2e475b34','85.73.90.122','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-02 00:55:48'),
 (7,4,'vote_id_5361735c21ea1','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-01 01:04:12'),
 (8,4,'vote_id_536150ded6a65','130.43.81.186','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-04-30 22:37:03'),
 (9,4,'vote_id_5360e8a47ca64','192.168.230.40','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-04-30 15:12:25'),
 (10,4,'vote_id_5367a3cce0be6','77.49.60.255','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-05 17:44:29'),
 (11,4,'vote_id_5368b57ff05b0','77.49.57.137','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-06 13:12:16'),
 (12,4,'vote_id_536ad30ce1edb','176.92.185.75','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-08 03:42:53'),
 (13,4,'vote_id_536b3222d96be','188.4.246.188','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-08 10:28:34'),
 (14,4,'vote_id_536b466041eea','89.31.176.13','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-08 11:55:01'),
 (15,4,'vote_id_536b5883aa766','37.6.79.173','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-08 13:12:19'),
 (16,4,'vote_id_536ca2a206b71','178.146.0.14','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-09 12:40:50'),
 (17,4,'vote_id_536d05f874b99','178.59.79.138','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-09 19:44:40'),
 (18,4,'vote_id_536d3cc278d39','79.103.91.43','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-09 23:38:26'),
 (19,4,'vote_id_536e98cf07e91','176.92.203.73','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-11 00:23:27'),
 (20,4,'vote_id_536f274649540','188.4.31.61','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-11 10:31:18'),
 (21,4,'vote_id_536f59eb95e25','141.237.191.14','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-11 14:07:23'),
 (22,4,'vote_id_536f799f90eac','213.16.169.158','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-11 16:22:39'),
 (23,4,'vote_id_536f8b7116118','79.167.118.50','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-11 17:38:41'),
 (24,4,'vote_id_536fe6f7cc58a','94.68.254.83','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-12 00:09:11'),
 (25,4,'vote_id_536fe96995414','176.92.235.32','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-12 00:19:37'),
 (26,4,'vote_id_53705df529b9e','89.31.176.13','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-12 08:36:58'),
 (27,4,'vote_id_5371164f2edbe','85.72.242.228','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-12 21:43:27'),
 (28,4,'vote_id_53714e6568652','77.49.231.94','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-13 01:42:45'),
 (29,4,'vote_id_5371c116adaea','195.234.49.100','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-13 09:52:07'),
 (30,4,'vote_id_5371d699d8bfa','87.202.93.25','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-13 11:23:53'),
 (31,4,'vote_id_5372452d35f4a','87.202.15.197','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-13 19:15:42'),
 (32,4,'vote_id_53738400cff22','85.74.19.66','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-14 17:56:02'),
 (33,4,'vote_id_5373b2dbb6606','85.75.73.214','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-14 21:15:56'),
 (34,4,'vote_id_53747b2948acf','94.69.56.113','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-15 11:30:33'),
 (35,4,'vote_id_5374a1c692c9a','62.74.23.53','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-15 14:15:23'),
 (36,4,'vote_id_53754fd2d69fd','46.190.83.42','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-16 02:37:56'),
 (37,4,'vote_id_5375ca2e7c32f','85.74.231.12','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-16 11:19:59'),
 (38,4,'vote_id_5375f9649e563','130.43.72.23','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-16 14:41:24'),
 (39,4,'vote_id_53768240c8505','188.4.179.76','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 00:25:21'),
 (40,4,'vote_id_53770587be819','2.86.90.206','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 09:45:29'),
 (41,4,'vote_id_53775a26dca53','2.86.11.61','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 15:46:31'),
 (42,4,'vote_id_5377699427483','178.128.47.234','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 16:52:20'),
 (43,4,'vote_id_5377781c14071','94.69.220.203','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 17:54:21'),
 (44,4,'vote_id_5377c5cf343d2','178.128.159.58','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-17 23:25:52'),
 (45,4,'vote_id_5377dedcb5d4f','188.4.60.54','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 01:12:45'),
 (46,4,'vote_id_537842e2c8971','87.203.73.99','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 08:19:31'),
 (47,4,'vote_id_53785d16c1b49','176.92.9.165','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 10:11:19'),
 (48,4,'vote_id_5378ae9f3ecc1','79.167.151.42','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 15:59:11'),
 (49,4,'vote_id_5378cdaeb78c9','62.74.26.180','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 18:11:48'),
 (50,4,'vote_id_5378e8ae60bb9','62.1.122.132','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 20:06:54'),
 (51,4,'vote_id_53790862c6bc1','94.65.46.74','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 22:22:10'),
 (52,4,'vote_id_53790e712e579','213.16.196.193','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 22:48:02'),
 (53,4,'vote_id_53791c9077d41','2.86.163.72','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 23:48:17'),
 (54,4,'vote_id_53791c9612761','2.86.163.72','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-18 23:48:22'),
 (55,4,'vote_id_53793d3eb86ec','62.74.26.204','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 02:07:47'),
 (56,4,'vote_id_5379ad960c09d','94.71.65.187','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 10:07:02'),
 (57,4,'vote_id_5379bdf52f255','79.129.217.32','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 11:16:53'),
 (58,4,'vote_id_5379e096cef5d','195.234.49.100','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 13:44:40'),
 (59,4,'vote_id_537a58c2b9b85','46.176.98.234','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 22:17:23'),
 (60,4,'vote_id_537a6b4cbb165','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 23:36:28'),
 (61,4,'vote_id_537a6b4ee0645','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-19 23:36:30'),
 (62,4,'vote_id_537f00436130c','79.131.100.255','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-23 11:01:08'),
 (63,4,'vote_id_53834265abd3a','194.219.240.229','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[2],\"answers\":[\"\\u039d\\u03b1\\u03af\"]}}','','2014-05-26 16:32:25'),
 (64,4,'vote_id_53677c3c290d6','62.74.26.126','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-05 14:55:44'),
 (65,4,'vote_id_5366e47322b46','178.128.242.10','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-05 04:08:03'),
 (66,4,'vote_id_5366b8e6e770d','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-05 01:02:14'),
 (67,4,'vote_id_53665863e44fe','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-04 18:10:27'),
 (68,4,'vote_id_53664cea894be','178.128.242.10','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-04 17:21:30'),
 (69,4,'vote_id_53660ef7573f6','178.128.242.10','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-04 12:57:11'),
 (70,4,'vote_id_536596ad34471','95.211.29.65','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-04 04:23:57'),
 (71,4,'vote_id_536593cbc680d','178.128.242.10','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-04 04:11:39'),
 (72,4,'vote_id_53642c37ea9ea','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-03 02:37:27'),
 (73,4,'vote_id_5360f9f063ca5','213.249.12.140','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-04-30 16:26:08'),
 (74,4,'vote_id_5367934f038d6','77.49.243.8','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-05 16:34:07'),
 (75,4,'vote_id_5367e71bb5c66','77.49.243.8','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-05 22:31:39'),
 (76,4,'vote_id_53680857019ec','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-06 00:53:27'),
 (77,4,'vote_id_536888a7e84ed','127.0.0.1','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-06 10:00:55'),
 (78,4,'vote_id_5368a0e645582','62.74.26.23','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-06 11:44:26'),
 (79,4,'vote_id_5368b0791df0c','94.173.13.11','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-06 12:50:49'),
 (80,4,'vote_id_53693582a9bd8','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-06 22:18:26'),
 (81,4,'vote_id_536b589ac3c3f','37.6.79.173','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-08 13:12:42'),
 (82,4,'vote_id_536b74661cbf8','94.75.234.208','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-08 15:11:18'),
 (83,4,'vote_id_536ccedc48891','62.74.26.192','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-09 15:49:36'),
 (84,4,'vote_id_536d50130e7a9','77.49.148.113','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-10 01:00:51'),
 (85,4,'vote_id_536f6f8f31227','213.136.71.211','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-11 15:39:43'),
 (86,4,'vote_id_5371492dcf150','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-13 01:20:29'),
 (87,4,'vote_id_5377650669c64','79.167.195.196','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-17 16:32:55'),
 (88,4,'vote_id_537942f5da245','176.58.153.119','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 02:32:06'),
 (89,4,'vote_id_5379f37d5c04d','62.74.26.12','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 15:05:22'),
 (90,4,'vote_id_537a5e3bc68fd','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 22:40:43'),
 (91,4,'vote_id_537a5e3e4016d','213.136.71.211','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 22:40:46'),
 (92,4,'vote_id_537a5e45d981d','213.136.71.211','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 22:40:53'),
 (93,4,'vote_id_537a6b54de0c5','213.136.71.211','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 23:36:36'),
 (94,4,'vote_id_537a6c14930c5','46.246.241.98','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-19 23:39:48'),
 (95,4,'vote_id_537a74af568cd','94.75.234.208','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-20 00:16:31'),
 (96,4,'vote_id_537a74bb42a0d','94.75.234.208','','0','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-20 00:16:43'),
 (97,4,'vote_id_537c51ab94c35','46.246.176.180','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-21 10:11:40'),
 (98,4,'vote_id_537cf7ead3405','193.92.153.205','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-21 22:01:00'),
 (99,4,'vote_id_537d2ed824c79','193.92.153.205','','1','default','4','{\"q-4\":{\"question\":\"\\u0398\\u03b1 \\u03c8\\u03b7\\u03c6\\u03af\\u03c3\\u03b5\\u03c4\\u03b5 \\u03c3\\u03c4\\u03b9\\u03c2  \\u0395\\u03c5\\u03c1\\u03c9\\u03b5\\u03ba\\u03bb\\u03bf\\u03b3\\u03ad\\u03c2 2014;\",\"id\":\"4\",\"a\":[3],\"answers\":[\"\\u038c\\u03c7\\u03b9\"]}}','','2014-05-22 01:55:20'),
 (100,5,'vote_id_5492acf49a957','62.74.25.8','Greece','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[5],\"answers\":[\"\\u038c\\u03c7\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 12:31:21'),
 (101,5,'vote_id_5492aec97672c','62.74.25.8','Greece','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[4],\"answers\":[\"\\u039d\\u03b1\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 12:39:10'),
 (102,5,'vote_id_5492b33395943','192.168.230.40','','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[4],\"answers\":[\"\\u039d\\u03b1\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 12:58:00'),
 (103,5,'vote_id_5492b7b33d996','192.168.230.40','','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[4],\"answers\":[\"\\u039d\\u03b1\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 13:17:11'),
 (104,5,'vote_id_5492c96e44314','192.168.230.40','','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[4],\"answers\":[\"\\u039d\\u03b1\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 14:32:50'),
 (105,5,'vote_id_5492c979346f8','192.168.230.40','','0','anonymous','5','{\"q-2\":{\"question\":\"\\u0398\\u03b1 \\u03b5\\u03ba\\u03bb\\u03b5\\u03b3\\u03b5\\u03af \\u03a0\\u03c4\\u0394 \\u03c3\\u03c4\\u03b9\\u03c2 \\u03b5\\u03c0\\u03cc\\u03bc\\u03b5\\u03bd\\u03b5\\u03c2 2 \\u03c8\\u03b7\\u03c6\\u03bf\\u03c6\\u03bf\\u03c1\\u03af\\u03b5\\u03c2;\",\"id\":2,\"a\":[4],\"answers\":[\"\\u039d\\u03b1\\u03b9\"],\"cf\":[]}}','\"\"','2014-12-18 14:33:01');


--
-- Definition of table `wp_yop2_poll_templates`
--

CREATE TABLE `wp_yop2_poll_templates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `template_author` bigint(20) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL,
  `before_vote_template` text NOT NULL,
  `after_vote_template` text NOT NULL,
  `before_start_date_template` text NOT NULL,
  `after_end_date_template` text NOT NULL,
  `css` text NOT NULL,
  `js` text NOT NULL,
  `status` varchar(255) NOT NULL,
  `last_modified` datetime NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_poll_templates`
--

INSERT INTO `wp_yop2_poll_templates` (`id`,`template_author`,`name`,`before_vote_template`,`after_vote_template`,`before_start_date_template`,`after_end_date_template`,`css`,`js`,`status`,`last_modified`,`date_added`) VALUES 
 (1,1,'White','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n	width:%POLL-WIDTH%;\r\n	background:#fff;\r\n	padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#555; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#555; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','default','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (2,1,'Grey','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#eee;\r\n    padding:10px;\r\n    color:#000;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#000; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#000; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (3,1,'Dark','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n	width:%POLL-WIDTH%;\r\n	background:#555;\r\n	padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#333333; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (4,1,'Blue v1','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#327BD6;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (5,1,'Blue v2','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#327BD6;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (6,1,'Blue v3','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #327BD6;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px;  }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (7,1,'Red v1','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#B70004;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (8,1,'Red v2','[QUESTION_CONTAINER]<div id=\\\"yop-poll-name-%POLL-ID%\\\" class=\\\"yop-poll-name\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\"></div>\r\n<div id=\\\"yop-poll-answers-%POLL-ID%\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_CONTAINER]\r\n        <li class=\\\"yop-poll-li-answer-%POLL-ID%\\\">\r\n            %POLL-ANSWER-CHECK-INPUT% \r\n            %POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n            <span class=\\\"yop-poll-results-text-%POLL-ID%\\\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n             %POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n        </li>\r\n        [/ANSWER_CONTAINER]\r\n        [OTHER_ANSWER_CONTAINER]\r\n        <li class=\\\"yop-poll-li-answer-%POLL-ID%\\\">\r\n            %POLL-OTHER-ANSWER-CHECK-INPUT% \r\n            %POLL-OTHER-ANSWER-LABEL% \r\n            <span class=\\\"yop-poll-results-text-%POLL-ID%\\\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n            %POLL-OTHER-ANSWER-TEXT-INPUT% \r\n            %POLL-ANSWER-RESULT-BAR%\r\n        </li>\r\n        [/OTHER_ANSWER_CONTAINER]\r\n    </ul>\r\n</div>\r\n<div id=\\\"yop-poll-custom-%POLL-ID%\\\">\r\n    <ul>\r\n        [CUSTOM_FIELD_CONTAINER]\r\n        <li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n        [/CUSTOM_FIELD_CONTAINER]\r\n    </ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\\\"yop-poll-captcha-%POLL-ID%\\\">\r\n    <div class=\\\"yop-poll-captcha-image-div\\\" id=\\\"yop-poll-captcha-image-div-%POLL-ID%\\\">\r\n        %CAPTCHA-IMAGE%\r\n        <div class=\\\"yop-poll-captcha-helpers-div\\\" id=\\\"yop-poll-captcha-helpers-div-%POLL-ID%\\\">%RELOAD-CAPTCHA-IMAGE% </div>\r\n        <div class=\\\"yop_poll_clear\\\"></div>\r\n    </div>\r\n    %CAPTCHA-LABEL%\r\n    <div class=\\\"yop-poll-captcha-input-div\\\" id=\\\"yop-poll-captcha-input-div-%POLL-ID%\\\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\\\"yop-poll-vote-%POLL-ID%\\\" class=\\\"yop-poll-footer\\\">\r\n    <div>%POLL-VOTE-BUTTON%</div>\r\n    <div id=\\\"yop-poll-results-%POLL-ID%\\\">%POLL-VIEW-RESULT-LINK%</div>\r\n    <div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n    <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\\\"yop-poll-name-%POLL-ID%\\\" class=\\\"yop-poll-name\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\"></div>\r\n<div id=\\\"yop-poll-answers-%POLL-ID%\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_RESULT_CONTAINER]\r\n        <li class=\\\"yop-poll-li-result-%POLL-ID%\\\">\r\n            <label class=\\\"pds-feedback-label-%POLL-ID%\\\">\r\n                <span class=\\\"pds-answer-text-%POLL-ID%\\\">%POLL-ANSWER-LABEL%</span>\r\n                <span class=\\\"pds-feedback-result-%POLL-ID%\\\">\r\n                    <span class=\\\"pds-feedback-per-%POLL-ID%\\\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n                </span>\r\n            </label>\r\n            <div>\r\n             %POLL-ANSWER-RESULT-BAR%\r\n           </div>\r\n        </li>\r\n        [/ANSWER_RESULT_CONTAINER]\r\n    </ul>\r\n</div>\r\n<div id=\\\"yop-poll-vote-%POLL-ID%\\\" class=\\\"yop-poll-footer\\\">\r\n    <div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n    <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n    <div id=\\\"yop-poll-back-%POLL-ID%\\\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to <br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-answers-1\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_RESULT_CONTAINER]\r\n        <li class=\\\"yop-poll-li-result-%POLL-ID%\\\">\r\n            <label class=\\\"pds-feedback-label\\\">\r\n                <span class=\\\"pds-answer-text\\\">%POLL-ANSWER-LABEL%</span>\r\n                <span class=\\\"pds-feedback-result\\\">\r\n                    <span class=\\\"pds-feedback-per\\\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n                </span>\r\n            </label>\r\n            <span class=\\\"pds-clear\\\" style=\\\"display: block;clear: both;height:1px;line-height:1px;\\\"> </span>\r\n    %POLL-ANSWER-RESULT-BAR%\r\n        </li>\r\n        [/ANSWER_RESULT_CONTAINER]\r\n    </ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n    font-weight:bold;\r\n    background:#B70004;\r\n    color:#fff;\r\n    padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n    font-size:14px;\r\n    margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n    font-style:normal;\r\n    margin:0px 0px 10px 0px;\r\n    padding:0px;\r\n    font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n    margin:0px; \r\n    float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n    margin:0px; \r\n    font-style:normal; \r\n    font-weight:normal; \r\n    font-size:12px; \r\n    float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n    padding:0px;\r\n    margin:0px;    \r\n    font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\\\'text\\\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n    font-size:12px;\r\n    font-style:italic;\r\n    color:red;\r\n    text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n    font-size:12px;\r\n    font-style:italic;\r\n    color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52');
INSERT INTO `wp_yop2_poll_templates` (`id`,`template_author`,`name`,`before_vote_template`,`after_vote_template`,`before_start_date_template`,`after_end_date_template`,`css`,`js`,`status`,`last_modified`,`date_added`) VALUES 
 (9,1,'Red v3','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #B70004;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (10,1,'Green v1','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#3F8B43;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:00FF00;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (11,1,'Green v2','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#3F8B43;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (12,1,'Green v3','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #3F8B43;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n} \r\n jQuery(document).ready(function(){  \r\n runOnPollStateChange_%POLL-ID%(); \r\n }); \r\n function runOnPollStateChange_%POLL-ID%() {};','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (13,1,'Orange v1','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#FB6911;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (14,1,'Orange v2','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#FB6911;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52'),
 (15,1,'Orange v3','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL% [ANSWER_RESULT_CONTAINER]\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%  [/ANSWER_RESULT_CONTAINER]\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>   <div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n</div>[/QUESTION_CONTAINER]','[QUESTION_CONTAINER]<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\"></div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS-LABEL%</div>\r\n	<div>%POLL-TOTAL-VOTES-LABEL%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>[/QUESTION_CONTAINER]','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','[QUESTION_CONTAINER]This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%[/QUESTION_CONTAINER]','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #FB6911;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width(\r\n				parseInt(\r\n					jQuery(this).width() ) -\r\n					parseInt(jQuery(this).css(\\\"border-left-width\\\")) -\r\n					parseInt(jQuery(this).css(\\\"border-right-width\\\"))\r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\\\"border-left-width\\\", \\\"0px\\\");\r\n		jQuery(this).css(\\\"border-right-width\\\", \\\"0px\\\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		jQuery(this).width(\r\n		parseInt( jQuery(this).width() ) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\")) -\r\n		parseInt(jQuery(this).css(\\\"padding-left\\\"))\r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );\r\n	stripBorder_%POLL-ID%(  jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \\\"function\\\")\r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \\\"function\\\")\r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \\\"function\\\")\r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[0]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \\\"undefined\\\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols);\r\n			jQuery(this).width(width);\r\n			jQuery(this).css(\\\"float\\\", \\\"left\\\");\r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth;\r\n			}\r\n		});\r\n		width = parseInt( %POLL-WIDTH% / cols[1]);\r\n		obj.width(width-20);\r\n		obj.css(\\\"float\\\", \\\"left\\\");\r\n	}\r\n}\r\nfunction tabulate_answers_%POLL-ID%() {\r\n\r\n	equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth2_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};\r\n','other','2014-12-17 21:04:52','2014-12-17 21:04:52');


--
-- Definition of table `wp_yop2_poll_votes_custom_fields`
--

CREATE TABLE `wp_yop2_poll_votes_custom_fields` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `vote_id` varchar(255) NOT NULL,
  `custom_field_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_type` enum('facebook','wordpress','anonymous','default') NOT NULL DEFAULT 'default',
  `custom_field_value` text NOT NULL,
  `tr_id` varchar(255) NOT NULL,
  `vote_date` datetime NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_poll_votes_custom_fields`
--



--
-- Definition of table `wp_yop2_pollmeta`
--

CREATE TABLE `wp_yop2_pollmeta` (
  `meta_id` int(11) NOT NULL AUTO_INCREMENT,
  `yop_poll_id` int(11) NOT NULL,
  `meta_key` varchar(255) NOT NULL,
  `meta_value` longtext NOT NULL,
  PRIMARY KEY (`meta_id`),
  KEY `yop_poll_id` (`yop_poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_pollmeta`
--

INSERT INTO `wp_yop2_pollmeta` (`meta_id`,`yop_poll_id`,`meta_key`,`meta_value`) VALUES 
 (1,4,'options','a:95:{s:19:\"user_interface_type\";N;s:17:\"is_default_answer\";s:2:\"no\";s:15:\"poll_start_date\";N;s:13:\"poll_end_date\";N;s:12:\"view_results\";a:1:{i:0;s:5:\"after\";}s:23:\"view_results_start_date\";s:0:\"\";s:24:\"view_results_permissions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:17:\"view_results_type\";s:28:\"votes-number-and-percentages\";s:19:\"answer_result_label\";s:62:\"%POLL-ANSWER-RESULT-PERCENTAGES% :  %POLL-ANSWER-RESULT-VOTES%\";s:17:\"vote_button_label\";s:14:\"Ψηφίστε\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:3:\"yes\";s:23:\"view_results_link_label\";s:24:\"Αποτελέσματα\";s:22:\"view_back_to_vote_link\";s:3:\"yes\";s:28:\"view_back_to_vote_link_label\";s:38:\"Πίσω στη Δημοσκόπηση\";s:16:\"view_total_votes\";s:3:\"yes\";s:22:\"view_total_votes_label\";s:50:\"Συνολικές Ψήφοι : %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:50:\"Συνολικές Ψήφοι %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:62:\"Ευχαριστούμε για τη Συμμετοχή σας\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:2:\"no\";s:31:\"vote_permisions_wordpress_label\";s:22:\"Vote as Wordpress User\";s:25:\"vote_permisions_anonymous\";s:3:\"yes\";s:31:\"vote_permisions_anonymous_label\";s:22:\"Vote as Anonymous User\";s:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";s:1:\"1\";s:29:\"blocking_voters_interval_unit\";s:4:\"days\";s:30:\"limit_number_of_votes_per_user\";s:2:\"no\";s:24:\"number_of_votes_per_user\";i:1;s:20:\"percentages_decimals\";s:1:\"2\";s:25:\"use_default_loading_image\";s:3:\"yes\";s:17:\"loading_image_url\";s:0:\"\";s:19:\"redirect_after_vote\";s:2:\"no\";s:23:\"redirect_after_vote_url\";s:0:\"\";s:11:\"date_format\";s:11:\"d/m/Y H:i:s\";s:22:\"view_poll_archive_link\";s:3:\"yes\";s:23:\"auto_generate_poll_page\";s:2:\"no\";s:27:\"has_auto_generate_poll_page\";s:2:\"no\";s:11:\"use_captcha\";s:2:\"no\";s:24:\"send_email_notifications\";s:2:\"no\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";N;s:36:\"add_other_answers_to_default_answers\";s:2:\"no\";s:28:\"display_other_answers_values\";s:2:\"no\";s:22:\"allow_multiple_answers\";s:2:\"no\";s:29:\"allow_multiple_answers_number\";i:1;s:33:\"allow_multiple_answers_min_number\";i:1;s:15:\"display_answers\";s:8:\"vertical\";s:30:\"display_answers_tabulated_cols\";s:1:\"3\";s:15:\"sorting_results\";s:5:\"exact\";s:15:\"sorting_answers\";s:5:\"exact\";s:25:\"sorting_results_direction\";s:3:\"asc\";s:25:\"sorting_answers_direction\";s:3:\"asc\";s:41:\"singular_answer_result_votes_number_label\";s:10:\"ψήφος\";s:39:\"plural_answer_result_votes_number_label\";s:10:\"φήφοι\";s:15:\"display_results\";s:8:\"vertical\";s:30:\"display_results_tabulated_cols\";s:1:\"2\";s:14:\"bar_background\";s:6:\"FBD55E\";s:10:\"bar_height\";i:10;s:16:\"bar_border_color\";s:6:\"EDB918\";s:16:\"bar_border_width\";i:1;s:16:\"bar_border_style\";s:5:\"solid\";s:21:\"sorting_archive_polls\";N;s:26:\"sorting_archive_polls_rule\";N;s:11:\"archive_url\";N;s:18:\"archive_link_label\";N;s:20:\"show_poll_in_archive\";N;s:18:\"poll_archive_order\";N;s:22:\"archive_polls_per_page\";s:1:\"5\";s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:19:\"yop-poll@ekloges.tv\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:8:\"New Vote\";s:24:\"email_notifications_body\";s:268:\"<p>A new vote was registered on [VOTE_DATE] for [POLL_NAME]</p>\r\n			<p>Vote Details:</p>\r\n			<p><b>Question:</b> [QUESTION]</p>\r\n			<p><b>Answers:</b> <br />[ANSWERS]</p>\r\n			<p><b>Custom Fields:</b> <br />[CUSTOM_FIELDS]</p>\r\n			<p><b>Vote ID:</b> <br />[VOTE_ID]</p>\";s:25:\"schedule_reset_poll_stats\";s:2:\"no\";s:24:\"schedule_reset_poll_date\";i:1395759269;s:35:\"schedule_reset_poll_recurring_value\";i:9999;s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:2:\"no\";s:32:\"use_the_same_template_for_widget\";N;s:24:\"vote_permisions_facebook\";s:2:\"no\";s:30:\"vote_permisions_facebook_label\";s:21:\"Vote as Facebook User\";s:25:\"facebook_share_after_vote\";s:2:\"no\";s:26:\"facebook_share_description\";s:49:\"Just casted an YOP Poll vote on ΕΚΛΟΓΕΣ TV\";s:22:\"vote_permisions_google\";N;s:28:\"vote_permisions_google_label\";N;s:24:\"show_google_share_button\";s:2:\"no\";s:18:\"google_integration\";N;s:20:\"facebook_integration\";N;s:29:\"facebook_show_comments_widget\";s:2:\"no\";s:8:\"template\";i:8;s:15:\"widget_template\";i:8;}'),
 (2,5,'options','a:69:{s:15:\"poll_start_date\";s:19:\"2014-12-17 21:04:52\";s:13:\"poll_end_date\";s:19:\"01-01-2038 23:59:59\";s:12:\"view_results\";a:1:{i:0;s:5:\"after\";}s:23:\"view_results_start_date\";s:19:\"1970-01-01 00:00:00\";s:24:\"view_results_permissions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:17:\"view_results_type\";s:28:\"votes-number-and-percentages\";s:19:\"answer_result_label\";s:62:\"%POLL-ANSWER-RESULT-PERCENTAGES% :  %POLL-ANSWER-RESULT-VOTES%\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:2:\"no\";s:22:\"view_back_to_vote_link\";s:3:\"yes\";s:16:\"view_total_votes\";s:3:\"yes\";s:18:\"view_total_answers\";s:2:\"no\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:24:\"vote_permisions_facebook\";s:2:\"no\";s:22:\"vote_permisions_google\";s:2:\"no\";s:25:\"vote_permisions_wordpress\";s:2:\"no\";s:25:\"vote_permisions_anonymous\";s:3:\"yes\";s:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";s:2:\"30\";s:29:\"blocking_voters_interval_unit\";s:4:\"days\";s:30:\"limit_number_of_votes_per_user\";s:2:\"no\";s:24:\"number_of_votes_per_user\";s:1:\"1\";s:25:\"use_default_loading_image\";s:3:\"yes\";s:19:\"redirect_after_vote\";s:2:\"no\";s:22:\"view_poll_archive_link\";s:3:\"yes\";s:23:\"auto_generate_poll_page\";s:2:\"no\";s:27:\"has_auto_generate_poll_page\";s:2:\"no\";s:13:\"poll_page_url\";b:0;s:11:\"use_captcha\";s:2:\"no\";s:24:\"send_email_notifications\";s:2:\"no\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:36:\"add_other_answers_to_default_answers\";s:2:\"no\";s:28:\"display_other_answers_values\";s:2:\"no\";s:22:\"allow_multiple_answers\";s:2:\"no\";s:29:\"allow_multiple_answers_number\";i:1;s:33:\"allow_multiple_answers_min_number\";i:1;s:15:\"display_answers\";s:8:\"vertical\";s:30:\"display_answers_tabulated_cols\";s:1:\"3\";s:15:\"sorting_results\";s:10:\"as_defined\";s:25:\"sorting_results_direction\";s:3:\"asc\";s:15:\"display_results\";s:8:\"vertical\";s:30:\"display_results_tabulated_cols\";s:1:\"2\";s:14:\"bar_background\";s:6:\"FBD55E\";s:10:\"bar_height\";s:2:\"10\";s:16:\"bar_border_color\";s:6:\"EDB918\";s:16:\"bar_border_width\";s:1:\"1\";s:16:\"bar_border_style\";s:5:\"solid\";s:21:\"sorting_archive_polls\";s:5:\"votes\";s:26:\"sorting_archive_polls_rule\";s:3:\"asc\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";i:2;s:41:\"singular_answer_result_votes_number_label\";s:4:\"vote\";s:39:\"plural_answer_result_votes_number_label\";s:5:\"votes\";s:25:\"schedule_reset_poll_stats\";s:2:\"no\";s:24:\"schedule_reset_poll_date\";s:19:\"2014-12-17 21:04:52\";s:35:\"schedule_reset_poll_recurring_value\";s:4:\"9999\";s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:8:\"template\";s:0:\"\";s:15:\"widget_template\";s:0:\"\";s:25:\"vote_facebook_integration\";s:2:\"on\";s:23:\"redirect_after_vote_url\";s:0:\"\";s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:19:\"yop-poll@ekloges.tv\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:8:\"New Vote\";s:24:\"email_notifications_body\";s:1311:\"<p>A new vote was registered on %VOTE_DATE% for %POLL_NAME%</p>\r\n\r\n                                                            <p>Vote Details:</p>\r\n\r\n                                                            [QUESTION]\r\n\r\n                                                            <p><b>Question:</b> %QUESTION_TEXT%</p>\r\n\r\n                                                            <p><b>Answers:</b> <br />\r\n\r\n                                                            [ANSWERS]\r\n\r\n                                                            %ANSWER_VALUE%\r\n\r\n                                                            [/ANSWERS]\r\n\r\n                                                            </p>\r\n\r\n                                                            <p><b>Custom Fields:</b> <br />\r\n\r\n                                                            [CUSTOM_FIELDS]\r\n\r\n                                                            %CUSTOM_FIELD_NAME% - %CUSTOM_FIELD_VALUE%\r\n\r\n                                                            [/CUSTOM_FIELDS]\r\n\r\n                                                            </p>\r\n\r\n                                                            [/QUESTION]\r\n\r\n                                                            <p><b>Vote ID:</b> <br />%VOTE_ID%</p>\";}');


--
-- Definition of table `wp_yop2_polls`
--

CREATE TABLE `wp_yop2_polls` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `poll_title` text NOT NULL,
  `poll_name` varchar(255) NOT NULL,
  `poll_author` bigint(20) NOT NULL DEFAULT '0',
  `poll_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `poll_status` varchar(20) NOT NULL,
  `poll_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `poll_type` varchar(20) NOT NULL,
  `poll_start_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `poll_end_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `poll_total_votes` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop2_polls`
--

INSERT INTO `wp_yop2_polls` (`ID`,`poll_title`,`poll_name`,`poll_author`,`poll_date`,`poll_status`,`poll_modified`,`poll_type`,`poll_start_date`,`poll_end_date`,`poll_total_votes`) VALUES 
 (4,'Πρόθεση για Συμμετοχή στις  Ευρωεκλογές 2014','Πρόθεση για Συμμετοχή στις  Ευρωεκλογές 2014',1,'2014-03-26 12:28:03','open','2014-05-29 12:18:48','poll','2014-03-26 12:26:22','2014-05-28 23:59:59',147),
 (5,'ΠΤΔ','ptd',1,'2014-12-18 12:25:57','active','2014-12-18 12:26:55','poll','2014-12-17 21:04:52','2038-01-01 23:59:59',6);


--
-- Definition of table `wp_yop_poll_answermeta`
--

CREATE TABLE `wp_yop_poll_answermeta` (
  `meta_id` int(11) NOT NULL AUTO_INCREMENT,
  `yop_poll_answer_id` int(11) NOT NULL,
  `meta_key` varchar(255) NOT NULL,
  `meta_value` longtext NOT NULL,
  PRIMARY KEY (`meta_id`),
  KEY `yop_poll_answer_id` (`yop_poll_answer_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_answermeta`
--

INSERT INTO `wp_yop_poll_answermeta` (`meta_id`,`yop_poll_answer_id`,`meta_key`,`meta_value`) VALUES 
 (8,14,'options','a:1:{s:17:\"is_default_answer\";s:2:\"no\";}'),
 (7,13,'options','a:1:{s:17:\"is_default_answer\";s:2:\"no\";}'),
 (6,12,'options','a:1:{s:17:\"is_default_answer\";s:2:\"no\";}');


--
-- Definition of table `wp_yop_poll_answers`
--

CREATE TABLE `wp_yop_poll_answers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `answer` varchar(255) NOT NULL,
  `type` enum('default','other') NOT NULL DEFAULT 'default',
  `votes` int(11) NOT NULL,
  `status` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_answers`
--

INSERT INTO `wp_yop_poll_answers` (`id`,`poll_id`,`answer`,`type`,`votes`,`status`) VALUES 
 (14,4,'Δέν έχω αποφασίσει','default',14,'active'),
 (12,4,'Ναί','default',84,'active'),
 (13,4,'Όχι','default',49,'active');


--
-- Definition of table `wp_yop_poll_bans`
--

CREATE TABLE `wp_yop_poll_bans` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `type` varchar(255) NOT NULL,
  `value` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_bans`
--



--
-- Definition of table `wp_yop_poll_custom_fields`
--

CREATE TABLE `wp_yop_poll_custom_fields` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `custom_field` varchar(255) NOT NULL,
  `required` enum('yes','no') NOT NULL DEFAULT 'no',
  `status` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_custom_fields`
--



--
-- Definition of table `wp_yop_poll_facebook_users`
--

CREATE TABLE `wp_yop_poll_facebook_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fb_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `gender` varchar(255) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_facebook_users`
--



--
-- Definition of table `wp_yop_poll_logs`
--

CREATE TABLE `wp_yop_poll_logs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `vote_id` varchar(255) NOT NULL,
  `answer_id` int(11) NOT NULL,
  `ip` varchar(100) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_type` enum('facebook','wordpress','anonymous','default') NOT NULL DEFAULT 'default',
  `http_referer` varchar(255) NOT NULL,
  `tr_id` varchar(255) NOT NULL,
  `other_answer_value` text NOT NULL,
  `host` varchar(200) NOT NULL,
  `vote_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=153 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_logs`
--

INSERT INTO `wp_yop_poll_logs` (`id`,`poll_id`,`vote_id`,`answer_id`,`ip`,`user_id`,`user_type`,`http_referer`,`tr_id`,`other_answer_value`,`host`,`vote_date`) VALUES 
 (69,4,'vote_id_53677c3c290d6',13,'62.74.26.126',1,'default','http://www.ekloges.tv/dimoi/','4','','62.74.26.126','2014-05-05 14:55:44'),
 (68,4,'vote_id_5367600419866',12,'85.73.248.26',0,'default','http://www.ekloges.tv/2014/04/742/','4','','athedsl-307324.home.otenet.gr','2014-05-05 12:55:17'),
 (67,4,'vote_id_5366e47322b46',13,'178.128.242.10',1,'default','http://www.ekloges.tv/','4','','178.128.242.10.dsl.dyn.forthnet.gr','2014-05-05 04:08:03'),
 (66,4,'vote_id_5366b8e6e770d',13,'213.136.71.211',0,'default','http://www.ekloges.tv/2014/05/1041/','4','','m2075','2014-05-05 01:02:14'),
 (65,4,'vote_id_53665863e44fe',13,'213.136.71.211',0,'default','http://www.ekloges.tv/perifereies/','4','','m2075','2014-05-04 18:10:27'),
 (64,4,'vote_id_53664cea894be',13,'178.128.242.10',1,'default','http://www.ekloges.tv/2014/05/1007/','4','','178.128.242.10.dsl.dyn.forthnet.gr','2014-05-04 17:21:30'),
 (63,4,'vote_id_53660ef7573f6',13,'178.128.242.10',1,'default','http://www.ekloges.tv/','4','','178.128.242.10.dsl.dyn.forthnet.gr','2014-05-04 12:57:11'),
 (62,4,'vote_id_536596ad34471',13,'95.211.29.65',0,'default','http://www.ekloges.tv/','4','','satellitedns.com','2014-05-04 04:23:57'),
 (61,4,'vote_id_536593cbc680d',13,'178.128.242.10',1,'default','http://www.ekloges.tv/','4','','178.128.242.10.dsl.dyn.forthnet.gr','2014-05-04 04:11:39'),
 (60,4,'vote_id_5364cfe431382',12,'85.74.118.244',0,'default','http://www.ekloges.tv/2014/04/796/','4','','athedsl-204630.home.otenet.gr','2014-05-03 14:15:48'),
 (59,4,'vote_id_53642c37ea9ea',13,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-03 02:37:27'),
 (58,4,'vote_id_5362c2e475b34',12,'85.73.90.122',0,'default','http://www.ekloges.tv/','4','','athedsl-266972.home.otenet.gr','2014-05-02 00:55:48'),
 (57,4,'vote_id_5361735c21ea1',12,'213.136.71.211',0,'default','http://www.ekloges.tv/','4','','m2075','2014-05-01 01:04:12'),
 (56,4,'vote_id_536150ded6a65',12,'130.43.81.186',0,'default','http://ekloges.tv/','4','','130.43.81.186.dsl.dyn.forthnet.gr','2014-04-30 22:37:03'),
 (55,4,'vote_id_5360f9f063ca5',13,'213.249.12.140',0,'default','http://www.ekloges.tv/alphabeta/','4','','d140.the5.nas.panafonet.gr','2014-04-30 16:26:08'),
 (54,4,'vote_id_5360e8a47ca64',12,'192.168.230.40',0,'default','http://ekloges.tv/','4','','192.168.230.40','2014-04-30 15:12:25'),
 (70,4,'vote_id_5367934f038d6',13,'77.49.243.8',1,'default','http://www.ekloges.tv/','4','','77.49.243.8.dsl.dyn.forthnet.gr','2014-05-05 16:34:07'),
 (71,4,'vote_id_5367a3cce0be6',12,'77.49.60.255',0,'default','http://www.ekloges.tv/2014/05/1028/','4','','77.49.60.255.dsl.dyn.forthnet.gr','2014-05-05 17:44:29'),
 (72,4,'vote_id_5367e71bb5c66',13,'77.49.243.8',1,'default','http://www.ekloges.tv/','4','','77.49.243.8.dsl.dyn.forthnet.gr','2014-05-05 22:31:39'),
 (73,4,'vote_id_53680857019ec',13,'213.136.71.211',0,'default','http://www.ekloges.tv/2014/05/1007/','4','','m2075','2014-05-06 00:53:27'),
 (74,4,'vote_id_536888a7e84ed',13,'127.0.0.1',0,'default','http://www.ekloges.tv/','4','','m2075','2014-05-06 10:00:55'),
 (75,4,'vote_id_5368a0e645582',13,'62.74.26.23',0,'default','http://ekloges.tv/','4','','62.74.26.23','2014-05-06 11:44:26'),
 (76,4,'vote_id_5368b0791df0c',13,'94.173.13.11',0,'default','http://www.ekloges.tv/2014/05/1040/','4','','cpc1-sgyl30-2-0-cust266.sgyl.cable.virginm.net','2014-05-06 12:50:49'),
 (77,4,'vote_id_5368b57ff05b0',12,'77.49.57.137',0,'default','http://www.ekloges.tv/','4','','77.49.57.137.dsl.dyn.forthnet.gr','2014-05-06 13:12:16'),
 (78,4,'vote_id_53693582a9bd8',13,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-06 22:18:26'),
 (79,4,'vote_id_536ad30ce1edb',12,'176.92.185.75',0,'default','http://www.ekloges.tv/2014/05/1051/','4','','176-92-185-75.adsl.cyta.gr','2014-05-08 03:42:53'),
 (80,4,'vote_id_536b3222d96be',12,'188.4.246.188',0,'default','http://www.ekloges.tv/','4','','188.4.246.188.dsl.dyn.forthnet.gr','2014-05-08 10:28:34'),
 (81,4,'vote_id_536b466041eea',12,'89.31.176.13',0,'default','http://www.ekloges.tv/2014/04/812/','4','','89.31.176.13','2014-05-08 11:55:01'),
 (82,4,'vote_id_536b5883aa766',12,'37.6.79.173',0,'default','http://www.ekloges.tv/','4','','adsl-173.37.6.79.tellas.gr','2014-05-08 13:12:19'),
 (83,4,'vote_id_536b589ac3c3f',13,'37.6.79.173',0,'default','http://www.ekloges.tv/','4','','adsl-173.37.6.79.tellas.gr','2014-05-08 13:12:42'),
 (84,4,'vote_id_536b74661cbf8',13,'94.75.234.208',0,'default','http://ekloges.tv/','4','','host1.spotmail.net','2014-05-08 15:11:18'),
 (85,4,'vote_id_536ca2a206b71',12,'178.146.0.14',0,'default','http://www.ekloges.tv/2014/04/857/','4','','178-146-0-14.mobile.cosmote.net','2014-05-09 12:40:50'),
 (86,4,'vote_id_536ccedc48891',13,'62.74.26.192',1,'default','http://www.ekloges.tv/2014/05/1057/','4','','62.74.26.192','2014-05-09 15:49:36'),
 (87,4,'vote_id_536d05f874b99',12,'178.59.79.138',0,'default','http://www.ekloges.tv/','4','','178-79-138.dynamic.cyta.gr','2014-05-09 19:44:40'),
 (88,4,'vote_id_536d3cc278d39',12,'79.103.91.43',0,'default','http://www.ekloges.tv/2014/05/909/','4','','79.103.91.43.dsl.dyn.forthnet.gr','2014-05-09 23:38:26'),
 (89,4,'vote_id_536d50130e7a9',13,'77.49.148.113',1,'default','http://www.ekloges.tv/2014/05/1007/','4','','77.49.148.113.dsl.dyn.forthnet.gr','2014-05-10 01:00:51'),
 (90,4,'vote_id_536e98cf07e91',12,'176.92.203.73',0,'default','http://www.ekloges.tv/2014/05/1051/','4','','176-92-203-73.adsl.cyta.gr','2014-05-11 00:23:27'),
 (91,4,'vote_id_536f274649540',12,'188.4.31.61',0,'default','http://www.ekloges.tv/','4','','188.4.31.61.dsl.dyn.forthnet.gr','2014-05-11 10:31:18'),
 (92,4,'vote_id_536f59eb95e25',12,'141.237.191.14',0,'default','http://www.ekloges.tv/canmetamorfosi/','4','','ppp141237191014.access.hol.gr','2014-05-11 14:07:23'),
 (93,4,'vote_id_536f6f8f31227',13,'213.136.71.211',1,'default','http://www.ekloges.tv/','4','','m2075','2014-05-11 15:39:43'),
 (94,4,'vote_id_536f799f90eac',12,'213.16.169.158',0,'default','http://www.ekloges.tv/','4','','213.16.169.158.dsl.dyn.forthnet.gr','2014-05-11 16:22:39'),
 (95,4,'vote_id_536f8b7116118',12,'79.167.118.50',0,'default','http://www.ekloges.tv/','4','','ppp079167118050.access.hol.gr','2014-05-11 17:38:41'),
 (96,4,'vote_id_536fe6f7cc58a',12,'94.68.254.83',0,'default','http://www.ekloges.tv/canvrilisia/','4','','ppp-94-68-254-83.home.otenet.gr','2014-05-12 00:09:11'),
 (97,4,'vote_id_536fe96995414',12,'176.92.235.32',0,'default','http://www.ekloges.tv/1072/','4','','176-92-235-32.adsl.cyta.gr','2014-05-12 00:19:37'),
 (98,4,'vote_id_53705df529b9e',12,'89.31.176.13',0,'default','http://www.ekloges.tv/1028/%ce%bc%cf%80%cf%81%ce%bf%cf%83%cf%84%ce%ac-17-%ce%bc%ce%bf%ce%bd%ce%ac%ce%b4%ce%b5%cf%82-%ce%bf-%ce%bc%ce%b9%cf%87%ce%b1%ce%bb%ce%bf%ce%bb%ce%b9%ce%ac%ce%ba%ce%bf%cf%82-%ce%ad%ce%bd%ce%b1%ce%bd%cf%84/','4','','89.31.176.13','2014-05-12 08:36:58'),
 (99,4,'vote_id_5371164f2edbe',12,'85.72.242.228',0,'default','http://www.ekloges.tv/765/','4','','athedsl-355142.home.otenet.gr','2014-05-12 21:43:27'),
 (100,4,'vote_id_5371492dcf150',13,'213.136.71.211',0,'default','http://www.ekloges.tv/1099/%ce%b4-%cf%80%ce%b1%cf%81%ce%b1%cf%83%ce%ba%ce%b5%cf%85%cf%8c%cf%80%ce%bf%cf%85%ce%bb%ce%bf%cf%82-%ce%bf%ce%b9-%ce%b5%ce%b3%ce%b3%cf%85%ce%ae%cf%83%ce%b5%ce%b9%cf%82-%ce%ba%ce%b1%ce%b9-%cf%84/','4','','m2075','2014-05-13 01:20:29'),
 (101,4,'vote_id_53714e6568652',12,'77.49.231.94',0,'default','http://www.ekloges.tv/1007/%ce%bf%ce%b9-%cf%85%cf%80%ce%bf%cf%88%ce%ae%cf%86%ce%b9%ce%b5%cf%82-%cf%80%ce%bf%cf%85-%ce%b8%ce%b1-%ce%b1%ce%bd%ce%b5%ce%b2%ce%ac%cf%83%ce%bf%cf%85%ce%bd-%cf%84%ce%bf-%ce%b8%ce%b5%cf%81/','4','','77.49.231.94.dsl.dyn.forthnet.gr','2014-05-13 01:42:45'),
 (102,4,'vote_id_5371c116adaea',12,'195.234.49.100',0,'default','http://ekloges.tv/','4','','tt85.ttbank.gr','2014-05-13 09:52:07'),
 (103,4,'vote_id_5371d699d8bfa',12,'87.202.93.25',0,'default','http://www.ekloges.tv/cankallithea/','4','','athedsl-23647.home.otenet.gr','2014-05-13 11:23:53'),
 (104,4,'vote_id_5371dadc53d6a',14,'62.74.23.73',1,'default','http://www.ekloges.tv/','4','','62.74.23.73','2014-05-13 11:42:09'),
 (105,4,'vote_id_5372452d35f4a',12,'87.202.15.197',0,'default','http://www.ekloges.tv/cankallithea/','4','','athedsl-04007.home.otenet.gr','2014-05-13 19:15:42'),
 (106,4,'vote_id_53738400cff22',12,'85.74.19.66',0,'default','http://www.ekloges.tv/1123/%CE%B2%CE%B1%CE%B3%CE%B3%CE%AD%CE%BB%CE%B7%CF%82-%CE%BA%CF%8E%CE%BD%CF%83%CF%84%CE%B1%CF%82-%CF%85%CF%80%CE%BF%CF%88%CE%AE%CF%86%CE%B9%CE%BF%CF%82-%CE%B4%CE%B7%CE%BC%CE%BF%CF%84%CE%B9%CE%BA%CF%8C/','4','','athedsl-179108.home.otenet.gr','2014-05-14 17:56:02'),
 (107,4,'vote_id_5373b2dbb6606',12,'85.75.73.214',0,'default','http://www.ekloges.tv/candafnis/','4','','athedsl-127543.home.otenet.gr','2014-05-14 21:15:56'),
 (108,4,'vote_id_53747b2948acf',12,'94.69.56.113',0,'default','http://www.ekloges.tv/','4','','ppp-94-69-56-113.home.otenet.gr','2014-05-15 11:30:33'),
 (109,4,'vote_id_5374a1c692c9a',12,'62.74.23.53',0,'default','http://ekloges.tv/','4','','62.74.23.53','2014-05-15 14:15:23'),
 (110,4,'vote_id_53754fd2d69fd',12,'46.190.83.42',0,'default','http://www.ekloges.tv/1065/ilias-spatharas-ipopsifios-ton-ari-stin-athina/','4','','adsl-42.46.190.83.tellas.gr','2014-05-16 02:37:56'),
 (111,4,'vote_id_5375ca2e7c32f',12,'85.74.231.12',0,'default','http://www.ekloges.tv/1072/k-beretanou-ipopsifia-stin-kifisia-ton-panagioti-kanakaki/','4','','athedsl-233326.home.otenet.gr','2014-05-16 11:19:59'),
 (112,4,'vote_id_5375f9649e563',12,'130.43.72.23',0,'default','http://www.ekloges.tv/cankaisariani/','4','','130.43.72.23.dsl.dyn.forthnet.gr','2014-05-16 14:41:24'),
 (113,4,'vote_id_53768240c8505',12,'188.4.179.76',0,'default','http://www.ekloges.tv/','4','','188.4.179.76.dsl.dyn.forthnet.gr','2014-05-17 00:25:21'),
 (114,4,'vote_id_53770587be819',12,'2.86.90.206',0,'default','http://www.ekloges.tv/1072/k-beretanou-ipopsifia-stin-kifisia-ton-panagioti-kanakaki/','4','','ppp-2-86-90-206.home.otenet.gr','2014-05-17 09:45:29'),
 (115,4,'vote_id_53775a26dca53',12,'2.86.11.61',0,'default','http://www.ekloges.tv/canagiosdimitrios/','4','','ppp-2-86-11-61.home.otenet.gr','2014-05-17 15:46:31'),
 (116,4,'vote_id_5377650669c64',13,'79.167.195.196',0,'default','http://www.ekloges.tv/canvrilisia/','4','','ppp079167195196.access.hol.gr','2014-05-17 16:32:55'),
 (117,4,'vote_id_5377699427483',12,'178.128.47.234',0,'default','http://www.ekloges.tv/canlikovrisis/','4','','178.128.47.234.dsl.dyn.forthnet.gr','2014-05-17 16:52:20'),
 (118,4,'vote_id_5377781c14071',12,'94.69.220.203',0,'default','http://www.ekloges.tv/1007/%ce%bf%ce%b9-%cf%85%cf%80%ce%bf%cf%88%ce%ae%cf%86%ce%b9%ce%b5%cf%82-%cf%80%ce%bf%cf%85-%ce%b8%ce%b1-%ce%b1%ce%bd%ce%b5%ce%b2%ce%ac%cf%83%ce%bf%cf%85%ce%bd-%cf%84%ce%bf-%ce%b8%ce%b5%cf%81/','4','','ppp-94-69-220-203.home.otenet.gr','2014-05-17 17:54:21'),
 (119,4,'vote_id_5377c5cf343d2',12,'178.128.159.58',0,'default','http://www.ekloges.tv/canmetamorfosi/','4','','178.128.159.58.dsl.dyn.forthnet.gr','2014-05-17 23:25:52'),
 (120,4,'vote_id_5377dedcb5d4f',12,'188.4.60.54',0,'default','http://www.ekloges.tv/canpeloponnisos/','4','','188.4.60.54.dsl.dyn.forthnet.gr','2014-05-18 01:12:45'),
 (121,4,'vote_id_537842e2c8971',12,'87.203.73.99',0,'default','http://www.ekloges.tv/canfilothei/','4','','athedsl-81941.home.otenet.gr','2014-05-18 08:19:31'),
 (122,4,'vote_id_537859f2d2741',14,'37.6.232.156',0,'default','http://www.ekloges.tv/canagiosdimitrios/','4','','adsl-156.37.6.232.tellas.gr','2014-05-18 09:57:55'),
 (123,4,'vote_id_53785d16c1b49',12,'176.92.9.165',0,'default','http://www.ekloges.tv/796/','4','','176-92-9-165.adsl.cyta.gr','2014-05-18 10:11:19'),
 (124,4,'vote_id_5378ae9f3ecc1',12,'79.167.151.42',0,'default','http://www.ekloges.tv/','4','','ppp079167151042.access.hol.gr','2014-05-18 15:59:11'),
 (125,4,'vote_id_5378cdaeb78c9',12,'62.74.26.180',0,'default','http://www.ekloges.tv/1170/%cf%84%ce%bf-e-reportaz-%ce%ba%ce%b1%ce%b9-%cf%84%ce%bf-ekloges-tv-%cf%83%cf%84%ce%b7-%ce%bc%ce%ac%cf%87%ce%b7-%cf%84%cf%89%ce%bd-%ce%b5%ce%ba%ce%bb%ce%bf%ce%b3%cf%8e%ce%bd-%ce%b3%ce%af%ce%bd/','4','','62.74.26.180','2014-05-18 18:11:48'),
 (126,4,'vote_id_5378e8ae60bb9',12,'62.1.122.132',0,'default','http://www.ekloges.tv/canagiosdimitrios/','4','','62.1.122.132.dsl.dyn.forthnet.gr','2014-05-18 20:06:54'),
 (127,4,'vote_id_53790862c6bc1',12,'94.65.46.74',0,'default','http://www.ekloges.tv/canfilothei/','4','','ppp-94-65-46-74.home.otenet.gr','2014-05-18 22:22:10'),
 (128,4,'vote_id_53790e712e579',12,'213.16.196.193',0,'default','http://www.ekloges.tv/812/%CE%B7-%CE%BD%CE%AD%CE%BB%CE%BB%CE%B7-%CE%BC%CE%B1%CF%85%CF%81%CE%AF%CE%B4%CE%BF%CF%85-%CE%B5%CE%BB%CE%AD%CE%BD%CE%B7-%CF%85%CF%80%CE%BF%CF%88%CE%AE%CF%86%CE%B9%CE%B1-%CE%B4%CE%B7%CE%BC%CE%BF%CF%84/','4','','213.16.196.193.sat.dyn.forthnet.gr','2014-05-18 22:48:02'),
 (129,4,'vote_id_53791c9077d41',12,'2.86.163.72',0,'default','http://ekloges.tv/','4','','ppp-2-86-163-72.home.otenet.gr','2014-05-18 23:48:17'),
 (130,4,'vote_id_53791c9612761',12,'2.86.163.72',0,'default','http://ekloges.tv/','4','','ppp-2-86-163-72.home.otenet.gr','2014-05-18 23:48:22'),
 (131,4,'vote_id_53793d3eb86ec',12,'62.74.26.204',0,'default','http://www.ekloges.tv/','4','','62.74.26.204','2014-05-19 02:07:47'),
 (132,4,'vote_id_537942f5da245',13,'176.58.153.119',0,'default','http://www.ekloges.tv/','4','','adsl-119.176.58.153.tellas.gr','2014-05-19 02:32:06'),
 (133,4,'vote_id_5379ad960c09d',12,'94.71.65.187',0,'default','http://www.ekloges.tv/dimosmaleviziou/','4','','athedsl-4486579.home.otenet.gr','2014-05-19 10:07:02'),
 (134,4,'vote_id_5379bdf52f255',12,'79.129.217.32',0,'default','http://www.ekloges.tv/','4','','athedsl-4450608.home.otenet.gr','2014-05-19 11:16:53'),
 (135,4,'vote_id_5379e096cef5d',12,'195.234.49.100',0,'default','http://www.ekloges.tv/1065/ilias-spatharas-ipopsifios-ton-ari-stin-athina/','4','','tt85.ttbank.gr','2014-05-19 13:44:40'),
 (136,4,'vote_id_5379f37d5c04d',13,'62.74.26.12',1,'default','http://www.ekloges.tv/','4','','62.74.26.12','2014-05-19 15:05:22'),
 (137,4,'vote_id_537a58c2b9b85',12,'46.176.98.234',0,'default','http://www.ekloges.tv/dimosplatania/','4','','ppp046176098234.access.hol.gr','2014-05-19 22:17:23'),
 (138,4,'vote_id_537a5e3bc68fd',13,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-19 22:40:43'),
 (139,4,'vote_id_537a5e3e4016d',13,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-19 22:40:46'),
 (140,4,'vote_id_537a5e45d981d',13,'213.136.71.211',1,'default','http://www.ekloges.tv/','4','','m2075','2014-05-19 22:40:53'),
 (141,4,'vote_id_537a5fbcee99d',14,'213.136.71.211',1,'default','http://www.ekloges.tv/','4','','m2075','2014-05-19 22:47:08'),
 (142,4,'vote_id_537a6b4cbb165',12,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-19 23:36:28'),
 (143,4,'vote_id_537a6b4ee0645',12,'213.136.71.211',0,'default','http://ekloges.tv/','4','','m2075','2014-05-19 23:36:30'),
 (144,4,'vote_id_537a6b54de0c5',13,'213.136.71.211',1,'default','http://www.ekloges.tv/','4','','m2075','2014-05-19 23:36:36'),
 (145,4,'vote_id_537a6c14930c5',13,'46.246.241.98',0,'default','http://www.ekloges.tv/','4','','46.246.241.98.dsl.dyn.forthnet.gr','2014-05-19 23:39:48'),
 (146,4,'vote_id_537a74af568cd',13,'94.75.234.208',0,'default','http://ekloges.tv/','4','','host1.spotmail.net','2014-05-20 00:16:31'),
 (147,4,'vote_id_537a74bb42a0d',13,'94.75.234.208',0,'default','http://www.ekloges.tv/','4','','host1.spotmail.net','2014-05-20 00:16:43'),
 (148,4,'vote_id_537c51ab94c35',13,'46.246.176.180',1,'default','http://www.ekloges.tv/','4','','46.246.176.180.dsl.dyn.forthnet.gr','2014-05-21 10:11:40'),
 (149,4,'vote_id_537cf7ead3405',13,'193.92.153.205',1,'default','http://www.ekloges.tv/','4','','193.92.153.205.dsl.dyn.forthnet.gr','2014-05-21 22:01:00'),
 (150,4,'vote_id_537d2ed824c79',13,'193.92.153.205',1,'default','http://www.ekloges.tv/','4','','193.92.153.205.dsl.dyn.forthnet.gr','2014-05-22 01:55:20'),
 (151,4,'vote_id_537f00436130c',12,'79.131.100.255',0,'default','http://ekloges.tv/','4','','athedsl-396545.home.otenet.gr','2014-05-23 11:01:08'),
 (152,4,'vote_id_53834265abd3a',12,'194.219.240.229',0,'default','http://www.ekloges.tv/1167/%ce%bf%ce%b9-%ce%b4%ce%ae%ce%bc%ce%bf%ce%b9-%cf%83%ce%bf%ce%b2%ce%b1%cf%81%ce%b5%cf%8d%ce%bf%cf%85%ce%bd-%cf%83%cf%84%ce%b7%ce%bd-%ce%b1%ce%b3%ce%af%ce%b1-%cf%80%ce%b1%cf%81%ce%b1%cf%83%ce%ba%ce%b5/','4','','194.219.240.229.dsl.dynv6.forthnet.gr','2014-05-26 16:32:25');


--
-- Definition of table `wp_yop_poll_templates`
--

CREATE TABLE `wp_yop_poll_templates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `template_author` bigint(20) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL,
  `before_vote_template` text NOT NULL,
  `after_vote_template` text NOT NULL,
  `before_start_date_template` text NOT NULL,
  `after_end_date_template` text NOT NULL,
  `css` text NOT NULL,
  `js` text NOT NULL,
  `status` varchar(255) NOT NULL,
  `last_modified` datetime NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_templates`
--

INSERT INTO `wp_yop_poll_templates` (`id`,`template_author`,`name`,`before_vote_template`,`after_vote_template`,`before_start_date_template`,`after_end_date_template`,`css`,`js`,`status`,`last_modified`,`date_added`) VALUES 
 (1,1,'White','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n	width:%POLL-WIDTH%;\r\n	background:#fff;\r\n	padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#555; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#555; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','default','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (2,1,'Grey','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#eee;\r\n    padding:10px;\r\n    color:#000;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#000; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#000; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (3,1,'Dark','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n	width:%POLL-WIDTH%;\r\n	background:#555;\r\n	padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#333333; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (4,1,'Blue v1','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#327BD6;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (5,1,'Blue v2','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#327BD6;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (6,1,'Blue v3','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #327BD6;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px;  }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#327BD6; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (7,1,'Red v1','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#B70004;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (8,1,'Red v2','<div id=\\\"yop-poll-name-%POLL-ID%\\\" class=\\\"yop-poll-name\\\">%POLL-NAME%</div>\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-answers-%POLL-ID%\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_CONTAINER]\r\n        <li class=\\\"yop-poll-li-answer-%POLL-ID%\\\">\r\n            %POLL-ANSWER-CHECK-INPUT% \r\n            %POLL-ANSWER-LABEL%\r\n            <span class=\\\"yop-poll-results-text-%POLL-ID%\\\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n             %POLL-ANSWER-RESULT-BAR%\r\n        </li>\r\n        [/ANSWER_CONTAINER]\r\n        [OTHER_ANSWER_CONTAINER]\r\n        <li class=\\\"yop-poll-li-answer-%POLL-ID%\\\">\r\n            %POLL-OTHER-ANSWER-CHECK-INPUT% \r\n            %POLL-OTHER-ANSWER-LABEL% \r\n            <span class=\\\"yop-poll-results-text-%POLL-ID%\\\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n            %POLL-OTHER-ANSWER-TEXT-INPUT% \r\n            %POLL-ANSWER-RESULT-BAR%\r\n        </li>\r\n        [/OTHER_ANSWER_CONTAINER]\r\n    </ul>\r\n</div>\r\n<div id=\\\"yop-poll-custom-%POLL-ID%\\\">\r\n    <ul>\r\n        [CUSTOM_FIELD_CONTAINER]\r\n        <li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n        [/CUSTOM_FIELD_CONTAINER]\r\n    </ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\\\"yop-poll-captcha-%POLL-ID%\\\">\r\n    <div class=\\\"yop-poll-captcha-image-div\\\" id=\\\"yop-poll-captcha-image-div-%POLL-ID%\\\">\r\n        %CAPTCHA-IMAGE%\r\n        <div class=\\\"yop-poll-captcha-helpers-div\\\" id=\\\"yop-poll-captcha-helpers-div-%POLL-ID%\\\">%RELOAD-CAPTCHA-IMAGE% </div>\r\n        <div class=\\\"yop_poll_clear\\\"></div>\r\n    </div>\r\n    %CAPTCHA-LABEL%\r\n    <div class=\\\"yop-poll-captcha-input-div\\\" id=\\\"yop-poll-captcha-input-div-%POLL-ID%\\\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\\\"yop-poll-vote-%POLL-ID%\\\" class=\\\"yop-poll-footer\\\">\r\n    <div>%POLL-VOTE-BUTTON%</div>\r\n    <div id=\\\"yop-poll-results-%POLL-ID%\\\">%POLL-VIEW-RESULT-LINK%</div>\r\n    <div>%POLL-TOTAL-ANSWERS%</div>\r\n    <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\\\"yop-poll-name-%POLL-ID%\\\" class=\\\"yop-poll-name\\\">%POLL-NAME%</div>\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-answers-%POLL-ID%\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_RESULT_CONTAINER]\r\n        <li class=\\\"yop-poll-li-result-%POLL-ID%\\\">\r\n            <label class=\\\"pds-feedback-label-%POLL-ID%\\\">\r\n                <span class=\\\"pds-answer-text-%POLL-ID%\\\">%POLL-ANSWER-LABEL%</span>\r\n                <span class=\\\"pds-feedback-result-%POLL-ID%\\\">\r\n                    <span class=\\\"pds-feedback-per-%POLL-ID%\\\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n                </span>\r\n            </label>\r\n            <div>\r\n             %POLL-ANSWER-RESULT-BAR%\r\n           </div>\r\n        </li>\r\n        [/ANSWER_RESULT_CONTAINER]\r\n    </ul>\r\n</div>\r\n<div id=\\\"yop-poll-vote-%POLL-ID%\\\" class=\\\"yop-poll-footer\\\">\r\n    <div>%POLL-TOTAL-ANSWERS%</div>\r\n    <div>%POLL-TOTAL-VOTES%</div>\r\n    <div id=\\\"yop-poll-back-%POLL-ID%\\\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to <br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\\\"yop-poll-question-%POLL-ID%\\\" class=\\\"yop-poll-question\\\">%POLL-QUESTION%</div>\r\n<div id=\\\"yop-poll-answers-1\\\" class=\\\"yop-poll-answers\\\">\r\n    <ul>\r\n        [ANSWER_RESULT_CONTAINER]\r\n        <li class=\\\"yop-poll-li-result-%POLL-ID%\\\">\r\n            <label class=\\\"pds-feedback-label\\\">\r\n                <span class=\\\"pds-answer-text\\\">%POLL-ANSWER-LABEL%</span>\r\n                <span class=\\\"pds-feedback-result\\\">\r\n                    <span class=\\\"pds-feedback-per\\\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n                </span>\r\n            </label>\r\n            <span class=\\\"pds-clear\\\" style=\\\"display: block;clear: both;height:1px;line-height:1px;\\\"> </span>\r\n    %POLL-ANSWER-RESULT-BAR%\r\n        </li>\r\n        [/ANSWER_RESULT_CONTAINER]\r\n    </ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n    font-weight:bold;\r\n    background:#B70004;\r\n    color:#fff;\r\n    padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n    font-size:14px;\r\n    margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n    font-style:normal;\r\n    margin:0px 0px 10px 0px;\r\n    padding:0px;\r\n    font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n    margin:0px; \r\n    float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n    margin:0px; \r\n    font-style:normal; \r\n    font-weight:normal; \r\n    font-size:12px; \r\n    float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n    padding:0px;\r\n    margin:0px;    \r\n    font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\\\'text\\\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n    font-size:12px;\r\n    font-style:italic;\r\n    color:red;\r\n    text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n    font-size:12px;\r\n    font-style:italic;\r\n    color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n    object.each(function() {\r\n            if( parseInt(jQuery(this).width() ) > 0) {\r\n                jQuery(this).width( parseInt( jQuery(this).width() ) - parseInt(jQuery(this).css(\\\"border-left-width\\\")) - parseInt(jQuery(this).css(\\\"border-right-width\\\")) );\r\n            }\r\n            else {\r\n                jQuery(this).css(\\\"border-left-width\\\", \\\'0px\\\');\r\n                jQuery(this).css(\\\"border-right-width\\\", \\\'0px\\\');\r\n            }\r\n    });\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n    object.each(function() { \r\n            jQuery(this).width( parseInt( jQuery(this).width() ) - parseInt(jQuery(this).css(\\\"padding-left\\\")) - parseInt(jQuery(this).css(\\\"padding-left\\\")) );\r\n    });\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n        stripPadding_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\\\") );   \r\n    stripBorder_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\\\"));\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n                if(typeof window.strip_results_%POLL-ID% == \\\'function\\\') \r\n            strip_results_%POLL-ID%();\r\n    \r\n        if(typeof window.tabulate_answers_%POLL-ID% == \\\'function\\\') \r\n            tabulate_answers_%POLL-ID%();\r\n        \r\n        if(typeof window.tabulate_results_%POLL-ID% == \\\'function\\\') \r\n            tabulate_results_%POLL-ID%();\r\n        \r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n findWidest  = typeof findWidest  !== \\\'undefined\\\' ? findWidest  : false;\r\n    if ( findWidest ) {\r\n        obj.each(function() {\r\n                var thisWidth = jQuery(this).width();\r\n                width = parseInt(thisWidth / cols); \r\n                jQuery(this).width(width);    \r\n                jQuery(this).css(\\\'float\\\', \\\'left\\\');    \r\n        });\r\n    }\r\n    else {\r\n        var widest = 0;\r\n        obj.each(function() {\r\n                var thisWidth = jQuery(this).width();\r\n                if(thisWidth > widest) {\r\n                    widest = thisWidth; \r\n                }    \r\n        });\r\n        width = parseInt( widest / cols); \r\n        obj.width(width);    \r\n        obj.css(\\\'float\\\', \\\'left\\\');    \r\n    }    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n    equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\\\"), %ANSWERS-TABULATED-COLS% );\r\n        //equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n    equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\\\"), %RESULTS-TABULATED-COLS% );\r\n        //equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n}','other','2014-04-30 14:49:02','2014-03-25 14:54:29');
INSERT INTO `wp_yop_poll_templates` (`id`,`template_author`,`name`,`before_vote_template`,`after_vote_template`,`before_start_date_template`,`after_end_date_template`,`css`,`js`,`status`,`last_modified`,`date_added`) VALUES 
 (9,1,'Red v3','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #B70004;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#B70004; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (10,1,'Green v1','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#3F8B43;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:00FF00;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (11,1,'Green v2','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#3F8B43;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (12,1,'Green v3','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #3F8B43;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#3F8B43; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n} \r\n jQuery(document).ready(function(){  \r\n runOnPollStateChange_%POLL-ID%(); \r\n }); \r\n function runOnPollStateChange_%POLL-ID%() {};','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (13,1,'Orange v1','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#FB6911;\r\n    padding:10px;\r\n    color:#fff;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#fff; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (14,1,'Orange v2','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:0px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-weight:bold;\r\n	background:#FB6911;\r\n	color:#fff;\r\n	padding:5px;\r\n        text-align:center;\r\n        font-size:12px;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29'),
 (15,1,'Orange v3','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n	<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n	<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-ANSWER-CHECK-INPUT% \r\n			%POLL-ANSWER-LABEL%\r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/ANSWER_CONTAINER]       \r\n		[OTHER_ANSWER_CONTAINER]\r\n		<li class=\"yop-poll-li-answer-%POLL-ID%\">\r\n			%POLL-OTHER-ANSWER-CHECK-INPUT% \r\n			%POLL-OTHER-ANSWER-LABEL% \r\n			<span class=\"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n			%POLL-OTHER-ANSWER-TEXT-INPUT% \r\n			%POLL-ANSWER-RESULT-BAR%\r\n		</li>\r\n		[/OTHER_ANSWER_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-custom-%POLL-ID%\">\r\n	<ul>\r\n		[CUSTOM_FIELD_CONTAINER]\r\n		<li>%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%</li>\r\n		[/CUSTOM_FIELD_CONTAINER]\r\n		</ul>\r\n</div>    \r\n[CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-captcha-%POLL-ID%\">\r\n	<div class=\"yop-poll-captcha-image-div\" id=\"yop-poll-captcha-image-div-%POLL-ID%\">\r\n		%CAPTCHA-IMAGE%       \r\n		<div class=\"yop-poll-captcha-helpers-div\" id=\"yop-poll-captcha-helpers-div-%POLL-ID%\">\r\n			%RELOAD-CAPTCHA-IMAGE%\r\n		</div>\r\n		<div class=\"yop_poll_clear\"></div>\r\n	</div>\r\n	%CAPTCHA-LABEL%\r\n	<div class=\"yop-poll-captcha-input-div\" id=\"yop-poll-captcha-input-div-%POLL-ID%\">%CAPTCHA-INPUT%</div>\r\n</div>\r\n[/CAPTCHA_CONTAINER]\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-VOTE-BUTTON%</div>\r\n	<div id=\"yop-poll-results-%POLL-ID%\">%POLL-VIEW-RESULT-LINK%</div>\r\n	<div>%POLL-TOTAL-ANSWERS%</div>   <div>%POLL-TOTAL-VOTES%</div>\r\n</div>','<div id=\"yop-poll-name-%POLL-ID%\" class=\"yop-poll-name\">%POLL-NAME%</div>\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-%POLL-ID%\" class=\"yop-poll-answers\">\r\n	<ul>\r\n		[ANSWER_RESULT_CONTAINER]\r\n		<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n			<label class=\"pds-feedback-label-%POLL-ID%\">\r\n				<span class=\"pds-answer-text-%POLL-ID%\">%POLL-ANSWER-LABEL%</span>\r\n				<span class=\"pds-feedback-result-%POLL-ID%\">\r\n					<span class=\"pds-feedback-per-%POLL-ID%\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n				</span>\r\n			</label>\r\n			<div>\r\n			 %POLL-ANSWER-RESULT-BAR%\r\n		   </div>\r\n		</li>\r\n		[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n<div id=\"yop-poll-vote-%POLL-ID%\" class=\"yop-poll-footer\">\r\n	<div>%POLL-TOTAL-ANSWERS%</div>\r\n	<div>%POLL-TOTAL-VOTES%</div>\r\n	<div id=\"yop-poll-back-%POLL-ID%\">%POLL-BACK-TO-VOTE-LINK%</div>\r\n</div>','This poll is about to<br>\r\nstart at %POLL-START-DATE%<br>\r\nand finish at %POLL-END-DATE%<br>','This poll is closed!\r\nPoll activity: <br>\r\nstart_date %POLL-START-DATE%<br>\r\nend_date %POLL-END-DATE%<br>\r\n\r\nPoll Results:\r\n<div id=\"yop-poll-question-%POLL-ID%\" class=\"yop-poll-question\">%POLL-QUESTION%</div>\r\n<div id=\"yop-poll-answers-1\" class=\"yop-poll-answers\">\r\n	<ul>\r\n			[ANSWER_RESULT_CONTAINER]\r\n					<li class=\"yop-poll-li-result-%POLL-ID%\">\r\n						<label class=\"pds-feedback-label\">\r\n							<span class=\"pds-answer-text\">%POLL-ANSWER-LABEL%</span>\r\n							<span class=\"pds-feedback-result\">\r\n								<span class=\"pds-feedback-per\"> %POLL-ANSWER-RESULT-LABEL%</span>\r\n							</span>\r\n						</label>\r\n						<span class=\"pds-clear\" style=\"display: block;clear: both;height:1px;line-height:1px;\"> </span>\r\n						%POLL-ANSWER-RESULT-BAR%\r\n					</li>\r\n			[/ANSWER_RESULT_CONTAINER]\r\n	</ul>\r\n</div>\r\n%POLL-VOTE-BUTTON%','#yop-poll-container-%POLL-ID% {\r\n    width:%POLL-WIDTH%;\r\n    background:#fff;\r\n    padding:10px;\r\n    color:#555;\r\n    overflow:hidden;\r\n    font-size:12px;\r\n    border:5px solid #FB6911;\r\n}\r\n#yop-poll-name-%POLL-ID% {\r\n	font-size:14px;\r\n	font-weight:bold;\r\n}\r\n\r\n#yop-poll-question-%POLL-ID% {\r\n	font-size:14px;\r\n	margin:5px 0px;\r\n}\r\n#yop-poll-answers-%POLL-ID% {  }\r\n#yop-poll-answers-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li { \r\n	font-style:normal;\r\n	margin:0px 0px 10px 0px;\r\n	padding:0px;\r\n	font-size:12px;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li input { \r\n	margin:0px; \r\n	float:none;\r\n}\r\n#yop-poll-answers-%POLL-ID% ul li label { \r\n	margin:0px; \r\n	font-style:normal; \r\n	font-weight:normal; \r\n	font-size:12px; \r\n	float:none;\r\n}\r\n.yop-poll-results-%POLL-ID% {\r\n    font-size: 12px;\r\n    font-style: italic;\r\n    font-weight: normal;\r\n    margin-left: 15px;\r\n}\r\n\r\n#yop-poll-custom-%POLL-ID% {  }\r\n#yop-poll-custom-%POLL-ID% ul {\r\n    list-style: none outside none;\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n#yop-poll-custom-%POLL-ID% ul li { \r\n	padding:0px;\r\n	margin:0px;	\r\n	font-size:14px;\r\n}\r\n#yop-poll-container-%POLL-ID% input[type=\'text\'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; }\r\n\r\n#yop-poll-captcha-input-div-%POLL-ID% {\r\nmargin-top:5px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\nwidth:30px;\r\nfloat:left;\r\nmargin-left:5px;\r\nheight:0px;\r\n}\r\n\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img {\r\nmargin-bottom:2px;\r\n}\r\n\r\n#yop-poll-captcha-image-div-%POLL-ID% {\r\nmargin-bottom:5px;\r\n}\r\n\r\n#yop_poll_captcha_image_%POLL-ID% {\r\nfloat:left;\r\n}\r\n\r\n.yop_poll_clear {\r\nclear:both;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% {\r\n\r\n}\r\n.yop-poll-results-bar-%POLL-ID% { background:#f5f5f5; height:10px;  }\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; height:10px; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-vote-%POLL-ID% button { float:left; }\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n    float: right;\r\n    margin-bottom: 20px;\r\n    margin-top: -20px;\r\n    width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a { color:#FB6911; text-decoration:underline; font-size:12px;}\r\n#yop-poll-vote-%POLL-ID% div { float:left; width:100%; }\r\n\r\n#yop-poll-container-error-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:red;\r\n	text-transform:lowercase;\r\n}\r\n\r\n#yop-poll-container-success-%POLL-ID% {\r\n	font-size:12px;\r\n	font-style:italic;\r\n	color:green;\r\n}','function stripBorder_%POLL-ID%(object) {\r\n	object.each(function() {\r\n		if( parseInt(jQuery(this).width() ) > 0) {\r\n			jQuery(this).width( \r\n				parseInt( \r\n					jQuery(this).width() ) - \r\n					parseInt(jQuery(this).css(\"border-left-width\")) - \r\n					parseInt(jQuery(this).css(\"border-right-width\")) \r\n			);\r\n			}\r\n		else {\r\n		jQuery(this).css(\"border-left-width\", \"0px\");\r\n		jQuery(this).css(\"border-right-width\", \"0px\");\r\n		}\r\n	});\r\n}\r\nfunction stripPadding_%POLL-ID%(object) {\r\n	object.each(function() { \r\n		jQuery(this).width( \r\n		parseInt( jQuery(this).width() ) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) - \r\n		parseInt(jQuery(this).css(\"padding-left\")) \r\n		);\r\n	});\r\n}\r\n\r\nfunction strip_results_%POLL-ID%() {\r\n	stripPadding_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop_poll_li_result-%POLL-ID%\") );   \r\n	stripBorder_%POLL-ID%(  jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-result-bar-%POLL-ID%\") );\r\n}\r\n\r\njQuery(document).ready(function(e) {\r\n	if(typeof window.strip_results_%POLL-ID% == \"function\")  \r\n		strip_results_%POLL-ID%();\r\n	if(typeof window.tabulate_answers_%POLL-ID% == \"function\") \r\n		tabulate_answers_%POLL-ID%();\r\n	if(typeof window.tabulate_results_%POLL-ID% == \"function\")  \r\n		tabulate_results_%POLL-ID%();\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n	findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n	if ( findWidest ) {\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			width = parseInt(thisWidth / cols); \r\n			jQuery(this).width(width);    \r\n			jQuery(this).css(\"float\", \"left\");    \r\n		});\r\n	}\r\n	else {\r\n		var widest = 0;\r\n		obj.each(function() {\r\n			var thisWidth = jQuery(this).width();\r\n			if(thisWidth > widest) {\r\n				widest = thisWidth; \r\n			}    \r\n		});\r\n		width = parseInt( widest / cols); \r\n		obj.width(width);    \r\n		obj.css(\"float\", \"left\");    \r\n	}    \r\n}\r\n\r\nfunction tabulate_answers_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID%\"), %ANSWERS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-answer-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %ANSWERS-TABULATED-COLS%, true );\r\n}\r\n\r\nfunction tabulate_results_%POLL-ID%() {\r\n	equalWidth_%POLL-ID%( jQuery(\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID%\"), %RESULTS-TABULATED-COLS% );\r\n	//equalWidth_%POLL-ID%( jQuery(\\\"#yop-poll-container-%POLL-ID% .yop-poll-li-result-%POLL-ID% .yop-poll-results-bar-%POLL-ID% div \\\"), %RESULTS-TABULATED-COLS%, true );\r\n	}\r\n\r\njQuery(document).ready(function(){\r\n	runOnPollStateChange_%POLL-ID%();\r\n});\r\n\r\nfunction runOnPollStateChange_%POLL-ID%() {\r\n\r\n};','other','2014-03-25 14:54:29','2014-03-25 14:54:29');


--
-- Definition of table `wp_yop_poll_voters`
--

CREATE TABLE `wp_yop_poll_voters` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_type` enum('facebook','wordpress','anonymous','default') NOT NULL DEFAULT 'default',
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=153 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_voters`
--

INSERT INTO `wp_yop_poll_voters` (`id`,`poll_id`,`user_id`,`user_type`) VALUES 
 (1,3,1,'wordpress'),
 (2,3,0,'wordpress'),
 (4,4,0,'wordpress'),
 (5,4,0,'wordpress'),
 (6,4,0,'wordpress'),
 (7,4,0,'wordpress'),
 (8,4,0,'wordpress'),
 (9,4,0,'wordpress'),
 (10,4,0,'wordpress'),
 (11,4,0,'wordpress'),
 (12,4,0,'wordpress'),
 (13,4,0,'wordpress'),
 (14,4,0,'wordpress'),
 (15,4,0,'wordpress'),
 (16,4,0,'wordpress'),
 (17,4,0,'wordpress'),
 (18,4,0,'wordpress'),
 (19,4,0,'wordpress'),
 (20,4,0,'wordpress'),
 (21,4,0,'wordpress'),
 (22,4,0,'wordpress'),
 (23,4,0,'wordpress'),
 (24,4,0,'wordpress'),
 (25,4,0,'wordpress'),
 (26,4,0,'wordpress'),
 (27,4,0,'wordpress'),
 (28,4,0,'wordpress'),
 (29,4,1,'wordpress'),
 (30,4,0,'wordpress'),
 (31,4,0,'wordpress'),
 (32,4,0,'wordpress'),
 (33,4,0,'wordpress'),
 (34,4,0,'wordpress'),
 (35,4,0,'wordpress'),
 (36,4,0,'wordpress'),
 (37,4,0,'wordpress'),
 (38,4,0,'wordpress'),
 (39,4,0,'wordpress'),
 (40,4,0,'wordpress'),
 (41,4,0,'wordpress'),
 (42,4,0,'wordpress'),
 (43,4,0,'wordpress'),
 (44,4,0,'wordpress'),
 (45,4,0,'wordpress'),
 (46,4,0,'wordpress'),
 (47,4,0,'wordpress'),
 (48,4,0,'wordpress'),
 (49,4,0,'wordpress'),
 (50,4,0,'wordpress'),
 (51,4,0,'wordpress'),
 (52,4,0,'wordpress'),
 (53,4,0,'wordpress'),
 (54,4,0,'wordpress'),
 (55,4,0,'wordpress'),
 (56,4,0,'wordpress'),
 (57,4,0,'wordpress'),
 (58,4,0,'wordpress'),
 (59,4,0,'wordpress'),
 (60,4,0,'wordpress'),
 (61,4,1,'wordpress'),
 (62,4,0,'wordpress'),
 (63,4,1,'wordpress'),
 (64,4,1,'wordpress'),
 (65,4,0,'wordpress'),
 (66,4,0,'wordpress'),
 (67,4,1,'wordpress'),
 (68,4,0,'wordpress'),
 (69,4,1,'wordpress'),
 (70,4,1,'wordpress'),
 (71,4,0,'wordpress'),
 (72,4,1,'wordpress'),
 (73,4,0,'wordpress'),
 (74,4,0,'wordpress'),
 (75,4,0,'wordpress'),
 (76,4,0,'wordpress'),
 (77,4,0,'wordpress'),
 (78,4,0,'wordpress'),
 (79,4,0,'wordpress'),
 (80,4,0,'wordpress'),
 (81,4,0,'wordpress'),
 (82,4,0,'wordpress'),
 (83,4,0,'wordpress'),
 (84,4,0,'wordpress'),
 (85,4,0,'wordpress'),
 (86,4,1,'wordpress'),
 (87,4,0,'wordpress'),
 (88,4,0,'wordpress'),
 (89,4,1,'wordpress'),
 (90,4,0,'wordpress'),
 (91,4,0,'wordpress'),
 (92,4,0,'wordpress'),
 (93,4,1,'wordpress'),
 (94,4,0,'wordpress'),
 (95,4,0,'wordpress'),
 (96,4,0,'wordpress'),
 (97,4,0,'wordpress'),
 (98,4,0,'wordpress'),
 (99,4,0,'wordpress'),
 (100,4,0,'wordpress'),
 (101,4,0,'wordpress'),
 (102,4,0,'wordpress'),
 (103,4,0,'wordpress'),
 (104,4,1,'wordpress'),
 (105,4,0,'wordpress'),
 (106,4,0,'wordpress'),
 (107,4,0,'wordpress'),
 (108,4,0,'wordpress'),
 (109,4,0,'wordpress'),
 (110,4,0,'wordpress'),
 (111,4,0,'wordpress'),
 (112,4,0,'wordpress'),
 (113,4,0,'wordpress'),
 (114,4,0,'wordpress'),
 (115,4,0,'wordpress'),
 (116,4,0,'wordpress'),
 (117,4,0,'wordpress'),
 (118,4,0,'wordpress'),
 (119,4,0,'wordpress'),
 (120,4,0,'wordpress'),
 (121,4,0,'wordpress'),
 (122,4,0,'wordpress'),
 (123,4,0,'wordpress'),
 (124,4,0,'wordpress'),
 (125,4,0,'wordpress'),
 (126,4,0,'wordpress'),
 (127,4,0,'wordpress'),
 (128,4,0,'wordpress'),
 (129,4,0,'wordpress'),
 (130,4,0,'wordpress'),
 (131,4,0,'wordpress'),
 (132,4,0,'wordpress'),
 (133,4,0,'wordpress'),
 (134,4,0,'wordpress'),
 (135,4,0,'wordpress'),
 (136,4,1,'wordpress'),
 (137,4,0,'wordpress'),
 (138,4,0,'wordpress'),
 (139,4,0,'wordpress'),
 (140,4,1,'wordpress'),
 (141,4,1,'wordpress'),
 (142,4,0,'wordpress'),
 (143,4,0,'wordpress'),
 (144,4,1,'wordpress'),
 (145,4,0,'wordpress'),
 (146,4,0,'wordpress'),
 (147,4,0,'wordpress'),
 (148,4,1,'wordpress'),
 (149,4,1,'wordpress'),
 (150,4,1,'wordpress'),
 (151,4,0,'wordpress'),
 (152,4,0,'wordpress');


--
-- Definition of table `wp_yop_poll_votes_custom_fields`
--

CREATE TABLE `wp_yop_poll_votes_custom_fields` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_id` int(11) NOT NULL,
  `vote_id` varchar(255) NOT NULL,
  `custom_field_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_type` enum('facebook','wordpress','anonymous','default') NOT NULL DEFAULT 'default',
  `custom_field_value` text NOT NULL,
  `tr_id` varchar(255) NOT NULL,
  `vote_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_poll_votes_custom_fields`
--



--
-- Definition of table `wp_yop_pollmeta`
--

CREATE TABLE `wp_yop_pollmeta` (
  `meta_id` int(11) NOT NULL AUTO_INCREMENT,
  `yop_poll_id` int(11) NOT NULL,
  `meta_key` varchar(255) NOT NULL,
  `meta_value` longtext NOT NULL,
  PRIMARY KEY (`meta_id`),
  KEY `yop_poll_id` (`yop_poll_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_pollmeta`
--

INSERT INTO `wp_yop_pollmeta` (`meta_id`,`yop_poll_id`,`meta_key`,`meta_value`) VALUES 
 (3,4,'options','a:10:{s:10:\"start_date\";s:19:\"2014-03-26 12:26:22\";s:8:\"end_date\";s:19:\"2014-05-28 23:59:59\";s:17:\"view_results_link\";s:3:\"yes\";s:23:\"view_results_link_label\";s:24:\"Αποτελέσματα\";s:30:\"blocking_voters_interval_value\";s:1:\"1\";s:8:\"template\";s:1:\"8\";s:15:\"widget_template\";s:1:\"8\";s:24:\"schedule_reset_poll_date\";i:1395759269;s:28:\"view_poll_archive_link_label\";s:39:\"Αρχείο Δημοσκοπήσεων\";s:12:\"never_expire\";s:2:\"no\";}');


--
-- Definition of table `wp_yop_polls`
--

CREATE TABLE `wp_yop_polls` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `poll_author` bigint(20) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL,
  `question` text NOT NULL,
  `start_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `end_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `total_votes` int(11) NOT NULL,
  `total_answers` int(11) NOT NULL,
  `status` varchar(255) NOT NULL,
  `last_modified` datetime NOT NULL,
  `date_added` datetime NOT NULL,
  `show_in_archive` enum('yes','no') NOT NULL DEFAULT 'yes',
  `archive_order` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_yop_polls`
--

INSERT INTO `wp_yop_polls` (`id`,`poll_author`,`name`,`question`,`start_date`,`end_date`,`total_votes`,`total_answers`,`status`,`last_modified`,`date_added`,`show_in_archive`,`archive_order`) VALUES 
 (4,1,'Πρόθεση για Συμμετοχή στις  Ευρωεκλογές 2014','Θα ψηφίσετε στις  Ευρωεκλογές 2014;','2014-03-26 12:26:22','2014-05-28 23:59:59',147,147,'open','2014-05-29 12:18:48','2014-03-26 12:28:03','yes',1);




