version 1.49, 2002/05/06 21:59:29
|
version 1.53, 2002/05/17 15:09:06
|
Line 206 function setstatus(tp,bt) {
|
Line 206 function setstatus(tp,bt) {
|
endsend(); |
endsend(); |
} |
} |
|
|
|
function is_editable_resource (url) { |
|
var Chunks = url.split('.'); |
|
var tmp = Chunks[Chunks.length-1]; |
|
if ((Chunks.length > 1) && (Math.floor(tmp) == tmp)) { |
|
return true; |
|
} |
|
return false; |
|
} |
|
|
function cstrgo(currenturl,defaulturl) { |
function cstrgo(currenturl,defaulturl) { |
windowcheck(); |
windowcheck(); |
var url; |
var url; |
if (currenturl == null || currenturl == '') { |
if ((currenturl == null) || |
|
(currenturl == '') || |
|
(! is_editable_resource(currenturl))) { |
url = defaulturl; |
url = defaulturl; |
} else { |
} else { |
url = currenturl; |
url = currenturl; |
Line 230 function cstrgo(currenturl,defaulturl) {
|
Line 241 function cstrgo(currenturl,defaulturl) {
|
function go(url) { |
function go(url) { |
windowcheck(); |
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='' && url!= null) { |
currentURL = null; |
currentURL = null; |
clientwindow.window.location.href="http://"+clienthost+url; |
clientwindow.window.location.href="http://"+clienthost+url; |
} |
} |