if(!window.JS)
	JS=new Object();

if(!JS.Browser)
	JS.Browser = new Object();

if(navigator.appName.indexOf("Netscape") != -1)
{
	JS.Browser.getCanvasWidth	= function() {return innerWidth;}
	JS.Browser.getCanvasHeight	= function() {return innerHeight;}
	JS.Browser.getWindowWidth 	= function() {return outerWidth;}
	JS.Browser.getWindowHeight	= function() {return outerHeight;}
	JS.Browser.getScreenWidth 	= function() {return screen.width;}
	JS.Browser.getScreenHeight	= function() {return screen.height;}
	JS.Browser.getMinX		= function() {return(pageXOffset);}
	JS.Browser.getMinY		= function() {return(pageYOffset);}
	JS.Browser.getMaxX		= function() {return(pageXOffset+innerWidth);}
	JS.Browser.getMaxY		= function() {return(pageYOffset+innerHeight);}

}
else 	if(document.all) 	{
	JS.Browser.getCanvasWidth	= function() {return document.body.clientWidth;}
	JS.Browser.getCanvasHeight	= function() {return document.body.clientHeight;}
	JS.Browser.getWindowWidth 	= function() {return document.body.clientWidth;}
	JS.Browser.getWindowHeight	= function() {return document.body.clientHeight;}
	JS.Browser.getScreenWidth	= function() {return screen.width;}
	JS.Browser.getScreenHeight	= function() {return screen.height;}
	JS.Browser.getMinX		= function() {return(document.body.scrollLeft);}
	JS.Browser.getMinY		= function() {return(document.body.scrollTop);}
	JS.Browser.getMaxX		= function() {
		return(document.body.scrollLeft
			+document.body.clientWidth);
	}
	JS.Browser.getMaxY		= function() {
			return(document.body.scrollTop
				+document.body.clientHeight);
	}
} 
/*** End  ***/ 