var ob = {
  "survey" : "<div style=\"width: 400px;\">\n\t<div id=\"survey_success-1820\" style=\"text-align: center; width: 400px; display: none; padding: 10px; background-color: #c2e2c4; border-top: solid grey 1px; border-bottom: solid grey 1px; margin: 3px;\">\n\tThank you, your survey answer has been recorded. \n\t</div>\n\n\t<div style=\"padding-bottom: 5px;\"><b>The first bottle of liquor I ever bought was...</b></div>\n\n\t\n\t<div id=\"err-1820\" style=\"text-align: center; width: 400px; display: none; padding: 10px; background-color: #ffff9b; border-top: solid grey 1px; border-bottom: solid grey 1px; margin: 3px;\"></div>\n\t<div id=\"survey_form-1820\">\t\n\t\t\t\t\n\t\t<form method=\"post\" action=\"\">\n\t\t<table id=\"table-1820\">\n\t\t\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5529\" name=\"answer-1820\" /></td>\n\t\t\t<td>Scotch or whisky</td>\t\n\t\t</tr>\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5530\" name=\"answer-1820\" /></td>\n\t\t\t<td>Rum</td>\t\n\t\t</tr>\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5531\" name=\"answer-1820\" /></td>\n\t\t\t<td>Brandy</td>\t\n\t\t</tr>\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5532\" name=\"answer-1820\" /></td>\n\t\t\t<td>Gin</td>\t\n\t\t</tr>\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5533\" name=\"answer-1820\" /></td>\n\t\t\t<td>Vodka</td>\t\n\t\t</tr>\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"5534\" name=\"answer-1820\" /></td>\n\t\t\t<td>Something else - my answer is in my comment below.</td>\t\n\t\t</tr>\n\t\t\t\t\n\t\t</table>\n\t\t\n\t\t<div style=\"margin-top: 10px;\" id=\"buttons-1820\">\n\t\t<input type=\"button\" id=\"answer_button-1820\" value=\"answer survey\" onclick=\"BFInstance.getController('SurveyCtl').takeSurvey(1820);\" />\n\t\t<input type=\"button\" value=\"show results\" onclick=\"BFInstance.getController('SurveyCtl').showSurvey(1820);\" />\n\t\t</div>\n\t\t\n\t\t<div style=\"text-align: center; margin-top: 10px; display: none; width: 400px; display: none; padding: 10px; background-color: #ffff9b; border-top: solid grey 1px; border-bottom: solid grey 1px;\" id=\"register-1820\">\n\t\tTo take the survey <a href=\"#comments\">Register or Login below</a> and reload this page.\n\t\t</div>\n\t\t\n\t\t</form>\n\t</div>\n\t\n</div>\n",
  "results" : "\n<div id=\"survey_results-1820\" style=\"padding-top: 10px; width: 400px; display: none;\">\n\n<table>\n\n\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Scotch or whisky</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"16.3265306122449\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>4</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Rum</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"73.469387755102\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>18</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Brandy</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"4.08163265306122\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>1</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Gin</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"12.2448979591837\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>3</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Vodka</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"200\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>49</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Something else - my answer is in my comment below.</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t\t<img src=\"http://community.apartmenttherapy.com/static/images/survey/blue1.gif\" alt=\"\" height=\"16\" width=\"3\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue2.gif\" alt=\"\" border=\"0\" height=\"16\" width=\"44.8979591836735\"><img src=\"http://community.apartmenttherapy.com/static/images/survey/blue3.gif\" alt=\"\" height=\"16\" width=\"3\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>11</b></td>\n</tr>\n\n</table>\n\n</div>\n\n\n\n\t"
}; document.write( ob.survey ); document.write( ob.results ); BFInstance.init('SurveyCtl');BFInstance.getController('SurveyCtl').isAuthed('1820');