	function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.pc=(navigator.appVersion.indexOf("Mac") == -1)
	this.iepc=(this.pc &&  (this.ie4 || this.ie5)==1)
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}

bw=new checkBrowser()
//Moves a layer to left and top coordinates
function move(l,t,div,nest){ 	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	obj.left=l;	obj.top=t; }

//Shows a layer
function show(div,nest){	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	obj.visibility='visible';
}

//hides a layer
function hide(div,nest){	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	obj.visibility='hidden';
}


function hideIt(div){
	if(bw.bw){
		div="divLoadCont"
		obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0; 
		obj.visibility='hidden'
	}
}
	
	
	var x = 0;
	var dest = 0;
	var distance = 0;
	var step = 0;
	var destination = 0;

<!--

function scrollit(destination) {

		step = 5;

		dest = destination;

		if (x<dest) {

			while (x<dest) {

				step += (step / 2000);

				x += step;

				scroll(x,0);

			} 

			scroll(dest,0);

			x = dest;

		}

    	if (x > dest)  {

			while (x>dest) {

				step += (step / 2000);

                if(x >= (0+step))
				  {
				    x -= step; 
					scroll(x,0);
                  }
				    else { break;  }
			} 

			if(dest >= 0) { scroll(dest,0); }

			x = dest;

		}

		if (x<1) {x=1}

}

