var ob = {
  "survey" : "<div style=\"width: 400px;\">\n\t<div id=\"survey_success-430\" 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>Do you use technology to help you fall/stay asleep?</b></div>\n\n\t\n\t<div id=\"err-430\" 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-430\">\t\n\t\t\t\t\n\t\t<form method=\"post\" action=\"\">\n\t\t<table id=\"table-430\">\n\t\t\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"1268\" name=\"answer-430\" /></td>\n\t\t\t<td>No, I need a quiet room</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=\"1269\" name=\"answer-430\" /></td>\n\t\t\t<td>Doesn't matter to me either way</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=\"1270\" name=\"answer-430\" /></td>\n\t\t\t<td>No, I don't need it, but my partner does</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=\"1271\" name=\"answer-430\" /></td>\n\t\t\t<td>White noise makes all the difference</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=\"1272\" name=\"answer-430\" /></td>\n\t\t\t<td>I use a sound machine (specify what setting you use in the comments)</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=\"1273\" name=\"answer-430\" /></td>\n\t\t\t<td>I listen to music to fall asleep (what do you listen to?)</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=\"1274\" name=\"answer-430\" /></td>\n\t\t\t<td>Other (specify what in the comments)</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-430\">\n\t\t<input type=\"button\" id=\"answer_button-430\" value=\"answer survey\" onclick=\"BFInstance.getController('SurveyCtl').takeSurvey(430);\" />\n\t\t<input type=\"button\" value=\"show results\" onclick=\"BFInstance.getController('SurveyCtl').showSurvey(430);\" />\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-430\">\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-430\" 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;\">No, I need a quiet room</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>22</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Doesn't matter to me either way</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=\"154.545454545455\"><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>17</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">No, I don't need it, but my partner does</td>\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; padding-left: 10px;\" nowrap=\"nowrap\">\n\t\t\n\t</td><td nowrap=\"nowrap\" style=\"padding-top: 5px; padding-bottom: 5px;\"> &nbsp; <b>0</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">White noise makes all the difference</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=\"90.9090909090909\"><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>10</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">I use a sound machine (specify what setting you use in the comments)</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=\"27.2727272727273\"><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;\">I listen to music to fall asleep (what do you listen to?)</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=\"45.4545454545455\"><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>5</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">Other (specify what in the comments)</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=\"54.5454545454545\"><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>6</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('430');