| ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.write('Condition (');
@@ -1457,7 +1450,7 @@ function info(infostr) {
ext=data2[2];
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
- if (mime==undefined) { mime=''; }
+ if (typeof(mime)=="undefined") { mime=''; }
if (ext=='true') { mime=''; }
if (mime!='') {
inf.document.write
@@ -1510,7 +1503,6 @@ function info(infostr) {
}
// ------------------------------------------------ "Escapes" out special chars
-
function escape(instring) {
var outstring='';
var thischar;
@@ -1518,7 +1510,7 @@ function escape(instring) {
for (k=0;k'+
- ' | ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.writeln('Condition ');
@@ -1737,8 +1712,6 @@ function handler(infostr) {
'opener.insertcondlink('+data1[1]+','+data1[3]+');'+
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw('
+');">Insert Resource Into Link');
-
-
} else {
if (data1[0]=='r') {
if (linkmode!=0) {
@@ -1845,7 +1818,6 @@ function handler(infostr) {
}
// ----------------------------------------------------- Clicks on empty fields
-
function empty(rid,k) {
var cid=findcol(k);
var lcol=k-1;
@@ -1858,7 +1830,7 @@ function empty(rid,k) {
inf.document.clear();
inf.document.writeln(
''+
- ' | '+
+ ' | '+
'Empty Field ');
inf.document.writeln(' Insert resource');
if ((mostrecent!=0) && (objcont[mostrecent]!='') &&
- (objcont[mostrecent]!=undefined)) {
+ (typeof(objcont[mostrecent])!="undefined")) {
inf.document.writeln('
| ');
url=data1[1];
+ ext=data1[2];
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
- if (mime==undefined) { mime=''; }
- if (mime!='') {
+ if (typeof(mime)=="undefined") { mime=''; }
+ if ((mime!='') && (ext!='true')) {
parent.mapout.document.write
(' '+
@@ -2199,7 +2169,6 @@ function tabledraw() {
}
// ----------------------------------------------------- Insert Resource Output
-
function insrestab(irow,be,af,typ) {
parent.mapout.document.writeln(' | '+
' | ');
url=data1[1];
+ ext=data1[2];
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
- if (mime==undefined) { mime=''; }
- if (mime!='') {
+ if (typeof(mime)=="undefined") { mime=''; }
+ if ((mime!='') && (ext!='true')) {
parent.mapout.document.write
(' '+
@@ -2342,7 +2316,6 @@ function simpletabledraw() {
}
// ---------------------------------- Sort objects to straighten graph or table
-
function sortobjs() {
message("Sorting Resources: "+funny);
var k;
@@ -2364,7 +2337,7 @@ function sortobjs() {
for (k=1;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]; }
@@ -2532,7 +2501,7 @@ function finishload() {
if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; }
if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; }
if (data2[0]=='objparms') {
- if (objparms[data2[1]]==undefined) {
+ if (typeof(objparms[data2[1]])=="undefined") {
objparms[data2[1]]=data2[2];
} else {
objparms[data2[1]]+=':'+data2[2];
@@ -2548,13 +2517,12 @@ function finishload() {
}
if (graphdef=='yes') {
for (k=1;k<=maxrow;k++) {
- if (rowcont[k]==undefined) { rowcont[k]=''; }
+ if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; }
}
}
}
// -------------------------------------------------------------- Parameter set
-
function setparms(resid) {
var options="scrollbars=1,resizable=1,menubar=0";
parmflag=1;
@@ -2565,7 +2533,6 @@ function setparms(resid) {
}
// -------------------------------------------------------------- Undo function
-
function undo() {
if (undopointer>1) {
undopointer--;
@@ -2581,7 +2548,6 @@ function undo() {
}
// -------------------------------------------------------------- Redo function
-
function redo() {
if (undopointer
-
-Toggle Display Mode
-Zoom Out
-Zoom In
-Condense
-Straighten
-Revert
-Undo
-Redo
-Group Search
-Group Import
-Save Map
+
+
+
|
|
|
|
|
|
|