Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 17th, 2010 | Syntax: None | Size: 3.97 KB | Hits: 153 | Expires: Never
Copy text to clipboard
  1. <html>
  2. <head>
  3. <title>
  4. iSpaz the Evolution...
  5. <title>
  6. <style type="text/css">
  7.  body {
  8.   background-image: url("http://i104.piczo.com/view/3/0/g/8/y/k/n/s/r/7/6/9/img/t231591967_63524_2.gif");
  9.   background-position: 50% 50%;
  10.   background-repeat: repeat;
  11. }
  12.   </style>
  13.  
  14. </head>
  15. <body>
  16.  
  17.  
  18. <script>
  19.  
  20.  
  21.  
  22. A=document.getElementById
  23. B=document.all;
  24. C=document.layers;
  25. T1=new Array("http://imgcentre.com/img/uploads/big/acfe770715.gif",26,635,"http://imgcentre.com/img/uploads/big/36339d1f5f.gif",26,63,"http://imgcentre.com/img/uploads/big/6ef12d69f7.gif",26,63,"http://imgcentre.com/img/uploads/big/15ba869260.gif",26,63,"http://imgcentre.com/img/uploads/big/e61b33766a.gif",26,63,"http://imgcentre.com/img/uploads/big/64ea1026e8.gif",26,63)
  26.  
  27. var offsetx=15 //x offset of trail from mouse pointer
  28. var offsety=10 //y offset of trail from mouse pointer
  29.  
  30. nos=parseInt(T1.length/3)
  31. rate=50
  32. ie5fix1=0;
  33. ie5fix2=0;
  34. rightedge=B? document.body.clientWidth-T1[1] : window.innerWidth-T1[1]-20
  35. bottomedge=B? document.body.scrollTop+document.body.clientHeight-T1[2] : window.pageYOffset+window.innerHeight-T1[2]
  36.  
  37. for (i=0;i<nos;i++){
  38. createContainer("CUR"+i,i*10,i*10,i*3+1,i*3+2,"","<img src='"+T1[i*3]+"' width="+T1[(i*3+1)]+" height="+T1[(i*3+2)]+" border=0>")
  39. }
  40.  
  41. function createContainer(N,Xp,Yp,W,H,At,HT,Op,St){
  42. with (document){
  43. write((!A && !B) ? "<layer id='"+N+"' left="+Xp+" top="+Yp+" width="+W+" height="+H : "<div id='"+N+"'"+" style='position:absolute;left:"+Xp+"; top:"+Yp+"; width:"+W+"; height:"+H+"; ");
  44. if(St){
  45. if (C)
  46. write(" style='");
  47. write(St+";' ")
  48. }
  49. else write((A || B)?"'":"");
  50. write((At)? At+">" : ">");
  51. write((HT) ? HT : "");
  52. if (!Op)
  53. closeContainer(N)
  54. }
  55. }
  56.  
  57. function closeContainer(){
  58. document.write((A || B)?"</div>":"</layer>")
  59. }
  60.  
  61. function getXpos(N){
  62. if (A)
  63. return parseInt(document.getElementById(N).style.left)
  64. else if (B)
  65. return parseInt(B[N].style.left)
  66. else
  67. return C[N].left
  68. }
  69.  
  70. function getYpos(N){
  71. if (A)
  72. return parseInt(document.getElementById(N).style.top)
  73. else if (B)
  74. return parseInt(B[N].style.top)
  75. else
  76. return C[N].top
  77. }
  78.  
  79. function moveContainer(N,DX,DY){
  80. c=(A)? document.getElementById(N).style : (B)? B[N].style : (C)? C[N] : "";
  81. if (!B){
  82. rightedge=window.innerWidth-T1[1]-20
  83. bottomedge=window.pageYOffset+window.innerHeight-T1[2]
  84. }
  85. c.left=Math.min(rightedge, DX+offsetx);
  86. c.top=Math.min(bottomedge, DY+offsety);
  87. }
  88. function cycle(){
  89. //if (IE5)
  90. if (document.all&&window.print){
  91. ie5fix1=document.body.scrollLeft;
  92. ie5fix2=document.body.scrollTop;
  93. }
  94. for (i=0;i<(nos-1);i++){
  95. moveContainer("CUR"+i,getXpos("CUR"+(i+1)),getYpos("CUR"+(i+1)))
  96. }
  97. }
  98.  
  99. function newPos(e){
  100. moveContainer("CUR"+(nos-1),(B)?event.clientX+ie5fix1:e.pageX+2,(B)?event.clientY+ie5fix2:e.pageY+2)
  101. }
  102.  
  103. function getedgesIE(){
  104. rightedge=document.body.clientWidth-T1[1]
  105. bottomedge=document.body.scrollHeight-T1[2]
  106. }
  107.  
  108. if (B){
  109. window.onload=getedgesIE
  110. window.onresize=getedgesIE
  111. }
  112.  
  113. if(document.layers)
  114. document.captureEvents(Event.MOUSEMOVE)
  115. document.onmousemove=newPos
  116. setInterval("cycle()",rate)
  117. </script>
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. <br>
  139. <br>
  140.  
  141. <centre> <img src="http://imgcentre.com/img/uploads/big/274bc98c4c.gif" align="center" />
  142.  
  143. <br>
  144. <br>
  145. What happents when you combine BobbaLite and SickHotel?
  146. <br>
  147. Well apparently you get iSpaz. iSpaz is a new hotel which is opening <u>JUST</u> for you
  148. <br>
  149. iSpaz will be launching within a week. It will offer
  150. <br>
  151. <ul>
  152. <li>v26
  153. <li>Custom furni
  154. <li>Working v40(soon)
  155. <li>Custom Commands
  156. <li>VIP
  157. <li>Sick Forum
  158. <li>much much more ;P
  159. <br>
  160. <center>
  161. In The mean time hang tight...and subscribe to Am0s Gaming Channel on youtube.
  162. <br>
  163. If you subscribed send Blastedroof a message with you name and you will get 1000 extra credits as soon as we launch
  164. <Br>
  165. <a href="http://www.youtube.com/blastedroof">
  166. <img src="http://1.bp.blogspot.com/_xn2gmPb9TfM/So6GbZr_chI/AAAAAAAAFGQ/-nGb8V9zGnU/s400/Rss-256.png" />
  167. </a>
  168.  
  169. <br>
  170. Yours Truly
  171. <Br>
  172. Am0,Und3fined,Jay,Qurb
  173.  
  174. </body>
  175. </html>