var x = 0;
var dest = 0;
var distance = 0;
var step = 0;
var destination = 0;

function scrollIt(destination,destURL) {
	step = 1;
	dest = destination;
	if (x <= dest) {
		while (x < dest) {
			step += (step / 5);
			x += step;
			top.frames.GUIDE.scroll(x,0);
			if (step > 200) { break; }
		} 
		x = dest;
		top.frames.GUIDE.scroll(x,0);
	}
	else if (x > dest) {
		while (x>dest) {
			step += (step / 5);
			if(x > dest) { x -= step; top.frames.GUIDE.scroll(x,0); }
			else { break;  }
			if (step > 200) { break; }
		} 
		x = dest;
		if(dest >= 1) { top.frames.GUIDE.scroll(x,0); }
	}
	if (x<1) { x=1; }
	if (x>1940) { x=1940; }
}

