﻿var Globals = null;
var DIR_ARRAY = null;
var GLBL_ADDRESS = null;

//FIX FF3 wrong client click point
(function() {
	var mouseEvt;
	if (typeof document.createEvent !== 'undefined') {
		mouseEvt = document.createEvent('MouseEvents');
	}
	if (mouseEvt && mouseEvt.__proto__ && mouseEvt.__proto__.__defineGetter__) {
		mouseEvt.__proto__.__defineGetter__('pageX', function() {
			return this.clientX + window.pageXOffset;
		});
		mouseEvt.__proto__.__defineGetter__('pageY', function() {
			return this.clientY + window.pageYOffset;
		});
	}
})();