var ob = {
  "survey" : "<div style=\"width: 400px;\">\n\t<div id=\"survey_success-287\" 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>How many times a week do you and your family members sit down to dinner together?</b></div>\n\n\t\n\t<div id=\"err-287\" 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-287\">\t\n\t\t\t\t\n\t\t<form method=\"post\" action=\"\">\n\t\t<table id=\"table-287\">\n\t\t\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"843\" name=\"answer-287\" /></td>\n\t\t\t<td>Once a week.</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=\"844\" name=\"answer-287\" /></td>\n\t\t\t<td>At least three times a week.</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=\"845\" name=\"answer-287\" /></td>\n\t\t\t<td>Every night!</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-287\">\n\t\t<input type=\"button\" id=\"answer_button-287\" value=\"answer survey\" onclick=\"BFInstance.getController('SurveyCtl').takeSurvey(287);\" />\n\t\t<input type=\"button\" value=\"show results\" onclick=\"BFInstance.getController('SurveyCtl').showSurvey(287);\" />\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-287\">\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-287\" 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;\">Once a week.</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=\"30.7692307692308\"><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;\">At least three times a week.</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=\"107.692307692308\"><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>14</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Every night!</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>26</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('287');