

	// this array will contatin init functions to be run at onload
		var initSequence = [];


	// define onload function
		window.onload = function() {
			for (var i in initSequence) {
				initSequence[i]();
			}
		}