// 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.contentHeight = (ns4)? this.content.doc.height : this.content.event.scrollHeight
	this.offsetHeight = this.contentHeight-this.window.h
	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.offsetHeight,2,20)
}
function MiniScrollStop() {
	this.content.slideActive = false
}
