<!-- hiding from old browsers

// stop hiding -->


        var     isIE = (navigator.appName == "Microsoft Internet Explorer"),
                isNav = (navigator.appName == "Netscape"),
                ver = navigator.appVersion.substring(0,navigator.appVersion.indexOf('.')),
                v4 = (isNav && ver >3) ? 1 : (isIE && ver >3) ? 1 : 0;



var scrollEnd,x=0,scSpeed=50,Dx=0;

function MoveBy(amm) {
  var t,r,b,l;
  if (navigator.appName == 'Netscape' && document.layers != null) {
    theObj=document.layers['temp'].document.layers["Main"];
    theObj.left-= amm;
    theObj.clip.left+=amm;
    theObj.clip.right+=amm;
  }
  else if(document.all != null) {
    theObj=document.all["Main"].style;
    var clipv = theObj.clip.split("rect(")[1].split(")")[0].split("px")
    var objLeft = theObj.left.split("px")[0];
    cr=Number(clipv[1])+amm;
    cl=Number(clipv[3])+amm;
    theObj.left=(Number(objLeft)-amm)+"px";
    theObj.clip = "rect("+clipv[0]+"px "+cr+"px "+clipv[2]+"px "+cl+"px)"
  }
}


function ScrollTo(place) {
  scrollEnd = place;
  Dx=(place-x)/Math.abs(place-x);
  Scroll();
}



function ScrollBy(dist) {
  scrollEnd = x+dist;
  Dx=dist/Math.abs(dist);
  Scroll();
}

function Scroll() {
  if((Dx==-1 && x> scrollEnd)||(Dx== 1 && x <scrollEnd)) {
    MoveBy(Dx*scSpeed)
    x+=Dx*scSpeed;
    setTimeout('Scroll()',75);
   }
}

function openWin(file,name,winwid,winht) {
aWindow=window.open(file,name,
"width="+winwid+",height="+winht+",toolbar=no,scrollbars=yes,directories=no,location=no,menubar=no,resize=no,status=yes");
}

