function PopWin (name, url, w, h) {
win = open(url, name, 'menubar=no,directories=no,location=no,resizable=yes,scrollbars=yes,width='+w +',height='+h);
}
function help(url) {
openWindow ('help', url, 286, 220);
}
function openWindow (name, url, w, h) {
win = open(url, name, 'menubar=no,directories=no,location=no,resizable=yes,scrollbars=yes,width='+w +',height='+h);
}
if (navigator.platform.indexOf('Mac') > -1) {
//mac
if (navigator.appName.indexOf('Microsoft') > -1) {
//explorer
bp="iemac"
document.write('');
} else {
//netscape
bp="nsmac"
document.write('');
}
} else {
if (navigator.platform.indexOf('Win') > -1){
//windows
if (navigator.appName.indexOf('Microsoft') > -1) {
//explorer
bp="iewin"
document.write('');
} else {
//netscape
bp="nswin"
document.write('');
}
} else {
//unix
bp="nsunix"
document.write('');
}
}
//-->
v=parseInt(navigator.appVersion.substring(0,1));
stored=null;
storedLocation=null;
if (v>=3){
im0=load('reg_button_on');
im1=load('top2_19');
im2=load('top2_20');
im3=load('top2_21');
im4=load('top2_22');
im5=load('top2_23');
im6=load('top2_24');
im7=load('top2_25');
}
function load(n){
image=new Image();
image.src="/ii/"+n+".gif";
return image;
}
function show(where,what){
if (v>=3) {
stored=where;
storedLocation=document.images[where].src;
document.images[where].src=eval(what+".src");
}
}
function hide(){
if (v>=3) document.images[stored].src=storedLocation;
}
function movedown(){
if (window.moveupvar) clearTimeout(moveupvar)
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}
function moveup(){
if (window.movedownvar) clearTimeout(movedownvar)
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)
}
function stopscroll(){
if (window.moveupvar) clearTimeout(moveupvar)
if (window.movedownvar) clearTimeout(movedownvar)
}
function movetop(){
stopscroll()
if (iens6)
crossobj.style.top=0+"px"
else if (ns4)
crossobj.top=0
}
function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}