﻿if (!window.console) {
	window.console = function() { };

	window.console.log = function() {
		var value = "";
		for (var i = 0; i < arguments.length; i++) {
			value += arguments[0].toString()

			if (i != (arguments.length - 1))
				value += " ## ";
		}
		//alert(value);
	};

	window.console.info = function() {
		var value = "";
		for (var i = 0; i < arguments.length; i++) {
			value += arguments[0].toString()

			if (i != (arguments.length - 1))
				value += " ## ";
		}
		alert(value);
	};

	window.console.warn = function() {
		var value = "";
		for (var i = 0; i < arguments.length; i++) {
			value += arguments[0].toString()

			if (i != (arguments.length - 1))
				value += " ## ";
		}
		alert(value);
	};

	window.console.profile = function() { };

	window.console.profileEnd = function() { };
}

if (!window.fireunit) {
	window.fireunit = function() { };

	window.fireunit.ok = function(test, message) { };

	window.fireunit.compare = function(expression1, expression2, message) { };

	window.fireunit.reCompare = function(regEx, expression, message) { };

	window.fireunit.testDone = function() { };

	window.fireunit.mouseDown = function(domElement) { };

	window.fireunit.click = function(domElement) { };

	window.fireunit.focus = function(domElement) { };

	window.fireunit.key = function(domElement, key) { };

	window.fireunit.getProfile = function() { };

	window.fireunit.profile = function(fn) { };
}