| ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.write('Condition (');
@@ -1130,9 +1451,36 @@ function info(infostr) {
' to '+objcont[data3[1]].split(':')[0]+'');
} else {
if (data1[0]=='r') {
- inf.document.writeln('Resource ');
data2=objcont[data1[1]].split(':');
- inf.document.writeln(''+data2[0]+' ');
+ 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');
+ } else {
+ if (data2[3]=='finish') {
+ inf.document.writeln('Finish');
+ } else {
+ inf.document.writeln('Resource');
+ }
+ }
+ if (data2[3]=='mandatory') {
+ inf.document.write(' (Mandatory)');
+ }
+ if (data2[3]=='optional') {
+ inf.document.write(' (Optional)');
+ }
+ inf.document.writeln(' '+data2[0]+' ');
inf.document.writeln((data2[1].split('/')).join(' / '));
} else {
inf.document.writeln('Link ');
@@ -1153,7 +1501,7 @@ function info(infostr) {
}
inf.document.writeln(' | ');
inf.document.close();
- parent.focus();
+ parent.top.focus();
parent.mapout.focus();
notclear=0;
lastinfo=infostr;
@@ -1161,7 +1509,6 @@ function info(infostr) {
}
// ------------------------------------------------ "Escapes" out special chars
-
function escape(instring) {
var outstring='';
var thischar;
@@ -1169,7 +1516,7 @@ function escape(instring) {
for (k=0;kCopy 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?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(mode);
+ }
+ srch.focus();
+}
+
+// -------------------------------------------------------- Do idx status check
+function idxcheck(mode) {
+ if (!idx || idx.closed || idxmode!=mode) {
+ idxopen(mode);
+ }
+ idx.focus();
+}
+
+// -------------------------------------------------------- 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;
notclear=1;
- var options="scrollbars=1,resizable=1,menubar=0,width=400,height=300";
- var inf=open("","infout",options);
+ infcheck();
inf.document.clear();
inf.document.writeln(
''+
- ' | ');
+ ' | ');
data1=infostr.split('&');
if (data1[0]=='c') {
inf.document.writeln('Condition ');
@@ -1205,7 +1737,7 @@ function handler(infostr) {
data2=objcont[data1[4]].split(':');
}
inf.document.writeln(
- ' | ');
+ +'opener.infoclear();">Cancel');
+ inf.document.writeln(' |
|