

// Copyright 2008 by Constant Contact Inc.,
var ConstantContactPoll_a07e2h98xx1fs2q5uq1 = function() {
  var pollHtml = '<table width="300"><tr><td style="text-align: left"><div style="border: 1px solid #737373; background: #FFFFFF;" class="cc-poll-container" id="cc-poll-a07e2h98xx1fs2q5uq1"><div id="cc-poll-a07e2h98xx1fs2q5uq1-replace"><div style="  border-bottom: 1px solid #b7b7b7;   padding: 0.5em;   font-family: Arial;  font-size: 12pt;  color: #000000;">Which date is it ok to introduce your favorite sex toy to your new lover?</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.selectAnswer( this.value)" value="0" name="cc-poll-answer-option_a07e2h98xx1fs2q5uq1" type="radio"/>Date 1 - Love me, Love my toy!</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.selectAnswer( this.value)" value="1" name="cc-poll-answer-option_a07e2h98xx1fs2q5uq1" type="radio"/>After Date 3 - Nothing too crazy, but let\'s have some fun!</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.selectAnswer( this.value)" value="2" name="cc-poll-answer-option_a07e2h98xx1fs2q5uq1" type="radio"/>After Date 10 - I need time to share my toys.</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.selectAnswer( this.value)" value="3" name="cc-poll-answer-option_a07e2h98xx1fs2q5uq1" type="radio"/>NEVER - Way to embarassing!</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.selectAnswer( this.value)" value="4" name="cc-poll-answer-option_a07e2h98xx1fs2q5uq1" type="radio"/>Toys? What toys? Help me BlissConnection.com !</div><div style="border-bottom: 1px solid #b7b7b7; border-top: 1px solid #FFFFFF; padding: 0.5em;"><input onclick="ConstantContactPoll_a07e2h98xx1fs2q5uq1.submit()" style="  font-family: Arial;  font-size: 12pt;  color: white;  background-color: #FF8413;" value="Vote" name="vote" type="button"/></div></div><div style="border-top: 1px solid #FFFFFF; padding: 0.3em; background-color: #CCCCCC; color: #666666; font-family: Arial; text-align: right; font-size: 8pt;"><a target="_blank" style="text-decoration: none; color: #666666;" href="http://www.constantcontact.com/survey/index.jsp?cc=ViraWidPOL">Online Surveys</a> by <a target="_blank" href="http://www.constantcontact.com/survey/index.jsp?cc=ViraWidPOL"><img src="http://img.constantcontact.com/ui/images1/cc_logo_tiny.gif" width="61" height="22" border="0"  /></a></div></div></td></tr></table>';
  var pollResultsHtml = '<div style="  border-bottom: 1px solid #b7b7b7;   padding: 0.5em;   font-family: Arial;  font-size: 12pt;  color: #000000;">Which date is it ok to introduce your favorite sex toy to your new lover?</div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;">Date 1 - Love me, Love my toy!<div><img src="http://img.constantcontact.com/ui/images/spacer.gif" width="16px" height="20px;" border="0"  style="background-color: orange;" valign="bottom" />\n      16%\n    </div></div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;">After Date 3 - Nothing too crazy, but let\'s have some fun!<div><img src="http://img.constantcontact.com/ui/images/spacer.gif" width="28px" height="20px;" border="0"  style="background-color: orange;" valign="bottom" />\n      28%\n    </div></div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;">After Date 10 - I need time to share my toys.<div><img src="http://img.constantcontact.com/ui/images/spacer.gif" width="41px" height="20px;" border="0"  style="background-color: orange;" valign="bottom" />\n      41%\n    </div></div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;">NEVER - Way to embarassing!<div><img src="http://img.constantcontact.com/ui/images/spacer.gif" width="6px" height="20px;" border="0"  style="background-color: orange;" valign="bottom" />\n      6%\n    </div></div><div style="  border-bottom: 1px solid #b7b7b7;   border-top: 1px solid #FFFFFF;   padding: 0.5em;   font-family: Arial;   font-size: 10pt;   color: #000000;">Toys? What toys? Help me BlissConnection.com !<div><img src="http://img.constantcontact.com/ui/images/spacer.gif" width="9px" height="20px;" border="0"  style="background-color: orange;" valign="bottom" />\n      9%\n    </div></div>';

  var instanceId = "a07e2h98xx1fs2q5uq1";
  var pollSubmitUrl = "http://survey.constantcontact.com/poll/a07e2h98xx1fs2q5uq1/vote.js";
  var selectedOption = -1;

  function doSubmit() {
    var scriptElm = document.createElement("script");
    scriptElm.type = "text/javascript";
    if (pollSubmitUrl.indexOf('?') == -1) {
      pollSubmitUrl += '?';
    }
    scriptElm.src = pollSubmitUrl + "&selectedOption=" + selectedOption + "&instanceId=" + instanceId;

    document.getElementsByTagName("body").item(0).appendChild( scriptElm);
  }

  return {
      showPoll: function() {
        document.write( pollHtml);
      },

      submit: function() {
        if (selectedOption != -1) {
          doSubmit();
        } else {
          this.showResults( pollResultsHtml);
        }
      },

      showResults: function( html) {
        document.getElementById("cc-poll-" + instanceId + "-replace").innerHTML = html;
      },

      selectAnswer: function(i) {
        selectedOption = i;
      }
  }
}();

ConstantContactPoll_a07e2h98xx1fs2q5uq1.showPoll();

