<!--//

var isIE;
var isNS;
var isNS4;
        if (document.layers) {
            isNS4 = true;
        } else if (navigator.appName.indexOf("Explorer") > 0) {
            isIE = true;
        }  else  {
            isNS = true;
        }

var agt=navigator.userAgent.toLowerCase();

var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);

var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));

var is_nav5down = (is_nav && (is_major < 5));
var is_nav5up = (is_nav && (is_major >= 5));

function setIdProperty( object, property, value )
{
        var styleObject = document.getElementById( object );
        if (styleObject != null)
        {
            styleObject = styleObject.style;
            styleObject[ property ] = value;
        }
}

function hide(object) {
if (is_nav5up) {
setIdProperty( object, "visibility", "hidden" );
} else if (document.layers && document.layers[object] != null) {
document.layers[object].visibility = 'hidden';
}
else if (document.all) {
document.all[object].style.visibility = 'hidden';
}
}

function show(object) {
if (is_nav5up) {
setIdProperty( object, "visibility", "visible" );
} else if (document.layers && document.layers[object] != null) {
document.layers[object].visibility = 'visible';
}
else if (document.all) {
document.all[object].style.visibility = 'visible';
}
}


if (document.images) {

Image1a = new Image(1, 1);
Image1a.src = "/trans.gif";
}

function ChangeImage (ImageName,FileName) {
if (document.images) {
document[ImageName].src = FileName;
}
}

nameWindow();

function goBack() {
history.go(-1);
}

function goDisplay() {
var goDisplay=window.open('','goDisplay');
goDisplay.focus();
}

function goSeek() {
var goSeek=window.open('/jwtsearch.html','goSeek','resizable=no,toolbar=no,location=no,status=no,menubar=no,width=320,height=142,left=230,top=200');
top.name="displayWindow";
}

function goShow() {
var show=window.open('','show','resizable=no,toolbar=no,location=no,status=yes,menubar=no,width=620,height=440,left=20,top=20');
}

function goTo(url) {
top.location.href=url;
}

function goTop() {
if (isIE) {
location.href="#top";
} else if (isNS4) {
location.href="#top";
} else {
location.href=location.href;
}
}

function nameWindow() {
top.name='displayWindow';
}

function showImage(theimage, thename, thesize) {
var showImage=window.open(theimage, thename, thesize);
}

function showdiv(thediv) {
document.getElementById(thediv).style.display="block";
}
function hidediv(thediv) {
document.getElementById(thediv).style.display="none";
}

//-->


