'+
''
+'Insert resource | ');
- if (be!=-1) {
+ if ((be!=-1) && (typ!='finish')) {
parent.mapout.document.writeln(
''
+'Insert resource linked to from above ');
}
- if ((be!=-1) && (af!=-1)) {
+ if ((be!=-1) && (af!=-1) && (typ!='finish')) {
parent.mapout.document.writeln(
''
+'Insert resource linked to from above and linking to below ');
@@ -1791,6 +2052,7 @@ function insrestab(irow,be,af) {
''
+'Insert resource linking to below ');
@@ -1811,7 +2073,7 @@ function simpletabledraw() {
var cck;
var condid;
var sortstr=sortobjs();
- if (sortstr!='') {
+ if ((sortstr!='') && (sortstr!=undefined)) {
objsorted=sortstr.split('&');
for (k=0;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(
@@ -1883,7 +2151,7 @@ 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 +2169,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 |
|