//- Instinct -//
function Instinct() {
//- Model - Initialize -//
	this.onLoad_Hash = new Array();
	this.onResize_Hash = new Array();
	this.LoadComplete = false;

//- Model - Link -//
	this.registerOnLoad = registerOnLoad;
	this.onLoad = onLoad;
	this.onLoadComplete = onLoadComplete;
	this.registerOnResize = registerOnResize;
	this.onResize = onResize;

//- Model - Implementation -//
	function registerOnLoad(fLoad) {
		this.onLoad_Hash[this.onLoad_Hash.length] = fLoad;
	} 
	function onLoad() {
		this.LoadComplete = false;
		this.Detect.onLoad();
		for (var hLoad in this.onLoad_Hash) {
			this.onLoad_Hash[hLoad]();
		}
	}
	function onLoadComplete() {
		this.LoadComplete = true;
	}

	function registerOnResize(fResize) {
		this.onResize_Hash[this.onResize_Hash.length] = fResize;
	} 
	function onResize() {
		for (var hResize in this.onResize_Hash) {
			this.onResize_Hash[hResize]();
		}
	}
}

//- static -//
var oInstinct = new Instinct();
var g_bIsLoadComplete = false;