to get width/height of content area
var str = '\n'
document.write(str)
// function to clip each side of a layer until it eventually disappears in the middle of the browserwindow
function resizeDiv() {
if (ns4) {
square = document.squareDiv;
if (square.clip.top < window_height/2) {
square.clip.top = square.clip.top+wh
// square.clip.right = square.clip.right-ww
square.clip.bottom = square.clip.bottom-wh
// square.clip.left = square.clip.left+ww
}
}
if (ie4) clip()
setTimeout("resizeDiv()",10)
move() // move the enter image as often as the clipping is changed
}
function clipValues(which) {
if (ie4) {
var clipv = squareDiv.style.clip.split("rect(")[1].split(")")[0].split("px")
if (which=="t") return Number(clipv[0])
if (which=="r") return Number(clipv[1])
if (which=="b") return Number(clipv[2])
if (which=="l") return Number(clipv[3])
}
}
function clip() {
if (clipValues('t') < window_height/2) {
if (ie4) squareDiv.style.clip = "rect("+(this.clipValues('t')+wh)+"px "+window_width+"px "+(this.clipValues('b')-wh)+"px 0px)"
}
}
// function to move the enter image
function move(){
if (ns4){
enterOff = document.enterOffDiv;
if (enterOff.top < window_height/2+69){
enterOff.top += 3
}
}
if (ie4){
enterOff = enterOffDiv.style;
enterOff.xpos = parseInt(enterOff.top)
if (enterOff.xpos < window_height/2+70){
enterOff.xpos += 3
enterOff.top = enterOff.xpos
}
}
}
// rollover function
function C(img){
if (ns4){
document.layers[1].document.images[0].src = img;
}
if (ie4){
document.images[0].src = img;
}
}
// changing the clip:, top: and left: css values doesn't work in IE if the styles aren't inline
var str1 ='\n\n' +
'\n' +
'

\n' +
'
\n\n'
document.write(str1)
var str2 = '
\n' +
'
\n' +
'Please wait while server updates
\n' +
'\n' +
''
document.write(str2)
//-->