--- rat/client/Attic/code.html 2000/07/08 11:23:36 1.7
+++ rat/client/Attic/code.html 2001/05/01 15:23:40 1.30
@@ -9,8 +9,11 @@ Resource Assembly Tool
1/7,1/8,1/10,1/14,1/15,1/16,1/21,1/22,1/29,1/30,1/31,
2/2,2/3,2/10,2/12,2/13,2/14,2/15,2/17,2/18,2/19,2/20,2/21,2/22,
5/2,5/3,5/4,5/5,5/6,5/8,5/9,5/13,5/18,5/20,5/22,5/24,5/25,
-6/7,6/8,6/9,6/10,6/12,6/15,7/4
-Gerd Kortemeyer with Scott Harrison
+6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31,8/5,8/19,8/24,
+01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison
+March/April 01 Scott Harrison
+04/20 Gerd Kortemeyer
+04/30 Scott Harrison
-->
@@ -30,6 +33,7 @@ var colmap5=new Array();
var colmap6=new Array();
var obj=new Array();
var objcont=new Array();
+var objparms=new Array();
var objlinks=new Array();
var rowcont=new Array();
var rowtype=new Array();
@@ -56,6 +60,14 @@ var zscale=3;
var disrows=0;
var discols=0;
+var finishdone=0;
+var tim=0;
+var funny='|';
+var reqaction='';
+var canceltim;
+
+var expense=0;
+
var data1=new Array(1024);
var data2=new Array(1024);
var data3=new Array(1024);
@@ -63,12 +75,21 @@ var data4=new Array(1024);
var data5=new Array(1024);
var inf;
+var srch;
+var srchflag=-1; // 1 means currently open
+ // 0 means closed (but has been open)
+ // -1 means never yet opened/defined
+
+function testfunction() {
+ inf.document.forms.resinfo.elements.t.value="ABC";
+}
// ------------------------------------------------ Insert a row into the table
function insertrow(j,ex1,ex2) {
var kj;
stored=0;
+ expense++; expense++;
objects1='';
objects2='';
for (kj=0;kj<=maxrow;kj++) {
@@ -83,7 +104,7 @@ function insertrow(j,ex1,ex2) {
objects=objects1+':'+objects2;
data1=objects.split(':');
for (kj=0;kjj ) { col[kj]++; }
}
maxcol++;
+ expense++; expense++;
col[maxcol]=j+1;
}
@@ -246,7 +268,7 @@ function maprow (jid,obj1,ign) {
var j; var k; var left; var right; var middle;
middle=-1;
for (j=0;j<=maxcol;j++) { colmap[j]=0; }
- if (rowcont[jid]!='') {
+ if ((rowcont[jid]!='') && (rowcont[jid]!=undefined)) {
data2=rowcont[jid].split(':');
for (j=0;j');
- if (what!='') {
- if (obj1!='') {
+ if ((what!='') && (what!=undefined)) {
+ if ((obj1!='') && (obj1!=undefined)) {
obj1="'"+obj1+"'";
parent.mapout.document.write
('