if(window["gEvents_Loaded"] != true)
{
	window["gEvents_Loaded"] = true;
	function registerWindowOnLoad(func)
	{
		gEventManager.registerEvent("window","onload",func);
	}
	function registerDocumentOnMouseDown(func)
	{
		gEventManager.registerEvent("document","onmousedown",func);
	}
	function registerDocumentOnMouseMove(func)
	{
		gEventManager.registerEvent("document","onmousemove",func);
	}
	function registerDocumentOnMouseUp(func)
	{
		gEventManager.registerEvent("document","onmouseup",func);
	}
	function registerDocumentOnKeyDown(func)
	{
		gEventManager.registerEvent("document","onkeydown",func);
	}
	function registerDocumentOnKeyPress(func)
	{
		gEventManager.registerEvent("document","onkeypress",func);
	}
}