version 1.51, 2002/03/12 21:37:18
|
version 1.64, 2003/02/25 14:42:02
|
Line 37 YEAR 2000
|
Line 37 YEAR 2000
|
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, |
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,7/26,7/28,7/31,8/5,8/19,8/24, |
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, |
YEAR 2001 |
YEAR 2001 |
01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison |
01/17/01,03/03,03/05 Gerd Kortemeyer |
March/April 01 Scott Harrison |
|
04/20 Gerd Kortemeyer |
04/20 Gerd Kortemeyer |
04/30 Scott Harrison |
|
05/31 Scott Harrison |
|
06/11,06/25,06/27,06/28,06/29,07/04 Gerd Kortemeyer |
06/11,06/25,06/27,06/28,06/29,07/04 Gerd Kortemeyer |
07/24,8/6,8/7,10/16 Scott Harrison |
|
03/01/02 Matthew Hall |
03/01/02 Matthew Hall |
--> |
--> |
|
|
Line 118 var idxflag=-1; // 1 means currently ope
|
Line 114 var idxflag=-1; // 1 means currently ope
|
// -1 means never yet opened/defined |
// -1 means never yet opened/defined |
var idxmode=''; |
var idxmode=''; |
|
|
|
var copydx; |
|
var copydxflag=-1; // 1 means currently open |
|
// 0 means closed (but has been open) |
|
// -1 means never yet opened/defined |
|
var copydxmode=''; |
|
|
var parm; |
var parm; |
var parmflag=-1; // 1 means currently open |
var parmflag=-1; // 1 means currently open |
// 0 means closed (but has been open) |
// 0 means closed (but has been open) |
Line 968 function drawcell (rtype,ctype,what,cm,o
|
Line 970 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'resource.gif">'); |
+' src="'+raticons+'resource.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 985 function drawcell (rtype,ctype,what,cm,o
|
Line 989 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
} else { |
} else { |
if (what=='c:') { |
if (what=='c:') { |
parent.mapout.document.write |
parent.mapout.document.write |
Line 1001 function drawcell (rtype,ctype,what,cm,o
|
Line 1010 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'start.gif">'); |
+' src="'+raticons+'start.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 1018 function drawcell (rtype,ctype,what,cm,o
|
Line 1029 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
|
|
} else { |
} else { |
if (what=='rf:') { |
if (what=='rf:') { |
Line 1030 function drawcell (rtype,ctype,what,cm,o
|
Line 1046 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'finish.gif">'); |
+' src="'+raticons+'finish.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 1047 function drawcell (rtype,ctype,what,cm,o
|
Line 1065 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
|
|
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
Line 1576 function idxclear() {
|
Line 1600 function idxclear() {
|
idx.document.clear(); |
idx.document.clear(); |
} |
} |
|
|
|
// --------------------------------------------------------- Clears copy window |
|
function copydxclear() { |
|
copydx.document.clear(); |
|
} |
// ------------------------------------------------------- Clears search window |
// ------------------------------------------------------- Clears search window |
function srchclear() { |
function srchclear() { |
srch.document.clear(); |
srch.document.clear(); |
Line 1594 function idxclose() {
|
Line 1622 function idxclose() {
|
} |
} |
} |
} |
|
|
|
// --------------------------------------------------------- Closes copy window |
|
function copydxclose() { |
|
if (copydx && !copydx.closed) { |
|
copydxflag=0; |
|
copydx.close(); |
|
} |
|
} |
|
|
// ------------------------------------------------------- Closes search window |
// ------------------------------------------------------- Closes search window |
function srchclose() { |
function srchclose() { |
if (srch && !srch.closed) { |
if (srch && !srch.closed) { |
Line 1618 function idxopen(mode) {
|
Line 1654 function idxopen(mode) {
|
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx.focus(); |
idx.focus(); |
} |
} |
|
// ------------------------------------------------- Open browser to select map |
|
var editbrowser; |
|
function openbrowser(formname,elementname,only,omit) { |
|
var url = '/res/?'; |
|
if (editbrowser == null) { |
|
url += 'launch=1&'; |
|
} |
|
url += 'catalogmode=interactive&'; |
|
url += 'mode=edit&'; |
|
url += 'form=' + formname + '&'; |
|
if (only != null) { |
|
url += 'only=' + only + '&'; |
|
} |
|
if (omit != null) { |
|
url += 'omit=' + omit + '&'; |
|
} |
|
url += 'element=' + elementname + ''; |
|
var title = 'Browser'; |
|
var options = 'scrollbars=1,resizable=1,menubar=0'; |
|
options += ',width=700,height=600'; |
|
editbrowser = copydx.open(url,title,options,'1'); |
|
editbrowser.focus(); |
|
} |
|
// ----------------------------------------------------------- Open copy window |
|
function copydxopen(mode) { |
|
var options="scrollbars=1,resizable=1,menubar=0"; |
|
copydxmode=mode; |
|
copydxflag=1; |
|
copydx=open("",'copydxout',options); |
|
copydx.document.clear(''); |
|
copydx.document.writeln( |
|
'<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+ |
|
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
|
'<input type=button onClick="javascript:opener.openbrowser'+ |
|
"('mapload','importmap','sequence,page','')"+ |
|
'" value="Browse"><input type=button value="Load Map" '+ |
|
'onClick="window.location=document.mapload.importmap.value+'+ |
|
"'?launch=1&forceselect=1'"+'"></form>'); |
|
|
|
copydx.document.writeln('</body></html>'); |
|
copydx.focus(); |
|
} |
|
|
// --------------------------------------------------------- Open search window |
// --------------------------------------------------------- Open search window |
function srchopen(mode) { |
function srchopen(mode) { |
Line 1649 function idxcheck(mode) {
|
Line 1727 function idxcheck(mode) {
|
idx.focus(); |
idx.focus(); |
} |
} |
|
|
|
// -------------------------------------------------------- Do idx status check |
|
function copydxcheck(mode) { |
|
if (!copydx || copydx.closed || copydxmode!=mode) { |
|
copydxopen(mode); |
|
} |
|
copydx.focus(); |
|
} |
|
|
// ---------------------------------------------------- Handles "click to edit" |
// ---------------------------------------------------- Handles "click to edit" |
function handler(infostr) { |
function handler(infostr) { |
var k; |
var k; |
Line 1735 function handler(infostr) {
|
Line 1821 function handler(infostr) {
|
inf.document.write( |
inf.document.write( |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
+'<input type=text name=t size=30 value="' |
+'<input type=text name=t size=30 value="' |
+data2[0]+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
+escape(data2[0])+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
Line 1967 function graphreset() {
|
Line 2053 function graphreset() {
|
|
|
objcont[0]=''; |
objcont[0]=''; |
objlinks[0]=''; |
objlinks[0]=''; |
if (((typeof(objcont[1])=="undefined")&&(typeof(objcont[2])=="undefined")) || |
|
((objcont[1]=='')&&(objcont[2]==''))) { |
|
objcont[1]='Start::false:start:res' |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
graphdef='no'; |
graphdef='no'; |
|
|
} |
} |
Line 1985 function rescompare(a,b) {
|
Line 2067 function rescompare(a,b) {
|
for (k=1;k<data1.length;k++) { |
for (k=1;k<data1.length;k++) { |
if (data1[k]==data2[0]) { rvalue--; } |
if (data1[k]==data2[0]) { rvalue--; } |
} |
} |
for (k=1;k<data3.length;k++) { |
for (k=1;k<data2.length;k++) { |
if (data2[k]==data1[0]) { rvalue++; } |
if (data2[k]==data1[0]) { rvalue++; } |
} |
} |
if (rvalue==0) { rvalue=data2.length-data1.length; } |
if (rvalue==0) { rvalue=data2.length-data1.length; } |
Line 2482 function finishload() {
|
Line 2564 function finishload() {
|
objcont.length=0; |
objcont.length=0; |
for (k=0;k<objlinks.length;k++) { objlinks[k]=''; } |
for (k=0;k<objlinks.length;k++) { objlinks[k]=''; } |
objlinks.length=0; |
objlinks.length=0; |
|
for (k=0;k<objparms.length;k++) { objparms[k]=''; } |
|
objparms.length=0; |
objlinks[0]=''; |
objlinks[0]=''; |
objcont[0]=''; |
objcont[0]=''; |
editmode=0; |
editmode=0; |
Line 2504 function finishload() {
|
Line 2588 function finishload() {
|
if (typeof(objparms[data2[1]])=="undefined") { |
if (typeof(objparms[data2[1]])=="undefined") { |
objparms[data2[1]]=data2[2]; |
objparms[data2[1]]=data2[2]; |
} else { |
} else { |
objparms[data2[1]]+=':'+data2[2]; |
if (objparms[data2[2]]=='') { |
|
objparms[data2[1]]=data2[2]; |
|
} else { |
|
objparms[data2[1]]+=':'+data2[2]; |
|
} |
} |
} |
} |
} |
if (data2[0]=='rowcont') { rowcont[data2[1]]=data2[2]; } |
if (data2[0]=='rowcont') { rowcont[data2[1]]=data2[2]; } |
Line 2519 function finishload() {
|
Line 2607 function finishload() {
|
for (k=1;k<=maxrow;k++) { |
for (k=1;k<=maxrow;k++) { |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
} |
} |
|
} else { |
|
var hasstart=0; |
|
var hasfinish=0; |
|
for (k=0;k<objcont.length;k++) { |
|
if (typeof(objcont[k])!="undefined") { |
|
var objfunctype=(objcont[k].split(':'))[3]; |
|
if (objfunctype=='start') { hasstart=1; } |
|
if (objfunctype=='finish') { hasfinish=1; } |
|
} |
|
} |
|
if (!hasstart) { |
|
if ((typeof(objcont[1])=="undefined") || (objcont[1]=='')) { |
|
objcont[1]='Start::false:start:res'; |
|
} |
|
} |
|
if (!hasfinish) { |
|
if ((typeof(objcont[2])=="undefined") || (objcont[2]=='')) { |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
} |
} |
} |
} |
} |
|
|
Line 2631 function groupimport() {
|
Line 2739 function groupimport() {
|
idxcheck('groupimport'); |
idxcheck('groupimport'); |
} |
} |
|
|
|
function groupcopy() { |
|
copydxcheck('groupsec'); |
|
} |
|
|
// -------------------------------------------------------------- Store changes |
// -------------------------------------------------------------- Store changes |
function storechange() { |
function storechange() { |
var k; |
var k; |
Line 2687 function leave() {
|
Line 2799 function leave() {
|
srchclose(); |
srchclose(); |
} |
} |
if (idx && !idx.closed) { |
if (idx && !idx.closed) { |
srchclose(); |
idxclose(); |
|
} |
|
if (copydx && !copydx.closed) { |
|
copydxclose(); |
} |
} |
} |
} |
|
|
Line 2697 function leave() {
|
Line 2812 function leave() {
|
<body bgcolor="#FFFFFF" onUnload="leave();"> |
<body bgcolor="#FFFFFF" onUnload="leave();"> |
<table border=0><tr><td bgcolor="#aaaaaa"> |
<table border=0><tr><td bgcolor="#aaaaaa"> |
<table border=0><tr> |
<table border=0><tr> |
<td bgcolor="#ffffcc"><a href="javascript:togglemode();"><b>T</b>oggle display</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:togglemode();"><font size="-2">Toggle display</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale>1) { zscale--; draw();}"><b>Z</b>oom out</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale>1) { zscale--; draw();}"><font size="-2">Zoom out</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale<3) { zscale++; draw();}"><b>Z</b>oom in</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale<3) { zscale++; draw();}"><font size="-2">Zoom in</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:condense();draw();"><b>C</b>ondense</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:condense();draw();"><font size="-2">Condense</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:graphopt();draw();"><b>S</b>traighten</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:graphopt();draw();"><font size="-2">Straighten</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><font size="-2">Revert</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><font size="-2">Undo</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><font size="-2">Redo</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>G</b>roup search</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><font size="-2">Search</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>G</b>roup import</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><font size="-2">Import</font></a></td> |
<td bgcolor="#ffcccc"><a href="javascript:storechange();"><b>S</b>ave map</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><font size="-2">Copy</font></a></td> |
|
<td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><font size="-2">Save map</font></a></td> |
|
<td bgcolor="#ccffcc"><a href="javascript:storechange();"><font size="-2">Save map and layout</font></a></td> |
</tr></table> |
</tr></table> |
</td></tr></table> |
</td></tr></table> |
<script> |
<script> |