Index: /trunk/FACT++/www/smartfact/index.js
===================================================================
--- /trunk/FACT++/www/smartfact/index.js	(revision 13697)
+++ /trunk/FACT++/www/smartfact/index.js	(revision 13698)
@@ -217,5 +217,5 @@
 {
     var xmlPage = new XMLHttpRequest();
-    xmlPage.open('POST', name+'.table', true);
+    xmlPage.open('POST', "struct/"+name+'.table', true);
     xmlPage.onload = function ()
     {
@@ -234,5 +234,5 @@
         //slideOut(name, xmlHttp.responseText);
         //displayPage(name, xmlHttp.responseText);
-            //onresize(true);
+        //onresize(true);
     };
 
@@ -801,5 +801,5 @@
 
     var xmlText = new XMLHttpRequest();
-    xmlText.open('POST', fname+'.txt', true);
+    xmlText.open('POST', "data/"+fname+'.txt', true);
     xmlText.onload = function ()
     {
@@ -919,8 +919,8 @@
         var cols = tokens[line].split('\t');
         for (var col=1; col<cols.length; col++)
-            form = form.replace("\$"+(col-1), cols[col].length==0 ? "--" : cols[col]);
+            form = form.replace("\$"+(col-1), cols[col].length==0 ? "&mdash;" : cols[col]);
 
         if (cols.length<=1)
-            form = "---";
+            form = "&mdash;";
 
         var newe = document.createElement("div");
@@ -952,5 +952,5 @@
 
     var xmlGfx = new XMLHttpRequest();
-    xmlGfx.open('POST', fname, true);
+    xmlGfx.open('POST', "data/"+fname, true);
     xmlGfx.onload = function()
     {
