/*jslint white: true, onevar: true, browser: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, strict: true, newcap: true, immed: true */
var EONE = {
	checkForObject: function checkForObj(objName, obj) {
		var objStatus = true,
			nextObjName,
			buildObj = function (objName, obj) {
					var newObj,
						newObjName = objName.pop();

					if (objName.length > 0) {
						newObj = buildObj(objName, obj);
					} else {
						newObj = obj;
					}

					newObj[newObjName] = {};

					return newObj[newObjName];
				},
			testObj = function (obj, objName) {
					var nextObjName;
				};

		obj = obj || window;
		if(typeof objName === 'string') {
			objName = objName.split('.');
		}

		if (obj[objName[0]]) {
			nextObjName = objName.shift();
			objStatus = checkForObj(objName, obj[nextObjName]);
		} else {
			objStatus = false;
			buildObj(objName, obj);
		}

		return objStatus;
	}
};

Object.create = function (o) {
	function F () {};
	F.prototype = o;
	return new F();
}
