function Common(){

	// ------------------------------------------------------------------------------------------
	// K_CHANGE REDIRECT
	// ------------------------------------------------------------------------------------------	
	this.change = function(obj){
		Change.change(obj);
	};
	

	// ------------------------------------------------------------------------------------------
	// HELPER METHODS
	// ------------------------------------------------------------------------------------------
	this.tracer = function() {
		
		if(Global._configObj._devBln) console.log(arguments);
	};
	this.generateInputPrompts = function(obj) {
		Methods.generateInputPrompts(obj);
	};
	
	/*
	 * Determines if the browser can play .mp4 videos
	 */
	this.canPlayMP4 = function(obj) {
		return Methods.canPlayMP4(obj);
	};	
	
	this.isiPad = function(obj) {
		return Methods.isiPad();
	}
	
	this.getDropDownIndexFromEvent = function(obj) {
		return Methods.getDropDownIndexFromEvent(obj);
	};
	this.getDropDownLabelFromEvent = function(obj) {
		return Methods.getDropDownLabelFromEvent(obj);
	};
	
	this.serializeObject = function(obj) {
		return Methods.serializeObject(obj);
	};
	
	this.displayActivityIndicator = function(obj) {
		Methods.displayActivityIndicator(obj);
	};
	this.hideActivityIndicator = function(obj) {
		Methods.hideActivityIndicator(obj);
	};
	this.addActivityIndicator = function(obj) {
		Methods.addActivityIndicator(obj);
	};
	this.removeActivityIndicator = function(obj) {
		Methods.removeActivityIndicator(obj);
	};
	
	this.sqlDateToJS = function(obj) {
		return Methods.sqlDateToJS(obj);
	};
	
	this.swapDepths = function (obj) {
		Methods.swapDepths(obj);
	};
	
	this.sendEmail = function (obj){
		Methods.sendEmail(obj);
	};
	
	// ------------------------------------------------------------------------------------------
	// REQUEST METHODS
	// ------------------------------------------------------------------------------------------
	this.request = function(obj) {
		K_Request.request(obj);
	};
	
	this.addRequest = function(obj) {
		K_Request.addRequest(obj);
	};
	
	this.addStack = function(obj) {
		K_Request.addStack(obj);
	};
	
	
	this.initStack = function(obj) {
		K_Request.initStack(obj);
	};
	
	
	this.removeStack = function(obj) {
		K_Request.removeStack(obj);
	};
	
	
	// ------------------------------------------------------------------------------------------
	// EVENT METHODS
	// ------------------------------------------------------------------------------------------
	
	
	this.executeEvent = function(obj) {
		Methods.executeEvent(obj);
	};
	
	this.addEventListener = function(obj) {
		Methods.addEventListener(obj);
	};
	this.removeEventListener = function(obj) {
		Methods.removeEventListener(obj);
	};

	this.dispatchDynamicEvent = function(obj) {
		Methods.dispatchDynamicEvent(obj);
	};
	this.embedSWF = function(obj) {
		Methods.embedSWF(obj);
	};
	this.executeOnSWF = function(obj) {
		return Methods.executeOnSWF(obj);
	};
	
	this.scorch = function(obj) {
		Methods.scorch(obj);
	};
	
	
	
	
}

var Common = new Common();


//for PHP Common::tracer
function toggleTracerDisplay(id) { document.getElementById(id).style.display = (document.getElementById(id).style.display == "block") ? "none" : "block"; }

