Index: /trunk/FACT++/www/viewer/index.html
===================================================================
--- /trunk/FACT++/www/viewer/index.html	(revision 17799)
+++ /trunk/FACT++/www/viewer/index.html	(revision 17800)
@@ -491,6 +491,7 @@
 <tr><td>$.neighbors</td><td>Array of 1440 arrays each containing the corresponding neighbors</td></tr>
 <tr><td>$.map</td><td>Array of 1440 entries (software index) containing the hardware indices.</td></tr>
-<tr><td>$.geom</td><td>Array of 1440 entries. Each an array with two entries, x and y in degree. The pixel diameter is assumed to be 0.1111&deg;.</td></tr>
-<tr><td>$.dist(i,j)</td><td>Calculated the distance of two pixels in degree</td></tr>
+<tr><td>$.geom</td><td>Array of 1440 entries. Each an array with two entries, x and y. The distance between two neighbors is 1.</td></tr>
+<tr><td>$.dist(i,j)</td><td>Calculated the distance of two pixels in degree.</td></tr>
+<tr><td>$.conv</td><td>Conversion factor to convert geom and dist to degree.</td></tr>
 </table>
 
Index: /trunk/FACT++/www/viewer/internal.js
===================================================================
--- /trunk/FACT++/www/viewer/internal.js	(revision 17799)
+++ /trunk/FACT++/www/viewer/internal.js	(revision 17800)
@@ -1446,6 +1446,5 @@
 $.geom = (function()
 {
-    var convx = 0.1111;
-    var convy = convx*Math.sqrt(3)/2;
+    var s32 = Math.sqrt(3)/2;
 
     function Position(s, ring, i)
@@ -1466,5 +1465,5 @@
            return;
 
-        return [ x*convx, y*convy ];
+        return [ x, y*s32 ];
     }
 
@@ -1488,6 +1487,6 @@
     }
 
-    geom[map[1438]] = [ 7*convx, -22*convy ];
-    geom[map[1439]] = [ 7*convx,  22*convy ];
+    geom[map[1438]] = [ 7, -22*s32 ];
+    geom[map[1439]] = [ 7,  22*s32 ];
 
     return geom;
@@ -1501,2 +1500,4 @@
     return Math.sqrt(dx*dx + dy*dy);
 }
+
+$.conv = 0.1111;
