/* manager object for onload events */
var oGod = {
		oBroadcast 	: {}, // broadcaster
		aResizers 	: [], // resize statements
		aLoaders 	: [], // onload statements
		// initialization
		mPush		: function () { arguments [ 0 ][ arguments [ 0 ].length ] = arguments [ 1 ]},
		mOnload 	: function () { var i = 0; while ( i < arguments.length ) oGod.mPush ( oGod.aLoaders,  arguments [ i++ ])},		
		mOnResize 	: function () { var i = 0; 	while ( i < arguments.length ) oGod.mPush ( oGod.aResizers,  arguments [ i++ ])},		
		mExecute 	: function () { var i = 0; while ( i < arguments [ 0 ].length ) arguments[ 0 ][ i++ ] (); },
		mLoad 		: function () { oGod.mExecute ( oGod.aLoaders );},
		mResize		: function () { oGod.mExecute ( oGod.aResizers );}
}
window.onresize = oGod.mResize;


