<!-- präsentiert von kostenlose-javascripts.de -->
<script type='text/javascript'>
<!--
csx = 430;
csy = 250;
//Anzahl der Bälle:
nb = 99;
//Anzahl der Spulen:
c = 150;
//Radius des Balls:
r = 170;
//Geschwindigkeit
s = 1.4;
//für die Geschwindigkeit...
pi = Math.PI;
pic = pi*c;
pic2 = 2*pi*c;
// insertAdjacentHTML(), insertAdjacentText() and insertAdjacentElement ()
// for Netscape 6/Mozilla by Thor Larholm me (at) jscript.dk
// Usage: include this code segment at the beginning of your document
// before any other Javascript contents.
if(typeof HTMLElement!="undefined" && !HTMLElement.prototype.insertAdjacentElement){
HTMLElement.prototype.insertAdjacentElement = function (where,parsedNode)
{
switch (where){
case 'beforeBegin':
this.parentNode.insertBefore(parsedNode,this)
break;
case 'AfterBegin':
this.insertBefore(parsedNode,this.firstChild);
break;
case 'beforeEnd':
this.appendChild(parsedNode);
break;
case 'afterEnd':
if (this.nextSibling)
this.parentNode.insertBefore(parsedNode,this.nextSibling);
else this.parentNode.appendChild(parsedNode);
break;
}
}
HTMLElement.prototype.insertAdjacentHTML = function(where,htmlStr)
{
var r = this.ownerDocument.createRange();
r.setStartBefore(this);
var parsedHTML = r.createContextualFragment(htmlStr);
this.insertAdjacentElement(where,parsedHTML);
}
}