');
+ '');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.write('Condition (');
@@ -1357,7 +1452,18 @@ function info(infostr) {
} else {
if (data1[0]=='r') {
data2=objcont[data1[1]].split(':');
- inf.document.write('');
+ url=data2[1];
+ ext=data2[2];
+ urlparts=url.split('.');
+ mime=urlparts[urlparts.length-1];
+ if (typeof(mime)=="undefined") { mime=''; }
+ if (ext=='true') { mime=''; }
+ if (mime!='') {
+ inf.document.write
+ (' ');
+ }
+ inf.document.write('');
if (data2[2]=='true') { inf.document.write('External '); }
if (data2[3]=='start') {
inf.document.writeln('Start ');
@@ -1403,7 +1509,6 @@ function info(infostr) {
}
// ------------------------------------------------ "Escapes" out special chars
-
function escape(instring) {
var outstring='';
var thischar;
@@ -1411,7 +1516,7 @@ function escape(instring) {
for (k=0;kGroup Copy from Map '+
+ '');
+
+ copydx.document.writeln('');
+ copydx.focus();
+}
// --------------------------------------------------------- Open search window
-
-function srchopen() {
+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() {
- if (!srch || srch.closed) {
- srchopen();
+function srchcheck(mode) {
+ if (!srch || srch.closed || srchmode!=mode) {
+ srchopen(mode);
}
srch.focus();
}
// -------------------------------------------------------- Do idx status check
-
-function idxcheck() {
- if (!idx || idx.closed) {
- idxopen();
+function idxcheck(mode) {
+ if (!idx || idx.closed || idxmode!=mode) {
+ idxopen(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;
@@ -1559,7 +1726,7 @@ function handler(infostr) {
inf.document.clear();
inf.document.writeln(
''+
- '');
+ '');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.writeln('Condition ');
@@ -1596,7 +1763,7 @@ function handler(infostr) {
}
inf.document.writeln(
'opener.infoclear();opener.editmode=0;opener.draw('
- +');">Change to above values '
+ +');">Save Changes '
+' Reset '
+' ');
@@ -1613,8 +1780,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) {
@@ -1639,16 +1804,16 @@ function handler(infostr) {
'
');
inf.document.close();
inf.focus();
}
// ----------------------------------------------------- Clicks on empty fields
-
function empty(rid,k) {
var cid=findcol(k);
var lcol=k-1;
@@ -1738,7 +1898,7 @@ function empty(rid,k) {
inf.document.clear();
inf.document.writeln(
''+
- '