');
+ url=data1[1];
+ ext=data1[2];
+ urlparts=url.split('.');
+ mime=urlparts[urlparts.length-1];
+ if (typeof(mime)=="undefined") { mime=''; }
+ if ((mime!='') && (ext!='true')) {
+ parent.mapout.document.write
+ (' '+
+ ' ');
+ }
+ parent.mapout.document.write(''+k+' | ');
data2=obj[i].split('&');
parent.mapout.document.write('');
+
+ if (data1[3]=='start') {
+ parent.mapout.document.writeln('Start | ');
+ }
+ if (data1[3]=='finish') {
+ parent.mapout.document.writeln('Finish | ');
+ }
parent.mapout.document.write(
'Title: | '+data1[0]+' | ');
parent.mapout.document.write(
@@ -1881,9 +2316,8 @@ function simpletabledraw() {
}
// ---------------------------------- Sort objects to straighten graph or table
-
function sortobjs() {
- message("Sorting Resources");
+ message("Sorting Resources: "+funny);
var k;
var ij;
var dol;
@@ -1901,7 +2335,9 @@ function sortobjs() {
}
if (objsort.length==0) { return ''; }
for (k=1;kallcolmax) { allcolmax=thiscolmax; }
thiscolmax=1;
}
kj=rowcont.length-1;
- obj[thisnewobj]='b&'+kj+'&'+thiscolmax+':0:0:0';
+ obj[thisnewobj]='b&'+kj+'&'+thiscolmax+':0:0:0';
+ if (thiscolmax>allcolmax) { allcolmax=thiscolmax; }
}
for (k=0;k');
var k;
for (k=0;k');
+ data2=data1[k].split(':').join(':').split('<:>');
if (data2[0]=='graphdef') { graphdef=data2[1]; }
if (data2[0]=='maxcol') { maxcol=1*data2[1]; }
if (data2[0]=='maxrow') { maxrow=1*data2[1]; }
if (data2[0]=='obj') { obj[data2[1]]=data2[2]; }
if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; }
if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; }
+ if (data2[0]=='objparms') {
+ if (typeof(objparms[data2[1]])=="undefined") {
+ objparms[data2[1]]=data2[2];
+ } else {
+ objparms[data2[1]]+=':'+data2[2];
+ }
+ }
if (data2[0]=='rowcont') { rowcont[data2[1]]=data2[2]; }
if (data2[0]=='row') { row[data2[1]]=1*data2[2]; }
if (data2[0]=='col') { col[data2[1]]=1*data2[2]; }
+ if (data2[0]=='mode') { mode=data2[1]; }
if (data2[0]=='tablemode') { tablemode=1*data2[1]; }
if (data2[0]=='zscale') { zscale=1*data2[1]; }
}
}
+ if (graphdef=='yes') {
+ for (k=1;k<=maxrow;k++) {
+ if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; }
+ }
+ }
}
-// -------------------------------------------------------------- Undo function
+// -------------------------------------------------------------- Parameter set
+function setparms(resid) {
+ var options="scrollbars=1,resizable=1,menubar=0";
+ parmflag=1;
+ data1=objcont[resid].split(':');
+ parm=open("/adm/ratparms?url="+data1[1]+"&parms="+objparms[resid]+
+ "&resid="+resid,"parmout",options);
+ parm.focus();
+}
+// -------------------------------------------------------------- Undo function
function undo() {
if (undopointer>1) {
undopointer--;
parent.server.document.forms.storage.output.value
=undostack[undopointer];
- load();
+ finishload();
undopointer--;
draw();
stored=0;
@@ -2077,13 +2548,12 @@ function undo() {
}
// -------------------------------------------------------------- Redo function
-
function redo() {
if (undopointer
-
-Toggle Display Mode
-Zoom Out
-Zoom In
-Condense
-Straighten
-Revert
-Undo
-Redo
-Store
+
+
+
-
-
-
-
-
|