version 1.45, 2002/03/19 20:30:07
|
version 1.48, 2002/04/05 18:47:42
|
Line 51 March 2002 Matthew Hall
|
Line 51 March 2002 Matthew Hall
|
|
|
|
|
<body bgcolor="#BBBBBB" |
<body bgcolor="#BBBBBB" |
background="remotebg.gif"> |
background="remotebg.gif" |
|
onUnload="logout();"> |
<basefont size="1" /> |
<basefont size="1" /> |
|
|
<script type="text/javascript"> |
<script type="text/javascript"> |
Line 140 function deactivate () {
|
Line 141 function deactivate () {
|
function display(utext,ltext) { |
function display(utext,ltext) { |
var i; var ch; |
var i; var ch; |
this.window.focus(); |
this.window.focus(); |
|
if (utext == null) { utext = '';} |
|
if (ltext == null) { ltext = '';} |
if (typeof(utext)=="undefined") { utext=''; } |
if (typeof(utext)=="undefined") { utext=''; } |
if (typeof(ltext)=="undefined") { ltext=''; } |
if (typeof(ltext)=="undefined") { ltext=''; } |
if ((utext=='') && (ltext=='')) { |
if ((utext=='') && (ltext=='')) { |
Line 195 function setstatus(tp,bt) {
|
Line 198 function setstatus(tp,bt) {
|
endsend(); |
endsend(); |
} |
} |
|
|
|
function cstrgo(currenturl,defaulturl) { |
|
windowcheck(); |
|
var url; |
|
if (currenturl == null || currenturl == '') { |
|
url = defaulturl; |
|
} else { |
|
url = currenturl; |
|
var res_pattern = /^\/res\/[A-z0-p]+\//; |
|
if (res_pattern.test(url)) { |
|
// map /res/103/turtle to /priv/turtle |
|
url = url.replace(/^\/res\/[A-z0-9]+\//,'/priv/'); |
|
} else { |
|
url = defaulturl; |
|
} |
|
} |
|
this.document['led'].src="ledsend.gif"; |
|
if (url != '') { |
|
clientwindow.window.location.href="http://"+clienthost+url; |
|
} |
|
} |
|
|
function go(url) { |
function go(url) { |
windowcheck(); |
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='') { |
|
currentURL = null; |
clientwindow.window.location.href="http://"+clienthost+url; |
clientwindow.window.location.href="http://"+clienthost+url; |
} |
} |
} |
} |