
{
var left = (screen.width - 640)/2;
left = left<0?0:left;
var top  = (screen.height - 555)/2;
top = top<0?0:top;
}


function cloWin(theURL,winName,features)

{ 
  window.open(theURL,winName,features);

}
  
  
/*
Floating image II (up down)- Bruce Anderson (http://appletlib.tripod.com)
Submitted to Dynamicdrive.com to feature script in archive
Modified by DD for script to function in NS6
For 100's of FREE DHTML scripts, Visit http://www.dynamicdrive.com
*/

var XX=20; // X position of the scrolling objects
var xstep=1;
var delay_time=60;

//Begin of the unchangable area, please do not modify this area
var YY=0;  
var ch=0;
var oh=0;
var yon=0;

var ns4=document.layers?1:0
var ie=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

if(ie){
YY=document.body.clientHeight;
cloImg.style.top=YY;
}
else if (ns4){
YY=window.innerHeight;
document.cloImg.pageY=YY;
document.cloImg.visibility="hidden";
}
else if (ns6){
YY=window.innerHeight
document.getElementById('cloImg').style.top=YY
}


function reloc1()
{

if(yon==0){YY=YY-xstep;}
else{YY=YY+xstep;}
if (ie){
ch=document.body.clientHeight;
oh=cloImg.offsetHeight;
}
else if (ns4){
ch=window.innerHeight;
oh=document.cloImg.clip.height;
}
else if (ns6){
ch=window.innerHeight
oh=document.getElementById("cloImg").offsetHeight
}
		
if(YY<0){yon=1;YY=0;}
if(YY>=(ch-oh)){yon=0;YY=(ch-oh);}
if(ie){
cloImg.style.left=XX;
cloImg.style.top=YY+document.body.scrollTop;
}
else if (ns4){
document.cloImg.pageX=XX;
document.cloImg.pageY=YY+window.pageYOffset;
}
else if (ns6){
document.getElementById("cloImg").style.left=XX
document.getElementById("cloImg").style.top=YY+window.pageYOffset
}

}

function loopfunc()
{
reloc1();
setTimeout('loopfunc()',delay_time);
}

if (ie||ns4||ns6) {
    if (ns4) {
        document.cloImg.visibility="visible";
    }
    loopfunc();
}