(function(LK) {
	var verbose = true;
	
	LK.util.log = function(message, level) {
		if (verbose && typeof console !== "undefined" && typeof console.debug !== "undefined") {
			if (!level) {
				console.info(message);
			} else {
				console[level](message);
			}
		}
	}

	LK.util.checkForVideoSupport = function() {
		if (typeof LK.instances.browser.videoSupport !== "undefined") {
			return LK.instances.browser.videoSupport;
		}
		return LK.instances.browser.videoSupport = !!document.createElement("video").canPlayType; 
	}

	LK.util.checkForTouchDevice = function() {
		if (typeof LK.instances.browser.touchDevice !== "undefined") {
			return LK.instances.browser.touchDevice;
		}		
		return LK.instances.browser.touchDevice = ((navigator.userAgent.match(/iPad/i) !== null) || (navigator.userAgent.match(/iPhone/i) !== null) || (navigator.userAgent.match(/iPod/i) !== null));
	}

}(LK));