var ob = {
  "survey" : "<div style=\"width: 400px;\">\n\t<div id=\"survey_success-1030\" 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>What home tech item do you want to find most under the tree/menorah/etc.?</b></div>\n\n\t\n\t<div id=\"err-1030\" 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-1030\">\t\n\t\t\t\t\n\t\t<form method=\"post\" action=\"\">\n\t\t<table id=\"table-1030\">\n\t\t\n\t\t\t\t<tr valign=\"top\">\n\t\t\t<td style=\"padding-right: 10px;\"><input type=\"radio\" value=\"3111\" name=\"answer-1030\" /></td>\n\t\t\t<td>Digital Photo Frame</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=\"3112\" name=\"answer-1030\" /></td>\n\t\t\t<td>iPhone or other great cell phone (tell us which one 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=\"3113\" name=\"answer-1030\" /></td>\n\t\t\t<td>Flat Screen TV</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=\"3114\" name=\"answer-1030\" /></td>\n\t\t\t<td>iPod or other MP3 player</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=\"3115\" name=\"answer-1030\" /></td>\n\t\t\t<td>Candela set or other LED candles</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=\"3116\" name=\"answer-1030\" /></td>\n\t\t\t<td>Techy Ornaments for future Christmas trees</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=\"3117\" name=\"answer-1030\" /></td>\n\t\t\t<td>Desktop or Notebook Computer</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=\"3118\" name=\"answer-1030\" /></td>\n\t\t\t<td>Other (tell us about it 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-1030\">\n\t\t<input type=\"button\" id=\"answer_button-1030\" value=\"answer survey\" onclick=\"BFInstance.getController('SurveyCtl').takeSurvey(1030);\" />\n\t\t<input type=\"button\" value=\"show results\" onclick=\"BFInstance.getController('SurveyCtl').showSurvey(1030);\" />\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-1030\">\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-1030\" 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;\">Digital Photo Frame</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=\"40\"><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;\">iPhone or other great cell phone (tell us which one 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=\"160\"><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;\">Flat Screen TV</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>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;\">iPod or other MP3 player</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=\"40\"><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;\">Candela set or other LED candles</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=\"40\"><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;\">Techy Ornaments for future Christmas trees</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;\">Desktop or Notebook Computer</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=\"40\"><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;\">Other (tell us about it 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=\"160\"><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</table>\n\n</div>\n\n\n\n\t"
}; document.write( ob.survey ); document.write( ob.results ); BFInstance.init('SurveyCtl');BFInstance.getController('SurveyCtl').isAuthed('1030');