var ob = {"survey":"<div style=\"width: 400px;\">\n\t<div id=\"survey_success-2045\" 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 days/nights a week do you cook?</b></div>\n\n\t\n\t<div id=\"err-2045\" 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-2045\">\t\n\t\t\t\t\n\t\t<form method=\"post\" action=\"\">\n\t\t<table id=\"table-2045\">\n\t\t\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"6152\" name=\"answer-2045\" /></td>\n\t\t\t<td>0-1</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=\"6153\" name=\"answer-2045\" /></td>\n\t\t\t<td>2-3</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=\"6154\" name=\"answer-2045\" /></td>\n\t\t\t<td>4-5</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=\"6155\" name=\"answer-2045\" /></td>\n\t\t\t<td>more than 5</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-2045\">\n\t\t<input type=\"button\" id=\"answer_button-2045\" value=\"answer survey\" onclick=\"BFInstance.getController('SurveyCtl').takeSurvey(2045);\" />\n\t\t<input type=\"button\" value=\"show results\" onclick=\"BFInstance.getController('SurveyCtl').showSurvey(2045);\" />\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-2045\">\n\t\tTo take the survey <a href=\"#comments\">Login below</a> and reload this page. If you do not have an account, please <a href=\"http://community.apartmenttherapy.com/com/SignUp\" target=\"_blank\">Register</a>.\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-2045\" 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;\">0-1</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=\"15.7894736842105\"><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<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">2-3</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=\"102.631578947368\"><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>39</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">4-5</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=\"184.210526315789\"><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>70</b></td>\n</tr>\n\n<tr valign=\"top\">\n\t<td style=\"padding-top: 5px; padding-bottom: 5px; border-bottom: dotted gray 0px;\">more than 5</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>76</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('2045');