// MiniScroll Object
// Copyright 1998 Dan Steinman
// Available at the Dynamic Duo (http://www.dansteinman.com/dynduo/)
// October 24, 1998.
// In order to use this code you must keep this disclaimer

function MiniScroll(window,content) {
	this.window = window
	this.content = content
	this.content.slideInit()
	this.contentWidth = (ns4)? this.content.doc.Width : this.content.event.scrollWidth	//MODIFICADO
	this.offsetWidth = this.contentWidth-this.window.w					//MODIFICADO
	this.up = MiniScrollUp
	this.down = MiniScrollDown
	this.stop = MiniScrollStop
}
function MiniScrollUp() {
	this.content.slideTo(null,0,2,20)
}
function MiniScrollDown() {
	this.content.slideTo(null,-this.offsetWidth,2,20)					//MODIFICADO
}
function MiniScrollStop() {
	this.content.slideActive = false
}
