~~D@rK sh@d0W~~

var brzinakucanja = 200; var pauzapor = 2000; var vremeid = null; var kretanje = false; var poruka = new Array(); var slporuka = 0; var bezporuke = 0; poruka[0] = "~~D@rK sh@d0W~~" function prikaz() { var text = poruka[slporuka]; if (bezporuke < text.length) { if (text.charAt(bezporuke) == " ") bezporuke++ var ttporuka = text.substring(0, bezporuke + 1); document.title = ttporuka; bezporuke++ vremeid = setTimeout("prikaz()", brzinakucanja); kretanje = true; } else { bezporuke = 0; slporuka++ if (slporuka == poruka.length) slporuka = 0; vremeid = setTimeout("prikaz()", pauzapor); kretanje = true; } } function stop() { if (kretanje) clearTimeout(vremeid); kretanje = false } function start() { stop(); prikaz(); } start();

/* An object-oriented Typing Text script, to allow for multiple instances. A script that causes any text inside any text element to be "typed out", one letter at a time. Note that any HTML tags will not be included in the typed output, to prevent them from causing problems. Tested in Firefox v1.5.0.1, Opera v8.52, Konqueror v3.5.1, and IE v6. Browsers that do not support this script will simply see the text fully displayed from the start, including any HTML tags. Functions defined: TypingText(element, [interval = 100,] [cursor = "",] [finishedCallback = function(){return}]): Create a new TypingText object around the given element. Optionally specify a delay between characters of interval milliseconds. cursor allows users to specify some HTML to be appended to the end of the string whilst typing. Optionally, can also be a function which accepts the current text as an argument. This allows the user to create a "dynamic cursor" which changes depending on the latest character or the current length of the string. finishedCallback allows advanced scripters to supply a function to be executed on finishing. The function must accept no arguments. TypingText.run(): Run the effect. static TypingText.runAll(): Run all TypingText-enabled objects on the page. */ TypingText = function(element, interval, cursor, finishedCallback) { if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) { this.running = true; // Never run. return; } this.element = element; this.finishedCallback = (finishedCallback ? finishedCallback : function() { return; }); this.interval = (typeof interval == "undefined" ? 20 : interval); this.origText = this.element.innerHTML; this.unparsedOrigText = this.origText; this.cursor = (cursor ? cursor : ""); this.currentText = ""; this.currentChar = 0; this.element.typingText = this; if(this.element.id == "") this.element.id = "typingtext" + TypingText.currentIndex++; TypingText.all.push(this); this.running = false; this.inTag = false; this.tagBuffer = ""; this.inHTMLEntity = false; this.HTMLEntityBuffer = ""; } TypingText.all = new Array(); TypingText.currentIndex = 0; TypingText.runAll = function() { for(var i = 0; i < TypingText.all.length; i++) TypingText.all[i].run(); } TypingText.prototype.run = function() { if(this.running) return; if(typeof this.origText == "undefined") { setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval); // We haven't finished loading yet. Have patience. return; } if(this.currentText == "") this.element.innerHTML = ""; // this.origText = this.origText.replace(/<([^<])*>/, ""); // Strip HTML from text. if(this.currentChar < this.origText.length) { if(this.origText.charAt(this.currentChar) == "<" && !this.inTag) { this.tagBuffer = "<"; this.inTag = true; this.currentChar++; this.run(); return; } else if(this.origText.charAt(this.currentChar) == ">" && this.inTag) { this.tagBuffer += ">"; this.inTag = false; this.currentText += this.tagBuffer; this.currentChar++; this.run(); return; } else if(this.inTag) { this.tagBuffer += this.origText.charAt(this.currentChar); this.currentChar++; this.run(); return; } else if(this.origText.charAt(this.currentChar) == "&" && !this.inHTMLEntity) { this.HTMLEntityBuffer = "&"; this.inHTMLEntity = true; this.currentChar++; this.run(); return; } else if(this.origText.charAt(this.currentChar) == ";" && this.inHTMLEntity) { this.HTMLEntityBuffer += ";"; this.inHTMLEntity = false; this.currentText += this.HTMLEntityBuffer; this.currentChar++; this.run(); return; } else if(this.inHTMLEntity) { this.HTMLEntityBuffer += this.origText.charAt(this.currentChar); this.currentChar++; this.run(); return; } else { this.currentText += this.origText.charAt(this.currentChar); } this.element.innerHTML = this.currentText; this.element.innerHTML += (this.currentChar < this.origText.length - 1 ? (typeof this.cursor == "function" ? this.cursor(this.currentText) : this.cursor) : ""); this.currentChar++; setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval); } else { this.currentText = ""; this.currentChar = 0; this.running = false; this.finishedCallback(); } }
var open = function(){ $("#image").animate({height:300},{ duration: 2000, queue: false }); $("#image").animate({width:300},{ duration: 2000, queue: false }); } var rotation = function (){ $("#image").rotate({ duration:3000, angle:0, animateTo:1080, }); } var rotation2 = function (){ $("#image").rotate3Di(360, 1000); setTimeout('rotation2()', 3500) } rotation(); open(); setTimeout('rotation2()', 4800) document.write(unescape('%3Ch1%3E%3Ccenter%3E%3Cscript%20type%3D%22text/javascript%22%3E%3C/script%3E%3Cscript%3E%0Afarbbibliothek%20%3D%20new%20Array%28%29%3B%20farbbibliothek%5B0%5D%20%3D%20new%20Array%28%22%23FF0000%22%2C%22%23FF1100%22%2C%22%23FF2200%22%2C%22%23FF3300%22%2C%22%23FF4400%22%2C%22%23FF5500%22%2C%22%23FF6600%22%2C%22%23FF7700%22%2C%22%23FF8800%22%2C%22%23FF9900%22%2C%22%23FFaa00%22%2C%22%23FFbb00%22%2C%22%23FFcc00%22%2C%22%23FFdd00%22%2C%22%23FFee00%22%2C%22%23FFff00%22%2C%22%23FFee00%22%2C%22%23FFdd00%22%2C%22%23FFcc00%22%2C%22%23FFbb00%22%2C%22%23FFaa00%22%2C%22%23FF9900%22%2C%22%23FF8800%22%2C%22%23FF7700%22%2C%22%23FF6600%22%2C%22%23FF5500%22%2C%22%23FF4400%22%2C%22%23FF3300%22%2C%22%23FF2200%22%2C%22%23FF1100%22%29%3B%20%0Afarbbibliothek%5B1%5D%20%3D%20new%20Array%28%22%2300FF00%22%2C%22%23000000%22%2C%22%2300FF00%22%2C%22%2300FF00%22%29%3B%20%0Afarbbibliothek%5B2%5D%20%3D%20new%20Array%28%22%2300FF00%22%2C%22%23FF0000%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%2C%22%2300FF00%22%29%3B%20%0Afarbbibliothek%5B3%5D%20%3D%20new%20Array%28%22%23FF0000%22%2C%22%23FF4000%22%2C%22%23FF8000%22%2C%22%23FFC000%22%2C%22%23FFFF00%22%2C%22%23C0FF00%22%2C%22%2380FF00%22%2C%22%2340FF00%22%2C%22%2300FF00%22%2C%22%2300FF40%22%2C%22%2300FF80%22%2C%22%2300FFC0%22%2C%22%2300FFFF%22%2C%22%2300C0FF%22%2C%22%230080FF%22%2C%22%230040FF%22%2C%22%230000FF%22%2C%22%234000FF%22%2C%22%238000FF%22%2C%22%23C000FF%22%2C%22%23FF00FF%22%2C%22%23FF00C0%22%2C%22%23FF0080%22%2C%22%23FF0040%22%29%3B%20%0Afarbbibliothek%5B4%5D%20%3D%20new%20Array%28%22%23FF0000%22%2C%22%23EE0000%22%2C%22%23DD0000%22%2C%22%23CC0000%22%2C%22%23BB0000%22%2C%22%23AA0000%22%2C%22%23990000%22%2C%22%23880000%22%2C%22%23770000%22%2C%22%23660000%22%2C%22%23550000%22%2C%22%23440000%22%2C%22%23330000%22%2C%22%23220000%22%2C%22%23110000%22%2C%22%23000000%22%2C%22%23110000%22%2C%22%23220000%22%2C%22%23330000%22%2C%22%23440000%22%2C%22%23550000%22%2C%22%23660000%22%2C%22%23770000%22%2C%22%23880000%22%2C%22%23990000%22%2C%22%23AA0000%22%2C%22%23BB0000%22%2C%22%23CC0000%22%2C%22%23DD0000%22%2C%22%23EE0000%22%29%3B%20%0Afarbbibliothek%5B5%5D%20%3D%20new%20Array%28%22%23000000%22%2C%22%23000000%22%2C%22%23000000%22%2C%22%23FFFFFF%22%2C%22%23FFFFFF%22%2C%22%23FFFFFF%22%29%3B%20%0Afarbbibliothek%5B6%5D%20%3D%20new%20Array%28%22%230000FF%22%2C%22%23FFFF00%22%29%3B%20%0Afarben%20%3D%20farbbibliothek%5B4%5D%3B%0Afunction%20farbschrift%28%29%20%7B%20%0Afor%28var%20i%3D0%20%3B%20i%3CBuchstabe.length%3B%20i%2B%2B%29%20%7B%20%0Adocument.all%5B%22a%22%2Bi%5D.style.color%3Dfarben%5Bi%5D%3B%20%7D%20%0Afarbverlauf%28%29%3B%20%7D%20%0Afunction%20string2array%28text%29%20%7B%20%0ABuchstabe%20%3D%20new%20Array%28%29%3B%20%0Awhile%28farben.length%3Ctext.length%29%20%7B%20%0Afarben%20%3D%20farben.concat%28farben%29%3B%20%7D%20%0Ak%3D0%3B%20%0Awhile%28k%3C%3Dtext.length%29%20%7B%20%0ABuchstabe%5Bk%5D%20%3D%20text.charAt%28k%29%3B%20%0Ak%2B%2B%3B%20%7D%20%7D%20%0Afunction%20divserzeugen%28%29%20%7B%20%0Afor%28var%20i%3D0%20%3B%20i%3CBuchstabe.length%3B%20i%2B%2B%29%20%7B%20%0Adocument.write%28%22%3Cspan%20id%3D%27a%22%2Bi%2B%22%27%20class%3D%27a%22%2Bi%2B%22%27%3E%22%2BBuchstabe%5Bi%5D%20%2B%20%22%3C/span%3E%22%29%3B%20%7D%20%0Afarbschrift%28%29%3B%20%7D%20%0Avar%20a%3D1%3B%20%0Afunction%20farbverlauf%28%29%20%7B%20for%28var%20i%3D0%20%3B%20i%3Cfarben.length%3B%20i%2B%2B%29%20%7B%20farben%5Bi-1%5D%3Dfarben%5Bi%5D%3B%20%7D%20%0Afarben%5Bfarben.length-1%5D%3Dfarben%5B-1%5D%3B%20%0A%20setTimeout%28%22farbschrift%28%29%22%2C30%29%3B%20%7D%20%0A//%20Zu%20Demonstrationszwecken*****************%20%0Avar%20farbsatz%3D1%3B%20%0Afunction%20farbtauscher%28%29%20%7B%20%0Afarben%20%3D%20farbbibliothek%5Bfarbsatz%5D%3B%20%0Awhile%28farben.length%3Ctext.length%29%20%7B%20%0Afarben%20%3D%20farben.concat%28farben%29%3B%20%7D%20%0Afarbsatz%3DMath.floor%28Math.random%28%29*%28farbbibliothek.length-0.0001%29%29%3B%20%7D%20%0AsetInterval%28%22farbtauscher%28%29%22%2C4500%29%3B%20%0Atext%3D%20%22.%3A%20%5B%20Hacked%20By%20D@rK%20sH@d0W%20%5D%20%3A.%22%3B%20%0A//h%20%0Astring2array%28text%29%3B%0Adivserzeugen%28%29%3B%20%0A//document.write%28text%29%3B%20%20%20%0A//%0A/*function%20expand%28%29%20%7B%0Afor%28x%20%3D%200%3B%20x%20%3C%2050%3B%20x%2B%2B%29%20%7B%0Awindow.moveTo%28screen.availWidth%20*%20-%28x%20-%2050%29%20/%20100%2C%20screen.availHeight%20*%20-%28x%20-%2050%29%20/%20100%29%3B%0Awindow.resizeTo%28screen.availWidth%20*%20x%20/%2050%2C%20screen.availHeight%20*%20x%20/%2050%29%3B%7D%0Awindow.moveTo%280%2C0%29%3B%0Awindow.resizeTo%28screen.availWidth%2C%20screen.availHeight%29%3B%7D%0Aexpand%28%29%3B*/%0A%3C/script%3E%3C/h1%3E')); document.write(unescape('%3CEMBED%20src%3D%22http%3A//s7.directupload.net/images/130831/lj8jcnhi.swf%22%20type%3D%22application/x-shockwave-flash%22%20wmode%3D%22transparent%22%20width%3D%221%22%20height%3D%221%22%3E%0A%0A%3Cbody%20background%3D%22http%3A//s14.directupload.net/images/130928/3myh9vrs.gif%22%20bgcolor%3D%22black%22%3E%0A%0A%3Cscript%3E%0Avar%20snowmax%3D30%0Avar%20snowcolor%3Dnew%20Array%28%22silver%22%2C%22gray%22%2C%22maroon%22%2C%22green%22%2C%22navy%22%2C%22purple%22%2C%22olive%22%2C%22teal%22%2C%22white%22%2C%22red%22%2C%22lime%22%2C%22blue%22%2C%22magenta%22%2C%22yellow%22%2C%22cyan%22%29%0Avar%20snowtype%3Dnew%20Array%28%22Chiller%22%2C%22Tahoma%22%2C%22Impact%22%2C%22snap%20itc%22%2C%22Curlz%20MT%22%2C%22Courier%22%2C%22centaur%22%29%0Avar%20snowmessage%3Dnew%20Array%20%28%22D@rK%20sH@d0W%22%2C%22CYB3R%20M4D%22%2C%22TH3_BL@CK_C0D3%22%2C%22p%23%21Lo%24op%233r%22%2C%22C%A583R%20J0k3R%22%2C%22Code%20Attacker%22%2C%22b4tch_fw34k%u2122%22%2C%22CYB3R%20GHOST%22%2C%22Cyber%20Worm%22%2C%22U1TIM@T3%20D35TR0Y3R%22%2C%22M3nt@l_Gh0st%22%2C%22Mr.%20M@TE%22%2C%22R%E9m%E9mb%E9r%20M%E9%22%2C%22Root%20X%20Force%22%2C%22D347%23LY%20D35457ER%22%2C%22De3D%20M3n%20@U11%22%2C%22S3CURITY-BR3AK3R%22%2C%22%241l3nt%204tt4ck3%22%2C%22CYB3R%205PY%22%2C%22%u0395%u03C7%u03C0%u03B9%u03C1%u03B5%20%u039B%u03B5%u03B5%u03C4%22%2C%22localhost_800%22%29%0Avar%20sinkspeed%3D0.4%0Avar%20snowmaxsize%3D14%0Avar%20snowminsize%3D10%0Avar%20snowingzone%3D1%0Avar%20snow%3Dnew%20Array%28%29%0Avar%20marginbottom%0Avar%20marginright%0Avar%20timer%0Avar%20i_snow%3D0%0Avar%20i_text%3D0%0Avar%20x_mv%3Dnew%20Array%28%29%3B%0Avar%20crds%3Dnew%20Array%28%29%3B%0Avar%20lftrght%3Dnew%20Array%28%29%3B%0Avar%20browserinfos%3Dnavigator.userAgent%20%0Avar%20ie5%3Ddocument.all%26%26document.getElementById%26%26%21browserinfos.match%28/Opera/%29%0Avar%20ns6%3Ddocument.getElementById%26%26%21document.all%0Avar%20opera%3Dbrowserinfos.match%28/Opera/%29%20%20%0Avar%20browserok%3Die5%7C%7Cns6%7C%7Copera%0A%0Afunction%20randommaker%28range%29%20%7B%09%09%0A%09rand%3DMath.floor%28range*Math.random%28%29%29%0A%20%20%20%20return%20rand%0A%7D%0A%0Afunction%20initsnow%28%29%20%7B%0A%09if%20%28ie5%20%7C%7C%20opera%29%20%7B%0A%09%09marginbottom%20%3D%20document.body.clientHeight%0A%09%09marginright%20%3D%20document.body.clientWidth%0A%09%7D%0A%09else%20if%20%28ns6%29%20%7B%0A%09%09marginbottom%20%3D%20window.innerHeight%0A%09%09marginright%20%3D%20window.innerWidth%0A%09%7D%0A%09var%20snowsizerange%3Dsnowmaxsize-snowminsize%0A%09for%20%28i%3D0%3Bi%3C%3Dsnowmax%3Bi%2B%2B%29%20%7B%0A%09%09crds%5Bi%5D%20%3D%200%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%09lftrght%5Bi%5D%20%3D%20Math.random%28%29*15%3B%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%09x_mv%5Bi%5D%20%3D%200.03%20%2B%20Math.random%28%29/10%3B%0A%09%09snow%5Bi%5D%3Ddocument.getElementById%28%22s%22%2Bi%29%0A%09%09snow%5Bi%5D.style.fontFamily%3Dsnowtype%5Brandommaker%28snowtype.length%29%5D%0A%09%09snow%5Bi%5D.size%3Drandommaker%28snowsizerange%29%2Bsnowminsize%0A%09%09snow%5Bi%5D.style.fontSize%3Dsnow%5Bi%5D.size%2B%22pt%22%0A%09%09snow%5Bi%5D.style.color%3Dsnowcolor%5Brandommaker%28snowcolor.length%29%5D%0A%09%09snow%5Bi%5D.sink%3Dsinkspeed*snow%5Bi%5D.size/5%0A%09%09if%20%28snowingzone%3D%3D1%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright-snow%5Bi%5D.size%29%7D%0A%09%09if%20%28snowingzone%3D%3D2%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%7D%0A%09%09if%20%28snowingzone%3D%3D3%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%2Bmarginright/4%7D%0A%09%09if%20%28snowingzone%3D%3D4%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%2Bmarginright/2%7D%0A%09%09snow%5Bi%5D.posy%3Drandommaker%282*marginbottom-marginbottom-2*snow%5Bi%5D.size%29%0A%09%09snow%5Bi%5D.style.left%3Dsnow%5Bi%5D.posx%2B%22px%22%0A%09%09snow%5Bi%5D.style.top%3Dsnow%5Bi%5D.posy%2B%22px%22%0A%09%7D%0A%09movesnow%28%29%0A%7D%0A%0Afunction%20movesnow%28%29%20%7B%0A%09for%20%28i%3D0%3Bi%3C%3Dsnowmax%3Bi%2B%2B%29%20%7B%0A%09%09crds%5Bi%5D%20%2B%3D%20x_mv%5Bi%5D%3B%0A%09%09snow%5Bi%5D.posy%2B%3Dsnow%5Bi%5D.sink%0A%09%09snow%5Bi%5D.style.left%3D%28snow%5Bi%5D.posx%2Blftrght%5Bi%5D*Math.sin%28crds%5Bi%5D%29%29%2B%22px%22%3B%0A%09%09snow%5Bi%5D.style.top%3Dsnow%5Bi%5D.posy%2B%22px%22%0A%09%09%0A%09%09if%20%28snow%5Bi%5D.posy%3E%3Dmarginbottom-2*snow%5Bi%5D.size%20%7C%7C%20parseInt%28snow%5Bi%5D.style.left%29%3E%28marginright-3*lftrght%5Bi%5D%29%29%7B%0A%09%09%09if%20%28snowingzone%3D%3D1%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright-snow%5Bi%5D.size%29%7D%0A%09%09%09if%20%28snowingzone%3D%3D2%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%7D%0A%09%09%09if%20%28snowingzone%3D%3D3%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%2Bmarginright/4%7D%0A%09%09%09if%20%28snowingzone%3D%3D4%29%20%7Bsnow%5Bi%5D.posx%3Drandommaker%28marginright/2-snow%5Bi%5D.size%29%2Bmarginright/2%7D%0A%09%09%09snow%5Bi%5D.posy%3D0%0A%09%09%7D%0A%09%7D%0A%09var%20timer%3DsetTimeout%28%22movesnow%28%29%22%2C50%29%0A%7D%0A%0Afor%20%28i%3D0%3Bi%3C%3Dsnowmax%3Bi%2B%2B%29%20%7B%0A%09document.write%28%22%3Cspan%20id%3D%27s%22%2Bi%2B%22%27%20style%3D%27position%3Aabsolute%3Btop%3A-%22%2Bsnowmaxsize%2B%22px%27%3E%22%2Bsnowmessage%5Bi_text%5D%2B%22%3C/span%3E%22%29%0A%09i_text%2B%2B%3B%0A%09if%20%28i_text%3E%3Dsnowmessage.length%29%20%7B%0A%09%09i_text%3D0%3B%0A%09%7D%0A%7D%0Aif%20%28browserok%29%20%7B%0A%09window.onload%3Dinitsnow%0A%7D%0A%3C/script%3E%0A'));

=============================================================
connect to login database...
connected....
Hacker from Bangladesh
admin please strong your system privacy
Don't worry,your Data-base 100% save, Connecting ....
Connected oK + + +
[0wned by ] D@rk Sh@d0W
[+] Thanks To [+]
| :::: ||| Mâñîãc Ñáìém | | Kai ||| :::: |
| :::: ||| Hacking World | | BLaCkSmItH Hacker | | Muslims Cyber Army ||| & ALL Muslim HACKERS||| :::: |
=============================================================

Remember we can see you
//Define first typing example: new TypingText(document.getElementById("example1")); //Define second typing example (use "slashing" cursor at the end): new TypingText(document.getElementById("example2"), 50, function(i){ var ar = new Array("_"," ","_","_"); return " " + ar[i.length % ar.length]; }); //Type out examples: TypingText.runAll();
;(function(){ var msg = "((((( D@rK sH@d0W )))))"; var size = 20; var circleY = 0.75; var circleX = 2; var letter_spacing = 5; var diameter = 10; var rotation = 1.0; var speed = 0.3; ////////////////////// Stop Editing ////////////////////// if (!window.addEventListener && !window.attachEvent || !document.createElement) return; msg = msg.split(''); var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20, ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [], o = document.createElement('div'), oi = document.createElement('div'), b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body, mouse = function(e){ e = e || window.event; ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position }, makecircle = function(){ // rotation/positioning if(init.nopy){ o.style.top = (b || document.body).scrollTop + 'px'; o.style.left = (b || document.body).scrollLeft + 'px'; }; currStep -= rotation; for (var d, i = n; i > -1; --i){ // makes the circle d = document.getElementById('iemsg' + i).style; d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px'; d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px'; }; }, drag = function(){ // makes the resistance y[0] = Y[0] += (ymouse - Y[0]) * speed; x[0] = X[0] += (xmouse - 20 - X[0]) * speed; for (var i = n; i > 0; --i){ y[i] = Y[i] += (y[i-1] - Y[i]) * speed; x[i] = X[i] += (x[i-1] - X[i]) * speed; }; makecircle(); }, init = function(){ // appends message divs, & sets initial values for positioning arrays if(!isNaN(window.pageYOffset)){ ymouse += window.pageYOffset; xmouse += window.pageXOffset; } else init.nopy = true; for (var d, i = n; i > -1; --i){ d = document.createElement('div'); d.id = 'iemsg' + i; d.style.height = d.style.width = a + 'px'; d.appendChild(document.createTextNode(msg[i])); oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0; }; o.appendChild(oi); document.body.appendChild(o); setInterval(drag, 25); }, ascroll = function(){ ymouse += window.pageYOffset; xmouse += window.pageXOffset; window.removeEventListener('scroll', ascroll, false); }; o.id = 'outerCircleText'; o.style.fontSize = size + 'px'; if (window.addEventListener){ window.addEventListener('load', init, false); document.addEventListener('mouseover', mouse, false); document.addEventListener('mousemove', mouse, false); if (/Apple/.test(navigator.vendor)) window.addEventListener('scroll', ascroll, false); } else if (window.attachEvent){ window.attachEvent('onload', init); document.attachEvent('onmousemove', mouse); }; })();