function Event(domEvent){
	this.domEvent = domEvent;
	
	this.getTarget = function(){
		if (this.domEvent.target) return this.domEvent.target;
		else if (this.domEvent.srcElement) return this.domEvent.srcElement;
		else return null;
	}
	
	this.cancel = function(){
		this.domEvent.cancelBubble = true;
		if (this.domEvent.stopPropagation) this.domEvent.stopPropagation();
	}
	
	this.cursorX = function(){
		return this.cursorXY()['x'];
	}
	
	this.cursorY = function(){
		return this.cursorXY()['y'];
	}
	
	this.cursorXY = function(){
		var e = this.domEvent;
		var xy = new Object();

		if (e.pageX || e.pageY){
			xy['x'] = e.pageX;
			xy['y'] = e.pageY;
		}
		else if (e.clientX || e.clientY) 	{
			xy['x'] = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
			xy['y'] = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
		}
		
		return xy;
	}
}