Index: /trunk/FACT++/www/smartfact/index.js
===================================================================
--- /trunk/FACT++/www/smartfact/index.js	(revision 13869)
+++ /trunk/FACT++/www/smartfact/index.js	(revision 13870)
@@ -414,6 +414,7 @@
     div3.setAttribute("style", "background-position:-575px 50%;");
     div4.setAttribute("style", "display:none;background-position:-12px -12px;");
-    div3.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('fact', z, -z); }
-    div2.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage(fname, z, -dz); }
+    div3.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('fact',  z,  -z); }
+    div2.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage(fname,   z, -dz); }
+    div4.onclick = function() { this.style.backgroundColor='rgba(0,0,0,0.77)'; loadPage('error', z,  +1); }
 
     var sp0 = document.createElement("span");
@@ -970,5 +971,5 @@
     date2.setTime(header[0]);
 
-    $("warn"+z).style.display = header.length!=2 || header[1]=='1' ? "none" : "";
+    $("warn"+z).style.display = header.length!=2 || header[1]=='0' ? "none" : "";
 
     strike(time, date2.getTime()+60000>date1.getTime());
@@ -1038,5 +1039,5 @@
     {
         // invalidate?
-        timeoutGraphics = setTimeout(refresh_graphics, 1000);
+        timeoutGraphics = setTimeout(refresh_graphics, 3000);
         return;
     }
@@ -1274,6 +1275,8 @@
 
     var unit = canv.getAttribute("data-data");//.split("/");
-    unit = unit.replace("&deg;", "\u00B0");
-    unit = unit.replace("&deg;", "\u00B5");
+    unit = unit.replace("&deg;",   "\u00B0");
+    unit = unit.replace("&micro;", "\u00B5");
+    unit = unit.replace("&sup2;",  "\u00B2");
+    unit = unit.replace("&sup3;",  "\u00B3");
 
     var min = data[3]+unit
@@ -1318,4 +1321,6 @@
     unit = unit.replace("&deg;",   "\u00B0");
     unit = unit.replace("&micro;", "\u00B5");
+    unit = unit.replace("&sup2;",  "\u00B2");
+    unit = unit.replace("&sup3;",  "\u00B3");
 
     var umin = vals[1]+unit;
