(1858,1,'vote_id_5b5658eea9d20','108.211.183.49','0','anonymous','','{\"q-1\":{\"question\":\"MLB Commisioner Rob Manfred hopes the league can expand to 32 teams. Is expansion a good or bad idea?\",\"id\":1,\"a\":[49],\"answers\":[\"Bad\"],\"cf\":[]}}','\"\"','2018-07-23 15:38:38','Success'),(1859,1,'vote_id_5b5baa6b4b07e','98.18.194.75','0','anonymous','','{\"q-1\":{\"question\":\"Do you think that the Warriors\' championship runs and accumulation of All-Star talent has ruined the NBA?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-07-27 16:27:39','Success'),(1860,1,'vote_id_5b5e37b477ea7','104.231.114.221','0','anonymous','','{\"q-1\":{\"question\":\"Do you think that the Warriors\' championship runs and accumulation of All-Star talent has ruined the NBA?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-07-29 14:55:00','Success'),(1861,1,'vote_id_5b5e3a06cd31f','24.131.255.215','0','anonymous','','{\"q-1\":{\"question\":\"Do you think that the Warriors\' championship runs and accumulation of All-Star talent has ruined the NBA?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-07-29 15:04:54','Success'),(1862,1,'vote_id_5b5f6228b9aa5','192.91.173.34','0','anonymous','','{\"q-1\":{\"question\":\"Do you think that the Warriors\' championship runs and accumulation of All-Star talent has ruined the NBA?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-07-30 12:08:24','Success'),(1863,1,'vote_id_5b6083de7ef5e','192.91.171.36','0','anonymous','','{\"q-1\":{\"question\":\"Should athletes be punished for past social media posts that are offensive or inappropriate?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-07-31 08:44:30','Success'),(1864,1,'vote_id_5b60b37de528f','192.91.171.36','0','anonymous','','{\"q-1\":{\"question\":\"Should athletes be punished for past social media posts that are offensive or inappropriate?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-07-31 12:07:43','Success'),(1865,0,'','','','','','','','2018-08-01 12:10:35','Bad request'),(1866,0,'','','','','','','','2018-08-01 12:10:50','Bad request'),(1867,1,'vote_id_5b6293a1a3e0f','68.113.119.80','0','anonymous','','{\"q-1\":{\"question\":\"Should athletes be punished for past social media posts that are offensive or inappropriate?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-08-01 22:16:18','Success'),(1868,1,'vote_id_5b636c0c831d0','71.9.232.166','0','anonymous','','{\"q-1\":{\"question\":\"Lebron James says President Trump \\\"is using sports to divide us.\\\" Do you agree or disagree with him?\",\"id\":1,\"a\":[48],\"answers\":[\"Agree\"],\"cf\":[]}}','\"\"','2018-08-02 13:39:40','Success'),(1869,0,'','','','','','','','2018-08-03 10:14:53','Bad request'),(1870,0,'','','','','','','','2018-08-06 09:31:26','Bad request'),(1871,1,'vote_id_5b6cd51eba3ea','23.114.101.125','0','anonymous','','{\"q-1\":{\"question\":\"Do you think LeBron will win the NBA Championship in his first season with the Lakers?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-08-09 16:58:23','Success'),(1872,1,'vote_id_5b6db8dd7a66a','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Do you think LeBron will win the NBA Championship in his first season with the Lakers?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-08-10 09:10:05','Success'),(1873,1,'vote_id_5b6de0e93298f','104.231.114.221','0','anonymous','','{\"q-1\":{\"question\":\"Do you think LeBron will win the NBA Championship in his first season with the Lakers?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-08-10 12:00:58','Success'),(1874,1,'vote_id_5b6f70d855c45','172.58.37.147','0','anonymous','','{\"q-1\":{\"question\":\"Do you think LeBron will win the NBA Championship in his first season with the Lakers?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-08-11 16:27:20','Success'),(1875,1,'vote_id_5b71831bdf471','157.51.167.33','0','anonymous','','{\"q-1\":{\"question\":\"Do you think LeBron will win the NBA Championship in his first season with the Lakers?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-13 06:09:49','Success'),(1876,1,'vote_id_5b72dd3b11807','73.143.185.85','0','anonymous','','{\"q-1\":{\"question\":\"After strong performances in the British Open and the PGA Championship, do you think that Tiger Woods can win another Major?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-14 06:46:35','Success'),(1877,1,'vote_id_5b79b616c2e9c','71.125.12.32','0','anonymous','','{\"q-1\":{\"question\":\"After strong performances in the British Open and the PGA Championship, do you think that Tiger Woods can win another Major?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-19 11:25:26','Success'),(1878,0,'','','','','','','','2018-08-22 09:08:09','Bad request'),(1879,0,'','','','','','','','2018-08-22 09:08:20','Bad request'),(1880,0,'','','','','','','','2018-08-22 09:08:27','Bad request'),(1881,1,'vote_id_5b7db1078f9db','173.228.198.112','0','anonymous','','{\"q-1\":{\"question\":\"Do you agree with ESPN\'s decision not to show the national anthem during Monday Night Football broadcasts?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-22 11:52:55','Success'),(1882,1,'vote_id_5b7e3d656373f','35.134.238.30','0','anonymous','','{\"q-1\":{\"question\":\"Do you agree with ESPN\'s decision not to show the national anthem during Monday Night Football broadcasts?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-22 21:51:49','Success'),(1883,1,'vote_id_5b7e3e406001d','35.134.238.30','0','anonymous','','{\"q-1\":{\"question\":\"Do you agree with ESPN\'s decision not to show the national anthem during Monday Night Football broadcasts?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-22 21:55:28','Success'),(1884,1,'vote_id_5b7e3e658ce3b','35.134.238.30','0','anonymous','','{\"q-1\":{\"question\":\"Do you agree with ESPN\'s decision not to show the national anthem during Monday Night Football broadcasts?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-22 21:56:05','Success'),(1885,1,'vote_id_5b7ea0896683e','69.125.100.15','0','anonymous','','{\"q-1\":{\"question\":\"Do you agree with ESPN\'s decision not to show the national anthem during Monday Night Football broadcasts?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-08-23 04:54:49','Success'),(1886,0,'','','','','','','','2018-08-23 12:01:02','Bad request'),(1887,0,'','','','','','','','2018-08-23 12:01:07','Bad request'),(1888,0,'','','','','','','','2018-08-23 12:04:20','Bad request'),(1889,1,'vote_id_5b92b7bfb6ce4','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL drop preseason games and have an 18-game regular season?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-07 10:39:11','Success'),(1890,1,'vote_id_5b96c00ae9e8b','24.131.255.215','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL drop preseason games and have an 18-game regular season?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-10 12:03:39','Success'),(1891,0,'','','','','','','','2018-09-10 18:09:39','Bad request'),(1892,1,'vote_id_5b9808da47c84','73.71.69.231','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL drop preseason games and have an 18-game regular season?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-11 11:26:34','Success'),(1893,1,'vote_id_5b993faa903af','73.71.69.231','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL drop preseason games and have an 18-game regular season?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-12 09:32:42','Success'),(1894,1,'vote_id_5b99648995aa8','192.31.106.34','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-09-12 12:10:01','Success'),(1895,1,'vote_id_5b9adc4c7f6fc','104.225.245.99','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-13 14:53:16','Success'),(1896,1,'vote_id_5b9afb890d1db','1.156.134.6','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-09-13 17:06:33','Success'),(1897,1,'vote_id_5b9c178788f97','166.137.10.85','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-14 13:18:16','Success'),(1898,1,'vote_id_5b9ee2390ec0d','24.131.255.215','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-09-16 16:07:37','Success'),(1899,1,'vote_id_5ba14c8cbd52b','192.91.171.34','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-18 12:05:48','Success'),(1900,0,'','','','','','','','2018-09-18 20:02:59','Bad request'),(1901,0,'','','','','','','','2018-09-18 20:03:05','Bad request'),(1902,1,'vote_id_5ba1bc81465e0','170.76.153.4','0','anonymous','','{\"q-1\":{\"question\":\"Is there a double standard between men and women sports competitors?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-09-18 20:03:54','Success'),(1903,0,'','','','','','','','2018-09-25 13:14:05','Bad request'),(1904,1,'vote_id_5bad2f8015193','192.91.171.34','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-09-27 12:29:04','Success'),(1905,0,'','','','','','','','2018-09-29 14:41:24','Bad request'),(1906,1,'vote_id_5bb26ee56bbc4','77.236.186.117','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-10-01 12:00:53','Success'),(1907,1,'vote_id_5bb2704719bf4','99.74.61.230','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-10-01 12:06:47','Success'),(1908,1,'vote_id_5bb2757d9f188','140.184.220.115','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-10-01 12:29:01','Success'),(1909,1,'vote_id_5bb298451d0fc','71.143.151.114','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-10-01 14:57:25','Success'),(1910,1,'vote_id_5bb3c3468dbe0','73.39.125.95','0','anonymous','','{\"q-1\":{\"question\":\"Should the NFL change the tackle rule?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-10-02 12:13:10','Success'),(1911,1,'vote_id_5bb5113d352bc','192.223.242.21','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[59],\"answers\":[\"NHL\"],\"cf\":[]}}','\"\"','2018-10-03 11:58:05','Success'),(1912,1,'vote_id_5bb5130a46d96','24.131.255.215','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-03 12:05:46','Success'),(1913,1,'vote_id_5bb5179204c2b','24.207.106.5','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-03 12:25:06','Success'),(1914,1,'vote_id_5bb51e39e56b9','89.253.128.52','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[59],\"answers\":[\"NHL\"],\"cf\":[]}}','\"\"','2018-10-03 12:53:30','Success'),(1915,1,'vote_id_5bb6635e28778','76.99.189.127','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-04 12:00:46','Success'),(1916,1,'vote_id_5bb664806a108','128.125.208.94','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[58],\"answers\":[\"MLB\"],\"cf\":[]}}','\"\"','2018-10-04 12:05:36','Success'),(1917,0,'','','','','','','','2018-10-05 12:04:43','Bad request'),(1918,0,'','','','','','','','2018-10-05 12:04:45','Bad request'),(1919,0,'','','','','','','','2018-10-05 12:04:49','Bad request'),(1920,0,'','','','','','','','2018-10-05 12:08:36','Bad request'),(1921,1,'vote_id_5bb7b6b924738','66.76.26.134','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-05 12:08:41','Success'),(1922,1,'vote_id_5bb9256e33216','69.207.5.232','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-06 14:13:18','Success'),(1923,1,'vote_id_5bbad2de32a5a','208.102.173.17','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[59],\"answers\":[\"NHL\"],\"cf\":[]}}','\"\"','2018-10-07 20:45:34','Success'),(1924,1,'vote_id_5bbba5c27f95d','66.177.37.76','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-08 11:45:22','Success'),(1925,1,'vote_id_5bbe51a83a538','174.63.205.241','0','anonymous','','{\"q-1\":{\"question\":\"Which pro sports season do you look forward to the most?\",\"id\":1,\"a\":[48],\"answers\":[\"NFL\"],\"cf\":[]}}','\"\"','2018-10-10 12:23:20','Success'),(1926,1,'vote_id_5bbf886719927','73.71.69.231','0','anonymous','','{\"q-1\":{\"question\":\"Should the MLB Division Series Be a Best of 5 or Best of 7 game series?\",\"id\":1,\"a\":[48],\"answers\":[\"Best of 5\"],\"cf\":[]}}','\"\"','2018-10-11 10:29:11','Success'),(1927,0,'','','','','','','','2018-10-11 12:02:33','Bad request'),(1928,0,'','','','','','','','2018-10-11 12:04:35','Bad request'),(1929,0,'','','','','','','','2018-10-11 12:04:39','Bad request'),(1930,1,'vote_id_5bbfe24e4dcd0','23.114.101.125','0','anonymous','','{\"q-1\":{\"question\":\"Should the MLB Division Series Be a Best of 5 or Best of 7 game series?\",\"id\":1,\"a\":[48],\"answers\":[\"Best of 5\"],\"cf\":[]}}','\"\"','2018-10-11 16:52:46','Success'),(1931,1,'vote_id_5bc27c4c93f9d','73.226.16.39','0','anonymous','','{\"q-1\":{\"question\":\"Should the MLB Division Series Be a Best of 5 or Best of 7 game series?\",\"id\":1,\"a\":[49],\"answers\":[\"Best of 7\"],\"cf\":[]}}','\"\"','2018-10-13 16:14:20','Success'),(1932,0,'','','','','','','','2018-10-17 12:02:38','Bad request'),(1933,0,'','','','','','','','2018-10-19 11:27:42','Bad request'),(1934,1,'vote_id_5bcf9ed8b303d','108.211.183.49','0','anonymous','','{\"q-1\":{\"question\":\"Who will win the World Series?\",\"id\":1,\"a\":[48],\"answers\":[\"Boston\"],\"cf\":[]}}','\"\"','2018-10-23 15:21:12','Success'),(1935,0,'','','','','','','','2018-10-23 15:22:13','Bad request'),(1936,1,'vote_id_5bd6328714daf','67.253.115.182','0','anonymous','','{\"q-1\":{\"question\":\"Who will win the World Series?\",\"id\":1,\"a\":[48],\"answers\":[\"Boston\"],\"cf\":[]}}','\"\"','2018-10-28 15:04:55','Success'),(1937,1,'vote_id_5bd8815e9bb32','73.71.69.231','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[67],\"answers\":[\"Raiders\"],\"cf\":[]}}','\"\"','2018-10-30 09:05:50','Success'),(1938,1,'vote_id_5bd8ae65c1c72','116.240.232.105','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[68],\"answers\":[\"Browns\"],\"cf\":[]}}','\"\"','2018-10-30 12:17:58','Success'),(1939,1,'vote_id_5bd8ce03e9285','71.167.31.95','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[48],\"answers\":[\"Giants\"],\"cf\":[]}}','\"\"','2018-10-30 14:32:51','Success'),(1940,1,'vote_id_5bd97351f0897','184.59.148.215','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[68],\"answers\":[\"Browns\"],\"cf\":[]}}','\"\"','2018-10-31 02:18:10','Success'),(1941,1,'vote_id_5bd9fd8adcf2b','192.31.106.36','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[68],\"answers\":[\"Browns\"],\"cf\":[]}}','\"\"','2018-10-31 12:07:55','Success'),(1942,1,'vote_id_5bda0b7e301b1','188.110.0.232','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[68],\"answers\":[\"Browns\"],\"cf\":[]}}','\"\"','2018-10-31 13:07:26','Success'),(1943,1,'vote_id_5bdb501a92072','50.249.233.253','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[48],\"answers\":[\"Giants\"],\"cf\":[]}}','\"\"','2018-11-01 12:12:26','Success'),(1944,1,'vote_id_5bdbac94728c2','24.4.133.223','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[48],\"answers\":[\"Giants\"],\"cf\":[]}}','\"\"','2018-11-01 18:47:00','Success'),(1945,1,'vote_id_5bdbacf5e6bac','24.4.133.223','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[48],\"answers\":[\"Giants\"],\"cf\":[]}}','\"\"','2018-11-01 18:48:37','Success'),(1946,1,'vote_id_5bdf7af7afdc2','173.163.250.221','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[67],\"answers\":[\"Raiders\"],\"cf\":[]}}','\"\"','2018-11-04 15:04:23','Success'),(1947,1,'vote_id_5bdf817abfa4e','71.228.136.17','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[67],\"answers\":[\"Raiders\"],\"cf\":[]}}','\"\"','2018-11-04 15:32:10','Success'),(1948,1,'vote_id_5bdf9ed8d58b1','73.54.39.168','0','anonymous','','{\"q-1\":{\"question\":\"Who\'s the worst NFL team this season?\",\"id\":1,\"a\":[67],\"answers\":[\"Raiders\"],\"cf\":[]}}','\"\"','2018-11-04 17:37:28','Success'),(1949,1,'vote_id_5be1b9b5122b1','166.137.10.77','0','anonymous','','{\"q-1\":{\"question\":\"Despite the outcome of their matchup, who is the better quarterback?\",\"id\":1,\"a\":[49],\"answers\":[\"Aaron Rodgers\"],\"cf\":[]}}','\"\"','2018-11-06 07:56:37','Success'),(1950,0,'','','','','','','','2018-11-07 12:04:28','Bad request'),(1951,0,'','','','','','','','2018-11-07 12:04:37','Bad request'),(1952,1,'vote_id_5be846c03982f','24.44.229.79','0','anonymous','','{\"q-1\":{\"question\":\"Despite the outcome of their matchup, who is the better quarterback?\",\"id\":1,\"a\":[48],\"answers\":[\"Tom Brady\"],\"cf\":[]}}','\"\"','2018-11-11 07:12:00','Success'),(1953,1,'vote_id_5be9dd078e152','192.35.35.36','0','anonymous','','{\"q-1\":{\"question\":\"Despite the outcome of their matchup, who is the better quarterback?\",\"id\":1,\"a\":[48],\"answers\":[\"Tom Brady\"],\"cf\":[]}}','\"\"','2018-11-12 12:05:27','Success'),(1954,0,'','','','','','','','2018-11-13 12:11:37','Bad request'),(1955,0,'','','','','','','','2018-11-13 12:24:09','Bad request'),(1956,0,'','','','','','','','2018-11-14 14:10:18','Bad request'),(1957,0,'','','','','','','','2018-11-14 14:10:21','Bad request'),(1958,0,'','','','','','','','2018-11-15 12:14:03','Bad request'),(1959,0,'','','','','','','','2018-11-15 12:14:07','Bad request'),(1960,1,'vote_id_5bef27e9c0e3a','173.17.5.198','0','anonymous','','{\"q-1\":{\"question\":\"Who will win the Monday Night showdown between the Rams and the Chiefs?\",\"id\":1,\"a\":[49],\"answers\":[\"Chiefs\"],\"cf\":[]}}','\"\"','2018-11-16 12:26:17','Success'),(1961,1,'vote_id_5bf38643bcb57','73.92.69.125','0','anonymous','','{\"q-1\":{\"question\":\"Who will win the Head-To-Head Golf match between Tiger Woods and Phil Mickelson?\",\"id\":1,\"a\":[49],\"answers\":[\"Phil\"],\"cf\":[]}}','\"\"','2018-11-19 19:57:55','Success'),(1962,0,'','','','','','','','2018-11-25 06:43:51','Bad request'),(1963,0,'','','','','','','','2018-11-25 06:43:52','Bad request'),(1964,1,'vote_id_5bfcdab37aae5','72.181.99.172','0','anonymous','','{\"q-1\":{\"question\":\"Which quarterback would you like to have on your team?\",\"id\":1,\"a\":[49],\"answers\":[\"Drew Brees\"],\"cf\":[]}}','\"\"','2018-11-26 21:48:35','Success'),(1965,1,'vote_id_5bfdd3b44e83c','108.211.183.49','0','anonymous','','{\"q-1\":{\"question\":\"Which quarterback would you like to have on your team?\",\"id\":1,\"a\":[72],\"answers\":[\"Patrick Mahommes\"],\"cf\":[]}}','\"\"','2018-11-27 15:31:00','Success'),(1966,0,'','','','','','','','2018-11-28 05:50:27','Bad request'),(1967,0,'','','','','','','','2018-11-28 09:54:50','Bad request'),(1968,0,'','','','','','','','2018-11-28 09:54:53','Bad request'),(1969,0,'','','','','','','','2018-11-28 09:55:32','Bad request'),(1970,0,'','','','','','','','2018-11-28 11:17:36','Bad request'),(1971,0,'','','','','','','','2018-11-28 11:17:43','Bad request'),(1972,1,'vote_id_5bff3979bddc6','81.132.206.72','0','anonymous','','{\"q-1\":{\"question\":\"Which quarterback would you like to have on your team?\",\"id\":1,\"a\":[72],\"answers\":[\"Patrick Mahommes\"],\"cf\":[]}}','\"\"','2018-11-28 16:57:30','Success'),(1973,1,'vote_id_5bff555590697','130.65.254.19','0','anonymous','','{\"q-1\":{\"question\":\"Which quarterback would you like to have on your team?\",\"id\":1,\"a\":[72],\"answers\":[\"Patrick Mahommes\"],\"cf\":[]}}','\"\"','2018-11-28 18:56:21','Success'),(1974,1,'vote_id_5bfff37f39fbc','192.31.106.36','0','anonymous','','{\"q-1\":{\"question\":\"Which quarterback would you like to have on your team?\",\"id\":1,\"a\":[74],\"answers\":[\"Aaron Rodgers\"],\"cf\":[]}}','\"\"','2018-11-29 06:11:11','Success'),(1975,0,'','','','','','','','2018-12-02 16:00:55','Bad request'),(1976,0,'','','','','','','','2018-12-02 16:01:00','Bad request'),(1977,0,'','','','','','','','2018-12-02 16:01:01','Bad request'),(1978,1,'vote_id_5c081288cce45','192.91.173.36','0','anonymous','','{\"q-1\":{\"question\":\"Which would you rather have?\",\"id\":1,\"a\":[48],\"answers\":[\"A 16-team College Football Playoff\"],\"cf\":[]}}','\"\"','2018-12-05 10:01:44','Success'),(1979,1,'vote_id_5c08301c0ea41','24.248.36.14','0','anonymous','','{\"q-1\":{\"question\":\"Which would you rather have?\",\"id\":1,\"a\":[49],\"answers\":[\"A Bunch of Meaningless Bowl Games\"],\"cf\":[]}}','\"\"','2018-12-05 12:07:56','Success'),(1980,1,'vote_id_5c0ad2a32f573','198.200.195.25','0','anonymous','','{\"q-1\":{\"question\":\"Which would you rather have?\",\"id\":1,\"a\":[49],\"answers\":[\"A Bunch of Meaningless Bowl Games\"],\"cf\":[]}}','\"\"','2018-12-07 12:05:55','Success'),(1981,1,'vote_id_5c0af6dbc19af','71.143.151.114','0','anonymous','','{\"q-1\":{\"question\":\"Which would you rather have?\",\"id\":1,\"a\":[48],\"answers\":[\"A 16-team College Football Playoff\"],\"cf\":[]}}','\"\"','2018-12-07 14:40:27','Success'),(1982,1,'vote_id_5c0d9ae89ab4e','67.55.219.17','0','anonymous','','{\"q-1\":{\"question\":\"Which would you rather have?\",\"id\":1,\"a\":[49],\"answers\":[\"A Bunch of Meaningless Bowl Games\"],\"cf\":[]}}','\"\"','2018-12-09 14:44:56','Success'),(1983,1,'vote_id_5c12b9d2387a5','76.99.189.127','0','anonymous','','{\"q-1\":{\"question\":\"Who do you think should win NFL MVP?\",\"id\":1,\"a\":[48],\"answers\":[\"Patrick Mahomes\"],\"cf\":[]}}','\"\"','2018-12-13 11:58:10','Success'),(1984,1,'vote_id_5c12f4fc1ae36','75.27.108.128','0','anonymous','','{\"q-1\":{\"question\":\"Who do you think should win NFL MVP?\",\"id\":1,\"a\":[75],\"answers\":[\"Todd Gurley\"],\"cf\":[]}}','\"\"','2018-12-13 16:10:36','Success'),(1985,1,'vote_id_5c14346a4e730','172.58.21.197','0','anonymous','','{\"q-1\":{\"question\":\"Who do you think should win NFL MVP?\",\"id\":1,\"a\":[49],\"answers\":[\"Drew Brees\"],\"cf\":[]}}','\"\"','2018-12-14 14:53:30','Success'),(1986,1,'vote_id_5c171b8733393','24.8.242.155','0','anonymous','','{\"q-1\":{\"question\":\"Who do you think should win NFL MVP?\",\"id\":1,\"a\":[49],\"answers\":[\"Drew Brees\"],\"cf\":[]}}','\"\"','2018-12-16 19:44:07','Success'),(1987,1,'vote_id_5c17d65d70a05','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Who do you think should win NFL MVP?\",\"id\":1,\"a\":[48],\"answers\":[\"Patrick Mahomes\"],\"cf\":[]}}','\"\"','2018-12-17 09:01:17','Success'),(1988,0,'','','','','','','','2018-12-17 11:27:58','Bad request'),(1989,0,'','','','','','','','2018-12-17 11:47:14','Bad request'),(1990,1,'vote_id_5c19dab4b48bf','67.169.190.26','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-12-18 21:44:20','Success'),(1991,1,'vote_id_5c1ae347cf694','76.164.193.83','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-12-19 16:33:11','Success'),(1992,0,'','','','','','','','2018-12-20 12:28:12','Bad request'),(1993,0,'','','','','','','','2018-12-20 12:28:18','Bad request'),(1994,0,'','','','','','','','2018-12-20 12:28:21','Bad request'),(1995,1,'vote_id_5c1d1dbd262a8','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-12-21 09:07:09','Success'),(1996,0,'','','','','','','','2018-12-21 11:46:42','Bad request'),(1997,1,'vote_id_5c2064f7698bd','72.78.138.184','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-12-23 20:47:51','Success'),(1998,1,'vote_id_5c2115043765e','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-12-24 09:19:00','Success'),(1999,0,'','','','','','','','2018-12-25 19:44:08','Bad request'),(2000,1,'vote_id_5c233afcd30f5','73.8.93.115','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-12-26 00:25:32','Success'),(2001,1,'vote_id_5c23c74b99745','134.193.75.72','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[48],\"answers\":[\"Yes\"],\"cf\":[]}}','\"\"','2018-12-26 10:24:11','Success'),(2002,1,'vote_id_5c23e08949639','71.241.144.159','0','anonymous','','{\"q-1\":{\"question\":\"Can Nick Foles lead the Eagles to the playoffs again?\",\"id\":1,\"a\":[49],\"answers\":[\"No\"],\"cf\":[]}}','\"\"','2018-12-26 12:11:53','Success'),(2003,0,'','','','','','','','2018-12-27 11:42:24','Bad request'),(2004,0,'','','','','','','','2018-12-27 11:42:30','Bad request'),(2005,0,'','','','','','','','2018-12-29 07:01:14','Bad request'),(2006,1,'vote_id_5c293e2249620','73.184.54.165','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2018-12-30 13:52:34','Success'),(2007,1,'vote_id_5c2958e88bab2','70.77.84.70','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2018-12-30 15:46:48','Success'),(2008,1,'vote_id_5c2a4b0dd0f2f','73.202.141.4','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2018-12-31 08:59:57','Success'),(2009,1,'vote_id_5c2c4ff46e104','24.4.133.223','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2019-01-01 21:45:24','Success'),(2010,1,'vote_id_5c2e7928d687a','98.223.34.173','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[49],\"answers\":[\"Bad News\"],\"cf\":[]}}','\"\"','2019-01-03 13:05:44','Success'),(2011,0,'','','','','','','','2019-01-04 19:00:32','Bad request'),(2012,1,'vote_id_5c327c82c5680','72.199.19.197','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2019-01-06 14:09:06','Success'),(2013,0,'','','','','','','','2019-01-06 17:40:26','Bad request'),(2014,1,'vote_id_5c33b1df57c0e','213.149.62.91','0','anonymous','','{\"q-1\":{\"question\":\"Tom Brady says he will play in 2019. Is this good or bad news for the Patriots?\",\"id\":1,\"a\":[48],\"answers\":[\"Good News\"],\"cf\":[]}}','\"\"','2019-01-07 12:09:03','Success'),(2015,0,'','','','','','','','2019-01-08 12:02:06','Bad request'),(2016,1,'vote_id_5c38e9b38cd16','184.23.193.66','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[48],\"answers\":[\"Football\"],\"cf\":[]}}','\"\"','2019-01-11 11:08:35','Success'),(2017,1,'vote_id_5c38f175491bc','73.71.69.231','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-11 11:41:41','Success'),(2018,1,'vote_id_5c3ae312ebc3a','73.97.235.102','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-12 23:04:51','Success'),(2019,1,'vote_id_5c3bc01643951','93.27.115.78','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[48],\"answers\":[\"Football\"],\"cf\":[]}}','\"\"','2019-01-13 14:47:50','Success'),(2020,0,'','','','','','','','2019-01-14 08:07:43','Bad request'),(2021,1,'vote_id_5c3cbf90d0146','70.190.193.140','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-14 08:57:52','Success'),(2022,1,'vote_id_5c3ce20fecca6','70.190.193.140','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-14 11:25:04','Success');

--
-- Table structure for table `wp_z49pvyjkzx_yop2_poll_questionmeta`
--

CREATE TABLE `wp_z49pvyjkzx_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=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_z49pvyjkzx_yop2_poll_questionmeta`
--

INSERT INTO `wp_z49pvyjkzx_yop2_poll_questionmeta` VALUES (1,1,'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:\"2016-02-24 15:44:27\";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: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:65:\"%POLL-ANSWER-RESULT-PERCENTAGES% - ( %POLL-ANSWER-RESULT-VOTES% )\";s:17:\"vote_button_label\";s:4:\"vote\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:2:\"no\";s:23:\"view_results_link_label\";s:12:\"View Results\";s:22:\"view_back_to_vote_link\";s:2:\"no\";s:28:\"view_back_to_vote_link_label\";s:12:\"Back to vote\";s:16:\"view_total_votes\";s:2:\"no\";s:22:\"view_total_votes_label\";s:36:\"Poll total votes: %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:40:\"Poll total answers: %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:21:\"Thank you for voting!\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:3:\"yes\";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: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 Sports Byline USA\";s:29:\"facebook_show_comments_widget\";s:2:\"no\";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:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";i:24;s:29:\"blocking_voters_interval_unit\";s:5:\"hours\";s:30:\"limit_number_of_votes_per_user\";s:3:\"yes\";s:24:\"number_of_votes_per_user\";i:3;s:20:\"percentages_decimals\";i: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:2:\"no\";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:3:\"yes\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";s:2:\"no\";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:\"3\";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:\"2\";s:15:\"sorting_results\";s:10:\"as_defined\";s:25:\"sorting_results_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:15:\"show_results_in\";s:3:\"bar\";s:16:\"bar_border_width\";i:2;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\";s:48:\"http://08c.c48.myftpupload.com/yop-poll-archive/\";s:18:\"archive_link_label\";s:7:\"Archive\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";i:1;s:22:\"archive_polls_per_page\";i:5;s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:32:\"yop-poll@08c.c48.myftpupload.com\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:17:\"New Yop Poll 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:\"2016-02-24 15:44:27\";s:35:\"schedule_reset_poll_recurring_value\";s:2:\"30\";s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:3:\"yes\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:18:\"google_integration\";s:2:\"no\";s:20:\"facebook_integration\";s:2:\"no\";s:24:\"yop_poll_archive_page_id\";i:3641;s:16:\"other_answers_id\";s:0:\"\";}'),(5,5,'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:\"2016-04-29 07:05:41\";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: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:65:\"%POLL-ANSWER-RESULT-PERCENTAGES% - ( %POLL-ANSWER-RESULT-VOTES% )\";s:17:\"vote_button_label\";s:4:\"vote\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:2:\"no\";s:23:\"view_results_link_label\";s:12:\"View Results\";s:22:\"view_back_to_vote_link\";s:2:\"no\";s:28:\"view_back_to_vote_link_label\";s:12:\"Back to vote\";s:16:\"view_total_votes\";s:2:\"no\";s:22:\"view_total_votes_label\";s:36:\"Poll total votes: %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:40:\"Poll total answers: %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:21:\"Thank you for voting!\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:3:\"yes\";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: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 Sports Byline USA\";s:29:\"facebook_show_comments_widget\";s:2:\"no\";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:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";i:24;s:29:\"blocking_voters_interval_unit\";s:5:\"hours\";s:30:\"limit_number_of_votes_per_user\";s:3:\"yes\";s:24:\"number_of_votes_per_user\";i:3;s:20:\"percentages_decimals\";i: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:2:\"no\";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:3:\"yes\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";s:2:\"no\";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:\"3\";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:\"2\";s:15:\"sorting_results\";s:10:\"as_defined\";s:25:\"sorting_results_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:15:\"show_results_in\";s:3:\"bar\";s:16:\"bar_border_width\";i:2;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\";s:41:\"http://sportsbyline.com/yop-poll-archive/\";s:18:\"archive_link_label\";s:7:\"Archive\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";i:1;s:22:\"archive_polls_per_page\";i:5;s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:32:\"yop-poll@08c.c48.myftpupload.com\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:17:\"New Yop Poll 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:\"2016-02-24 15:44:27\";s:35:\"schedule_reset_poll_recurring_value\";s:2:\"30\";s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:3:\"yes\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:18:\"google_integration\";s:2:\"no\";s:20:\"facebook_integration\";s:2:\"no\";s:24:\"yop_poll_archive_page_id\";i:3641;s:16:\"other_answers_id\";s:0:\"\";}'),(6,6,'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:\"2016-04-29 07:05:41\";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: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:65:\"%POLL-ANSWER-RESULT-PERCENTAGES% - ( %POLL-ANSWER-RESULT-VOTES% )\";s:17:\"vote_button_label\";s:4:\"vote\";s:14:\"template_width\";s:5:\"200px\";s:21:\"widget_template_width\";s:5:\"200px\";s:17:\"view_results_link\";s:2:\"no\";s:23:\"view_results_link_label\";s:12:\"View Results\";s:22:\"view_back_to_vote_link\";s:2:\"no\";s:28:\"view_back_to_vote_link_label\";s:12:\"Back to vote\";s:16:\"view_total_votes\";s:2:\"no\";s:22:\"view_total_votes_label\";s:36:\"Poll total votes: %POLL-TOTAL-VOTES%\";s:18:\"view_total_answers\";s:2:\"no\";s:24:\"view_total_answers_label\";s:40:\"Poll total answers: %POLL-TOTAL-ANSWERS%\";s:18:\"message_after_vote\";s:21:\"Thank you for voting!\";s:15:\"vote_permisions\";a:2:{i:0;s:5:\"guest\";i:1;s:10:\"registered\";}s:25:\"vote_permisions_wordpress\";s:3:\"yes\";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: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 Sports Byline USA\";s:29:\"facebook_show_comments_widget\";s:2:\"no\";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:15:\"blocking_voters\";a:1:{i:0;s:10:\"dont-block\";}s:30:\"blocking_voters_interval_value\";i:24;s:29:\"blocking_voters_interval_unit\";s:5:\"hours\";s:30:\"limit_number_of_votes_per_user\";s:3:\"yes\";s:24:\"number_of_votes_per_user\";i:3;s:20:\"percentages_decimals\";i: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:2:\"no\";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:3:\"yes\";s:19:\"allow_other_answers\";s:2:\"no\";s:19:\"other_answers_label\";s:5:\"Other\";s:23:\"is_default_other_answer\";s:2:\"no\";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:\"3\";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:\"2\";s:15:\"sorting_results\";s:10:\"as_defined\";s:25:\"sorting_results_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:15:\"show_results_in\";s:3:\"bar\";s:16:\"bar_border_width\";i:2;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\";s:41:\"http://sportsbyline.com/yop-poll-archive/\";s:18:\"archive_link_label\";s:7:\"Archive\";s:20:\"show_poll_in_archive\";s:3:\"yes\";s:18:\"poll_archive_order\";i:1;s:22:\"archive_polls_per_page\";i:5;s:29:\"email_notifications_from_name\";s:8:\"Yop Poll\";s:30:\"email_notifications_from_email\";s:32:\"yop-poll@08c.c48.myftpupload.com\";s:30:\"email_notifications_recipients\";s:0:\"\";s:27:\"email_notifications_subject\";s:17:\"New Yop Poll 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:\"2016-02-24 15:44:27\";s:35:\"schedule_reset_poll_recurring_value\";s:2:\"30\";s:34:\"schedule_reset_poll_recurring_unit\";s:3:\"day\";s:15:\"start_scheduler\";s:3:\"yes\";s:32:\"use_the_same_template_for_widget\";s:3:\"yes\";s:18:\"google_integration\";s:2:\"no\";s:20:\"facebook_integration\";s:2:\"no\";s:24:\"yop_poll_archive_page_id\";i:3641;s:16:\"other_answers_id\";s:0:\"\";}');

--
-- Table structure for table `wp_z49pvyjkzx_yop2_poll_questions`
--

CREATE TABLE `wp_z49pvyjkzx_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=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_z49pvyjkzx_yop2_poll_questions`
--

INSERT INTO `wp_z49pvyjkzx_yop2_poll_questions` VALUES (1,1,'Which sport should Kyler Murray play professionally?','text',2,'2016-02-24 15:51:46','active','2019-01-10 14:40:57',1),(5,5,'If the Warriors decide to not go to the White House, do you agree or disagree with their decision?','text',9192198,'2017-05-09 14:46:50','active','2017-08-19 10:11:24',1),(6,6,'Which team has a better chance of winning the NBA Championship?','text',9192198,'2017-05-09 14:47:35','active','2017-05-09 14:54:24',1);

--
-- Table structure for table `wp_z49pvyjkzx_yop2_poll_results`
--

CREATE TABLE `wp_z49pvyjkzx_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=12809 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `wp_z49pvyjkzx_yop2_poll_results`
--

INSERT INTO `wp_z49pvyjkzx_yop2_poll_results` VALUES (12798,1,'vote_id_5c3cd5b92ad31','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12799,1,'vote_id_5c3cd5b92fc94','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12800,1,'vote_id_5c3cd5b934c70','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12801,1,'vote_id_5c3cd5b9396f1','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12802,1,'vote_id_5c3cd5b9404b5','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12803,1,'vote_id_5c3cd5b944fa4','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12804,1,'vote_id_5c3cd5b94997b','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12805,1,'vote_id_5c3cd5b94cd35','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"]}}','','2019-01-14 10:32:25'),(12806,1,'vote_id_5c3cd5b9502f9','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"]}}','','2019-01-14 10:32:25'),(12807,1,'vote_id_5c3cd5b953513','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"]}}','','2019-01-14 10:32:25'),(12808,1,'vote_id_5c3ce20fecca6','70.190.193.140','United States','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-14 11:25:04'),(12797,1,'vote_id_5c3cd5b9259a2','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12796,1,'vote_id_5c3cd5b920cae','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12789,1,'vote_id_5c3cd5b8de1f6','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12790,1,'vote_id_5c3cd5b8e2bea','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12791,1,'vote_id_5c3cd5b8e7419','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12792,1,'vote_id_5c3cd5b8ed63e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12793,1,'vote_id_5c3cd5b902462','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12794,1,'vote_id_5c3cd5b9168c0','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12795,1,'vote_id_5c3cd5b91bc10','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:25'),(12788,1,'vote_id_5c3cd5b8d9885','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12781,1,'vote_id_5c3cd5b8b0294','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12782,1,'vote_id_5c3cd5b8b5864','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12783,1,'vote_id_5c3cd5b8bacc7','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12784,1,'vote_id_5c3cd5b8c0bdd','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12785,1,'vote_id_5c3cd5b8c6e25','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12786,1,'vote_id_5c3cd5b8ccef8','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12787,1,'vote_id_5c3cd5b8d35fe','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12780,1,'vote_id_5c3cd5b8a6b2f','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12779,1,'vote_id_5c3cd5b8a20b1','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12777,1,'vote_id_5c3cd5b898ef1','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12778,1,'vote_id_5c3cd5b89d7c4','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12776,1,'vote_id_5c3cd5b8943b0','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12770,1,'vote_id_5c3cd5b878896','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12775,1,'vote_id_5c3cd5b88f6df','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12774,1,'vote_id_5c3cd5b88ad31','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12773,1,'vote_id_5c3cd5b88656e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12765,1,'vote_id_5c3cd5b85fc9d','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12766,1,'vote_id_5c3cd5b865bca','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12767,1,'vote_id_5c3cd5b86ad3d','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12768,1,'vote_id_5c3cd5b86f960','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12769,1,'vote_id_5c3cd5b874247','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12772,1,'vote_id_5c3cd5b881e2e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12771,1,'vote_id_5c3cd5b87d050','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12764,1,'vote_id_5c3cd5b85a09b','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12763,1,'vote_id_5c3cd5b854e80','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12762,1,'vote_id_5c3cd5b84ebd7','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12759,1,'vote_id_5c3cd5b83dfcb','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12760,1,'vote_id_5c3cd5b8439bb','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12761,1,'vote_id_5c3cd5b849219','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12758,1,'vote_id_5c3cd5b83809c','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12757,1,'vote_id_5c3cd5b8333d1','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12756,1,'vote_id_5c3cd5b82e470','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12755,1,'vote_id_5c3cd5b829c46','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12753,1,'vote_id_5c3cd5b81fe01','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12754,1,'vote_id_5c3cd5b825111','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12752,1,'vote_id_5c3cd5b81a9fa','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12751,1,'vote_id_5c3cd5b81558d','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12746,1,'vote_id_5c3cd5b7f11bc','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12747,1,'vote_id_5c3cd5b8023f9','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12748,1,'vote_id_5c3cd5b806c21','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12749,1,'vote_id_5c3cd5b80b769','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12750,1,'vote_id_5c3cd5b81029e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:24'),(12745,1,'vote_id_5c3cd5b7eb8a2','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12734,1,'vote_id_5c3cd5b7ab9f5','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12735,1,'vote_id_5c3cd5b7b1d29','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12736,1,'vote_id_5c3cd5b7b6aad','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12737,1,'vote_id_5c3cd5b7bcb6f','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12738,1,'vote_id_5c3cd5b7c2aba','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12739,1,'vote_id_5c3cd5b7c9038','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12740,1,'vote_id_5c3cd5b7ceac6','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12741,1,'vote_id_5c3cd5b7d47d0','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12742,1,'vote_id_5c3cd5b7da5e0','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12743,1,'vote_id_5c3cd5b7e0486','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12744,1,'vote_id_5c3cd5b7e6071','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12730,1,'vote_id_5c3cd5b794c1f','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12731,1,'vote_id_5c3cd5b79a217','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12732,1,'vote_id_5c3cd5b79f9aa','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12733,1,'vote_id_5c3cd5b7a59d2','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12729,1,'vote_id_5c3cd5b78ee58','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12727,1,'vote_id_5c3cd5b783429','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12728,1,'vote_id_5c3cd5b7884e4','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12726,1,'vote_id_5c3cd5b77e6a4','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12724,1,'vote_id_5c3cd5b772d4e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12725,1,'vote_id_5c3cd5b777c7e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12723,1,'vote_id_5c3cd5b76d15e','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12722,1,'vote_id_5c3cd5b768d26','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12721,1,'vote_id_5c3cd5b764622','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12719,1,'vote_id_5c3cd5b75bab6','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12720,1,'vote_id_5c3cd5b760085','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12712,1,'vote_id_5c37e28ebe046','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"]}}','','2019-01-10 16:25:50'),(12713,1,'vote_id_5c38e9b38cd16','184.23.193.66','United States','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[48],\"answers\":[\"Football\"],\"cf\":[]}}','\"\"','2019-01-11 11:08:36'),(12714,1,'vote_id_5c38f175491bc','73.71.69.231','United States','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-11 11:41:41'),(12715,1,'vote_id_5c3ae312ebc3a','73.97.235.102','United States','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-12 23:04:51'),(12716,1,'vote_id_5c3bc01643951','93.27.115.78','France','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[48],\"answers\":[\"Football\"],\"cf\":[]}}','\"\"','2019-01-13 14:47:50'),(12717,1,'vote_id_5c3cbf90d0146','70.190.193.140','United States','0','anonymous','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?\",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"],\"cf\":[]}}','\"\"','2019-01-14 08:57:53'),(12718,1,'vote_id_5c3cd5b756e28','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-14 10:32:23'),(12711,1,'vote_id_5c37ca0fa2ed0','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[49],\"answers\":[\"Baseball\"]}}','','2019-01-10 14:41:19'),(12709,1,'vote_id_5c37ca0f9a201','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-10 14:41:19'),(12710,1,'vote_id_5c37ca0f9fb1b','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-10 14:41:19'),(12708,1,'vote_id_5c37ca0f95f61','162.203.161.245','','9192198','admin','','{\"q-1\":{\"question\":\"Which sport should Kyler Murray play professionally?: \",\"id\":1,\"a\":[48,49],\"answers\":[\"Football\",\"Baseball\"]}}','','2019-01-10 14:41:19');

--
-- Table structure for table `wp_z49pvyjkzx_yop2_poll_templates`
--

CREATE TABLE `wp_z49pvyjkzx_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,
  `after_vote_template_chart` 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_z49pvyjkzx_yop2_poll_templates`
--

INSERT INTO `wp_z49pvyjkzx_yop2_poll_templates` VALUES (1,2,'White','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  color: #555;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(2,2,'Grey','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#eee;\r\n  box-sizing: border-box;\r\n  color: #fff;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#000;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }\r\n\r\n\r\n\r\n\r\n\r\n\r\n#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(3,2,'Dark','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#555;\r\n  box-sizing: border-box;\r\n  color: #fff;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(4,2,'Blue v1','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#327BD6;\r\n  box-sizing: border-box;\r\n  color: #fff;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(5,2,'Blue v2','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  background:#327BD6;\r\n  color:#fff;\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(6,2,'Blue v3','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n  border: 5px solid #327BD6;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(7,2,'Red v1','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#B70004;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:white;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(8,2,'Red v2','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  background:#B70004;\r\n  color:#fff;\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(9,2,'Red v3','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n  border:5px solid #B70004;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(10,2,'Green v1','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#3F8B43;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:white;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(11,2,'Green v2','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  background:#3F8B43;\r\n  color:#fff;\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }\r\n#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(12,2,'Green v3','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n  border:5px solid #3F8B43;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(13,2,'Orange v1','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#FB6911;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:white;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }\r\n#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(14,2,'Orange v2','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  background:#FB6911;\r\n  color:#fff;\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27'),(15,2,'Orange v3','<div id = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-ANSWER-CHECK-INPUT% %POLL-ANSWER-LABEL%\r\n                    [ANSWER_DESCRIPTION_CONTAINER]\r\n                    <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                    [/ANSWER_DESCRIPTION_CONTAINER]\r\n\r\n                    [ANSWER_RESULT_CONTAINER]\r\n					<span class = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n					%POLL-ANSWER-RESULT-BAR%\r\n                    [/ANSWER_RESULT_CONTAINER]\r\n				</li>\r\n				[/ANSWER_CONTAINER]\r\n				[OTHER_ANSWER_CONTAINER]\r\n				<li id = \"yop-poll-li-answer-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-answer-%POLL-ID%\">\r\n					%POLL-OTHER-ANSWER-CHECK-INPUT%\r\n					%POLL-OTHER-ANSWER-LABEL%\r\n					<span id = \"yop-poll-results-text-%POLL-ID%-%QUESTION-ID%\"\r\n                          class = \"yop-poll-results-text-%POLL-ID%\">%POLL-ANSWER-RESULT-LABEL%</span>\r\n\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-customs-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-customs-%POLL-ID%\">\r\n			<ul>\r\n				[CUSTOM_FIELD_CONTAINER]\r\n				<li id = \"yop-poll-li-custom-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-custom-%POLL-ID%\">\r\n					%POLL-CUSTOM-FIELD-LABEL% %POLL-CUSTOM-FIELD-TEXT-INPUT%\r\n				</li>\r\n				[/CUSTOM_FIELD_CONTAINER]\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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-%POLL-ID%\"></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>','<div id = \"yop-poll-questions-container-%POLL-ID%\" class = \"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n                       <div id = \"yop-poll-answers-chart-canvas-%POLL-ID%-%QUESTION-ID%\" style=\"text-align:center;\" class=\"yop-poll-answers-container-chart-%POLL-ID% yop-poll-center-chart\">\r\n			<canvas id=\"yop-poll-answers-chart-%POLL-ID%-%QUESTION-ID%\" class=\"yop-poll-answers-chart\"></canvas>\r\n                       </div>\r\n		</div>\r\n	</div>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\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 id = \"yop-poll-archive-%POLL-ID%\">%POLL-VIEW-ARCHIVE-LINK%</div>\r\n	%SHARE-BUTTON%\r\n</div>','This poll is about to<br>\r\n start on %POLL-START-DATE%<br>\r\nand will end on %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-questions-container-%POLL-ID%\" class=\"yop-poll-questions-container-%POLL-ID%\">\r\n	[QUESTION_CONTAINER]\r\n	<div id = \"yop-poll-question-container-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-question-container-%POLL-ID%\">\r\n		<div id = \"yop-poll-question-%POLL-ID%-%QUESTION-ID%\"\r\n             class = \"yop-poll-question-%POLL-ID%\">%POLL-QUESTION%</div>\r\n		<div id = \"yop-poll-answers-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-answers-%POLL-ID%\">\r\n			<ul>\r\n				[ANSWER_RESULT_CONTAINER]\r\n				<li id = \"yop-poll-li-result-%POLL-ID%-%QUESTION-ID%\" class = \"yop-poll-li-result-%POLL-ID%\">\r\n					<label id = \"pds-feedback-label-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-label-%POLL-ID%\">\r\n                        [ANSWER_DESCRIPTION_CONTAINER]\r\n                        <span class = \"yop-poll-description-%POLL-ID%\">%ANSWER-DESCRIPTION%</span>\r\n                        [/ANSWER_DESCRIPTION_CONTAINER]\r\n						<span id = \"pds-answer-text-%POLL-ID%-%QUESTION-ID%\" class = \"pds-answer-text-%POLL-ID%\">\r\n							%POLL-ANSWER-LABEL%\r\n						</span>\r\n						<span id = \"pds-feedback-result-%POLL-ID%-%QUESTION-ID%\"\r\n                              class = \"pds-feedback-result-%POLL-ID%\">\r\n							<span id = \"pds-feedback-per-%POLL-ID%-%QUESTION-ID%\" class = \"pds-feedback-per-%POLL-ID%\">\r\n								%POLL-ANSWER-RESULT-LABEL%\r\n							</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>\r\n	<div class = \"yop-poll-clear-%POLL-ID%\"></div>\r\n	[/QUESTION_CONTAINER]\r\n</div>','/*\r\n  Main Container\r\n  ---------------------------------------------------------------------------\r\n*/\r\n#yop-poll-other-answer-%POLL-ID%-other {\r\n    border:1px solid #000000;\r\n    color:#000000;\r\n\r\n}\r\n.yop-poll-customfield-%POLL-ID% {\r\nborder:1px solid #000000;\r\n    color:#000000;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% {\r\n  background:#fff;\r\n  box-sizing: border-box;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  color:#555;\r\n  padding: 10px;\r\n  width: %POLL-WIDTH%;\r\n  zoom: 1;\r\n  border:5px solid #FB6911;\r\n}\r\n/* A nice little reset */\r\ndiv.yop-poll-container * {\r\n\r\n}\r\n\r\nform#yop-poll-form-%POLL-ID% {\r\n\r\n}\r\n/*\r\n  Error message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-error-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:red;\r\n  text-transform:lowercase;\r\n  text-align:center;\r\n}\r\n/*\r\n  Success message\r\n  ..................................\r\n*/\r\ndiv#yop-poll-container-success-%POLL-ID% {\r\n  font-size:.8em;\r\n  font-style:italic;\r\n  color:green;\r\n  text-align:center;\r\n}\r\n/*\r\n  Poll Question\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv#yop-poll-questions-container-%POLL-ID% { margin:.5em; }\r\ndiv.yop-poll-question-container-%POLL-ID% { margin: 0; }\r\ndiv.yop-poll-question-%POLL-ID% {\r\n  border: 0 none;\r\n  margin: 0 0 2em;\r\n  padding: .25em;\r\n  text-align: center;\r\n  font-size: 14px;\r\n}\r\n/*\r\n  Poll Options / Answers\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID% {}\r\ndiv.yop-poll-answers-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-answer-%POLL-ID%,\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  font-size: 14px;\r\n  line-height: 2em;\r\n\r\n}\r\ndiv.yop-poll-answers-%POLL-ID% ul li.yop-poll-li-result-%POLL-ID% {padding-bottom: 1em;}\r\n/*\r\n  Label\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label {\r\n  margin:0px;\r\n  font-style:normal;\r\n  font-weight:normal;\r\n  font-size:14px;\r\n  float:none;\r\n  display:inline-block;\r\n}\r\n/* Actual text label of the answer */\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(2) {\r\n}\r\n/*\r\n  Custom answer / Other\r\n  ..................................\r\n*/\r\ndiv.yop-poll-answers-%POLL-ID%  ul li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) {\r\n  width: 100%;\r\n  overflow: hidden;\r\n}\r\ndiv#yop-poll-container-%POLL-ID%  li.yop-poll-li-answer-%POLL-ID% label:nth-of-type(3) input[type=\"text\"] {\r\n  width: 94%;\r\n  overflow: hidden;\r\n}\r\n/*\r\n  Custom checkbox and radio button style\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\n\r\n/*\r\n  Custom fields\r\n  ---------------------------------------------------------------------------\r\n*/\r\ndiv.yop-poll-customs-%POLL-ID% {\r\n  clear: both;\r\n\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul {\r\n  list-style: none;\r\n  margin: 0;\r\n  padding: 0;\r\n  overflow: hidden;\r\n  width: 100%;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% {\r\n  display: block;\r\n  font-size:14px;\r\n  list-style: none;\r\n}\r\ndiv.yop-poll-customs-%POLL-ID% ul li.yop-poll-li-custom-%POLL-ID% label {\r\n  display: block;\r\n}\r\ndiv#yop-poll-container-%POLL-ID% li.yop-poll-li-custom-%POLL-ID% input[type=\"text\"] {\r\n  width: 94%;\r\n}\r\n/*\r\n  Vote Button\r\n  ---------------------------------------------------------------------------\r\n*/\r\n.yop-poll-footer { /*height: 4em;*/ }\r\n\r\n.yop-poll-vote-centered-%POLL-ID% { text-align:center; }\r\n\r\n#yop-poll-vote-%POLL-ID% div button {\r\n\r\n  cursor:pointer;\r\n  display: block;\r\n  font-size:14px;\r\n  margin: 0 auto;\r\n  }\r\n\r\n\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_vote_button {}\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_wordpress_vote_button { margin: 1em auto 0; }\r\n#yop-poll-vote-%POLL-ID% div button.yop_poll_anonymous_vote_button { margin: 1em auto 0; }\r\n\r\n/*\r\n  Results\r\n  ---------------------------------------------------------------------------\r\n*/\r\n\r\nli.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  color: #38595E;\r\n}\r\n/*\r\n  Style for results that are displayed on columns\r\n  ..................................\r\n*/\r\nli.yop-poll-li-answer-%POLL-ID% {\r\n  float: left;\r\n  display: inline-block;\r\n  width: 100%;\r\n  padding: 1%;\r\n  margin: 1%;\r\n}\r\n\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {\r\n  float: right;\r\n  width: auto;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-back-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div#yop-poll-archive-%POLL-ID% a {\r\n  color:#000;\r\n  text-decoration:underline;\r\n  font-size:12px;\r\n}\r\n#yop-poll-vote-%POLL-ID% div {\r\n  float:left;\r\n  width:100%;\r\n}\r\n/*\r\n  Result Bar\r\n  ..................................\r\n*/\r\n\r\n.yop-poll-results-bar-%POLL-ID% div { background:#555; width:90%;}\r\n\r\n\r\n/*\r\n  ---------------------------------------------------------------------------\r\n  EXTRAS\r\n  ---------------------------------------------------------------------------\r\n*/\r\n/*\r\n  CAPTCHA\r\n  ..................................\r\n*/\r\n#yop-poll-captcha-input-div-%POLL-ID% { margin-top:5px; }\r\n#yop-poll-captcha-helpers-div-%POLL-ID% {\r\n  width:30px;\r\n  float:left;\r\n  margin-left:5px;\r\n  height:0px;\r\n}\r\n#yop-poll-captcha-helpers-div-%POLL-ID% img { margin-bottom:2px; }\r\n#yop-poll-captcha-image-div-%POLL-ID% { margin-bottom:5px; }\r\n#yop_poll_captcha_image_%POLL-ID% { float:left; }\r\n\r\n.yop-poll-clear-%POLL-ID% { clear:both; }\r\n\r\n.yop-poll-name-%POLL-ID% { color:#38595E; font-size: 18px; }\r\n\r\n\r\n.yop-poll-li-answer-%POLL-ID% label  img     { max-width: 98%; }\r\n.yop-poll-li-result-%POLL-ID% label span img { max-width: 98%; }\r\n\r\n.content { position :unset !important; }\r\n\r\ndiv.yop-poll-container br,\r\ndiv#yop-poll-container-%POLL-ID% br { display: none; }\r\n\r\ndiv#yop_poll_vote_options_div-%POLL-ID% div:nth-last-of-type(1) { display: none; }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n#yop-poll-container-%POLL-ID% img {\r\n    max-width: %POLL-WIDTH%;\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   jQuery(\'.yop-poll-forms\').removeClass(\'yop-poll-forms-display\');\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\n\r\n});\r\n\r\nfunction equalWidth_%POLL-ID%(obj, cols, findWidest ) {\r\n\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n             if(cols[quest][0]==1)\r\n                        jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"width\",\"100%\");\r\n             else\r\n                         jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][0]);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-answer-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\r\n}\r\n}\r\n\r\nfunction equalWidth2_%POLL-ID%(obj, cols, findWidest ) {\r\n    findWidest  = typeof findWidest  !== \"undefined\" ? findWidest  : false;\r\n    var quest=0;\r\n\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        var count  = 0;\r\n        var poz_each_question=0;\r\n\r\n        obj.each(function() {\r\n            count++;\r\n            cols[quest][2]=(jQuery(\'#yop-poll-answers-%POLL-ID%-\'+ cols[quest][3] +\' li\').length);\r\n            var thisWidth = jQuery(this).width();\r\n            if(thisWidth > widest) {\r\n                widest = thisWidth;\r\n            }\r\n            if(count<cols[quest][2])\r\n            { width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n             jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n            }\r\n            else\r\n            {\r\n                count=0;\r\n\r\n\r\n                width = parseInt( %POLL-WIDTH% / cols[quest][1]);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).width(width-20);\r\n                jQuery(\".yop-poll-li-result-%POLL-ID%-\"+cols[quest][3]).css(\"float\", \"left\");\r\n                quest++;\r\n            }\r\n\r\n        });\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};','default','2016-02-24 15:44:27','2016-02-24 15:44:27');

--
