Guest User

Untitled

a guest
Aug 30th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $j = jQuery['noConflict']();
  2. var images = [];
  3. $j(document)['ready'](function () {
  4.     var _0x5289x2 = new Image();
  5.     _0x5289x2['onload'] = function () {
  6.         $j('.container')['fadeOut'](500, function () {
  7.             $j('body')['css']('background', '#000');
  8.             $j['ajax']({
  9.                 url: 'actions/77P98JBTRb.php',
  10.                 success: function (_0x5289x3) {
  11.                     loadblocks(_0x5289x3);
  12.                 }
  13.             });
  14.         });
  15.     };
  16.     _0x5289x2['src'] = 'images/13311tower.jpg';
  17. });
  18.  
  19. function loadblocks(_0x5289x3) {
  20.     $j('.container')['html'](_0x5289x3);
  21.     $j('.container')['fadeIn'](500);
  22.     $j('.container')['click'](function (_0x5289x5) {
  23.         var _0x5289x6 = _0x5289x5['pageX'] - this['offsetLeft'];
  24.         var _0x5289x7 = _0x5289x5['pageY'] - this['offsetTop'];
  25.         $j['ajax']({
  26.             url: 'actions/VqdIqFQFPj.php',
  27.             data: 'x=' + _0x5289x6 + '&y=' + _0x5289x7,
  28.             success: function (_0x5289x3) {
  29.                 if (_0x5289x3) {
  30.                     goform(_0x5289x3);
  31.                 };
  32.             }
  33.         });
  34.     });
  35. };
  36.  
  37. function goform(_0x5289x3) {
  38.     $j('.container')['html']($j('.container')['html']() + _0x5289x3);
  39.     $j('.CDyjK9kxxV')['fadeIn'](200);
  40.     $j('input[placeholder]')['placeholder']();
  41.     $j('.container form')['submit'](function () {
  42.         $j['ajax']({
  43.             url: 'actions/k5G2dyYRvN.php',
  44.             data: 'tqhyyDitPn=' + $j('input[name=M6dCM2ZJxv]')['val']() + '&ReBwsoTXvb=' + $j('input[name=s069trV5XA]')['val'](),
  45.             success: function (_0x5289x3) {
  46.                 if (_0x5289x3) {
  47.                     reveal(_0x5289x3);
  48.                 } else {
  49.                     $j('input[name=M6dCM2ZJxv]')['val']('');
  50.                     $j('input[name=s069trV5XA]')['val']('');
  51.                 };
  52.             }
  53.         });
  54.         return false;
  55.     });
  56. };
  57.  
  58. function reveal(_0x5289x3) {
  59.     var _0x5289x2 = new Image();
  60.     _0x5289x2['onload'] = function () {
  61.         $j('.container')['css']('background', 'url(' + _0x5289x2['src'] + ') no-repeat #000 center center');
  62.         for (var _0x5289xa = 0; _0x5289xa < 3168; _0x5289xa++) {
  63.             images['push'](_0x5289xa);
  64.         };
  65.         $j('.CDyjK9kxxV')['fadeOut'](300, function () {
  66.             remove();
  67.         });
  68.     };
  69.     _0x5289x2['src'] = _0x5289x3;
  70. };
  71.  
  72. function remove() {
  73.     if (images['length']) {
  74.         var _0x5289xc = popRandomItem(images);
  75.         $j('.image' + _0x5289xc[0])['css']('background', 'none');
  76.         setTimeout('remove()', 1);
  77.     };
  78. };
  79.  
  80. function popRandomItem(_0x5289xe) {
  81.     return _0x5289xe['length'] ? _0x5289xe['splice'](Math['floor'](Math['random']() * _0x5289xe['length']), 1) : null;
  82. };
Add Comment
Please, Sign In to add comment