// BROWSERCHECK ///////////////////////////////////////////////////////////////
function checkBrowser(){
	this.ver=navigator.appVersion;
	this.sys=(navigator.platform.indexOf("Win") != -1)?"Win":(navigator.platform.indexOf("Mac") != -1)?"Mac":"Other";
	this.win=(this.sys == "Win")?1:0;
	this.dom=document.getElementById?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5)?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.ie=(this.ie6 || this.ie5 || this.ie4 )?1:0;
	this.ns=(this.ns5 || this.ns4)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns5 || this.ns4);
	return this;
}
var bw=new checkBrowser();
// MAKE OBJECT ///////////////////////////////////////////////////////////////
function makeObj(obj){
	this.el=document.getElementById(obj);
	this.css=document.getElementById(obj).style;
	this.obj = obj + "Object";
    eval(this.obj + "=this");
    return this;
}
function makeScrollObj(obj){
	this.el=document.getElementById(obj);
	this.css=document.getElementById(obj).style;
	this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight;
	this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight;
	this.up=goUp;this.down=goDown;
	this.moveIt=moveIt; this.x; this.y;
	this.interval = 25;
	this.obj = obj + "Object";
    eval(this.obj + "=this");
    return this;
}
// VARIABLES ///////////////////////////////////////////////////////////////
var dd=document;
var HIDDEN = bw.ns4?'hide':'hidden';
var VISIBLE = bw.ns4?'show':'visible';
var loop, timer;
var first=0;
var speed=1;
var loaded;
var thisId;
