//HERE ARE THE DECLARATIONS FOR THE BROWSER INDEPENDENT CLASS OBJECTS
var aObject;	//ANY OBJECT
var aTable;		//A TABLE
var aCell;		//A CELL IN A TABLE
var aRow;		//A ROW IN A TABLE
var aEvent;		//MODELS THE MZ5 EVENT

//DETERMINE BROWSER TYPE
function BrowserType(){
	//WE LOOK FOR SPECIFIC FEATURES IN CERTAIN BROWSERS TO FIND WHICH BROWSER WE ARE USING
	this.isMZ5 = document.characterSet;
	this.isIE4 = document.protocol;

	//FINALLY, WE SET THOSE CLASS OBJECTS TO BROWSER SPECIFIC OBJECTS
	if (this.isMZ5){
		aObject=aObjectMZ5;
		aTable=aTableMZ5;
		aCell=aCellMZ5;
		aRow=aRowMZ5;
		aEvent=aEventMZ5;
	}else if (this.isIE4){
		aObject=aObjectIE4;
		aTable=aTableIE4;
		aCell=aCellIE4;
		aRow=aRowIE4;
		aEvent=aEventIE4;
	}else{
		error("Browser NOT supported!!")
		return false;
	}//endif

	//SETUP THE MOUSE EVENT
	document.onmousedown=function(event){aMouse.down(event)};
	document.onmousemove=function(event){aMouse.move(event)};
	document.onmouseup=function(event){aMouse.up(event)};
	return true;
}//BrowserType
