[[embed]]<iframe src="http://ABCDE.wdfiles.com/local--code/inc:poll-prepend/1#\
[!--">
[[code type="html"]]
<html>
 <head><title>Wikidot Poll</title>
  <style type="text/css">
   @import url("http://www.wikidot.com/common--theme/base/css/style.css");
  </style>
 </head>
 <body>
  <script type="text/javascript">
 
   // (…#) ##full-page-name #prepend # append (#…)
   var url_params = /^[^#]*#((##[^#]*#[^#]*)*)#(.*)$/;
   var dom_params = /^([^#]*)\.wdfiles\.com/;
 
   var match = url_params.exec(unescape(window.location.href)); // #'s may be escaped (they may be written as %23 instead of #)
   var domain = dom_params.exec(window.location.host)[1];
   if (match) {
    var title_array = new Array();
    var page_array = new Array();
    var tmp_count = 0;
 
    match[1] = match[1] + '#';
 
    while (0<=match[1].search(/##/)) {
    title_array[tmp_count] = match[1].substring(2,match[1].search(/[^#]#/)+1);
    match[1] = match[1].substring(match[1].search(/[^#]#/)+2);
    page_array[tmp_count] = match[1].substring(0,match[1].search(/[^#]#/)+1);
    match[1] = match[1].substring(match[1].search(/[^#]#/)+1);
    tmp_count = tmp_count+1;
    }
 
    document.write('<h1>' + match[3] + '</h1><table>');
    for (tmp_count=0;tmp_count<=page_array.length-1;tmp_count++) {
        document.write('<tr><td>'+ (tmp_count+1) +')</td><td><strong>' + title_array[tmp_count] + '</strong></td><td>' + '<iframe src="http://' + domain + '.wikidot.com/' + page_array[tmp_count] + '?theme_url=/local--code/pollframework:_template" height="18px" width="200px" frameborder="0" scrolling="no" style="padding-bottom: -5px;"></iframe></td></tr>');
    }
    document.write('</table><br /><font size="-1">Poll powered by</font> <a href="http://www.wikidot.com"><img src="http://www.wikidot.com/common--images/navibar/logo20.png" alt="Wikidot.com" height="17px" style="margin-bottom: -3px;" /></a>');
 
   }
   else
    document.write('<i>(none)</i>');
  </script>
  <noscript>
   <i>(cannot count)</i>
  </noscript>
 </body>
</html>
[[/code]]
--]