Index: /trunk/FACT++/www/index.js
===================================================================
--- /trunk/FACT++/www/index.js	(revision 13622)
+++ /trunk/FACT++/www/index.js	(revision 13623)
@@ -609,5 +609,5 @@
 
     $("body").setAttribute("data-visible", newz);
-    intervalSlide = setInterval(doShift, 75, oldz, newz);
+    intervalSlide = setInterval(function(){doShift(oldz,newz)}, 75);
 }
 
@@ -1041,9 +1041,9 @@
 }
 
+/**
+ * @constructor
+ */
 function position(s, ring, i)
 {
-    this.x = 0;
-    this.y = 0;
-
     switch (s)
     {
@@ -1055,5 +1055,4 @@
     case 0: this.x =  ring*0.5 + i*0.5;  this.y = -ring + i; break;
     }
-
     this.d = function() { return this.x*this.x + this.y*this.y*3/4; }
 }
