Guest User

Untitled

a guest
Apr 7th, 2013
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.   function createButton(context, func)
  3.   {
  4.    var button = document.createElement("input");
  5.     button.type = "button";
  6.     button.align="right"
  7.     button.value = "Zobacz kto wygrał";
  8.     button.onclick = func;
  9.     context.appendChild(button);
  10.  
  11.   }
  12.   jsvar = '<?= $rekord[44] ?>';
  13.    if (jsvar =='1 vs 1')
  14.     {
  15.      window.onload = function()
  16.      {
  17.       createButton(document.body, function()
  18.        {
  19.         alert('<?= $rekord[47] ?>');
  20.         highlight(this.parentNode.childNotes[1]);
  21.        });
  22.      }
  23.     }
  24.  </script>
RAW Paste Data