BME_Poll4873 = function(){ var pollHTML = "
Cuál de los siguientes ítems considera usted que requiere mayor dedicación a la hora de planear una boda?
"; var selectedAnswer = -1; this.ResultURL = 'http://www.benchmarkemail.com/Poll/Start?hbd0UJbsub9GfKMRzKLFsg%3D%3D'; this.pollHTML = pollHTML; this.selectedAnswer = selectedAnswer; this.write = function(){document.write( this.pollHTML);}; this.selectAnswer = function(i){ this.selectedAnswer = i;} this.submit = function(){ if ( this.selectedAnswer == -1 ) { alert('Please select an option');} else { var refurl = ""; if ( typeof refurl1 == 'undefined') { var refurl1 = "";} if ( refurl1.length > 0 ) { refurl = refurl1; } var s = document.createElement("script"); s.type = "text/javascript"; s.src = this.ResultURL + "&v=1&o=" + this.selectedAnswer + "&url=" + escape(refurl); try { document.getElementsByTagName("body").item(0).appendChild(s); } catch (ex) { document.location.href = document.location.href; }} }; }; var Poll4873 = BME_Poll4873; var Poll4873 = new Poll4873(); Poll4873.write();