| ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.write('Condition (');
@@ -1457,7 +1456,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 +1509,6 @@ function info(infostr) {
}
// ------------------------------------------------ "Escapes" out special chars
-
function escape(instring) {
var outstring='';
var thischar;
@@ -1518,7 +1516,7 @@ function escape(instring) {
for (k=0;kGroup Copy from Map');
+ copydx.document.writeln('');
+ copydx.focus();
+}
+// --------------------------------------------------------- Open search window
function srchopen(mode) {
var options="scrollbars=1,resizable=1,menubar=0";
srchmode=mode;
srchflag=1;
- srch=open("/adm/searchcat?catalogmode=interactive","srchout",options);
+ srch=open("/adm/searchcat?launch=1&mode=rat&catalogmode="+mode,"srchout",options);
srch.focus();
}
// -------------------------------------------- Interface function to searching
-
function search() {
alert("Searching not yet implemented");
}
// ------------------------------------------------------- Do srch status check
-
function srchcheck(mode) {
if (!srch || srch.closed || srchmode!=mode) {
- srchopen();
+ srchopen(mode);
}
srch.focus();
}
// -------------------------------------------------------- Do idx status check
-
function idxcheck(mode) {
if (!idx || idx.closed || idxmode!=mode) {
idxopen(mode);
@@ -1673,8 +1680,15 @@ function idxcheck(mode) {
idx.focus();
}
-// ---------------------------------------------------- Handles "click to edit"
+// -------------------------------------------------------- Do idx status check
+function copydxcheck(mode) {
+ if (!copydx || copydx.closed || copydxmode!=mode) {
+ copydxopen(mode);
+ }
+ copydx.focus();
+}
+// ---------------------------------------------------- Handles "click to edit"
function handler(infostr) {
var k;
editmode=1;
@@ -1683,7 +1697,7 @@ function handler(infostr) {
inf.document.clear();
inf.document.writeln(
''+
- ' | ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.writeln('Condition ');
@@ -1737,8 +1751,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 +1857,6 @@ function handler(infostr) {
}
// ----------------------------------------------------- Clicks on empty fields
-
function empty(rid,k) {
var cid=findcol(k);
var lcol=k-1;
@@ -1858,7 +1869,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('
|
| ');
}
-// ---------------------------------------- Draw simple table instead of graph
+// ---------------------------------------- Draw simple table instead of graph
function simpletabledraw() {
var objsorted=new Array();
var robjs=new Array();
@@ -2261,7 +2267,7 @@ function simpletabledraw() {
var urlparts=new Array;
var condid;
var sortstr=sortobjs();
- if ((sortstr!='') && (sortstr!=undefined)) {
+ if ((sortstr!='') && (typeof(sortstr)!="undefined")) {
objsorted=sortstr.split('&');
for (k=0;k');
var k;
for (k=0;k1) {
undopointer--;
@@ -2588,7 +2587,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
+
+
+
|
|
|
|