/**
 * @author Rob Been, Qelp BV 
 */
function CustomerObject() {
	// Will be called by main script, fill with extra functions as needed.
	this.BRAND = "Hi";
	this.LOCALE = "nl_NL";
	this.DEFAULT_MANUFACTURER = "Nokia"
	var qelpObject;
	
	this.init = function(qelpObject) {
		this.qelpObject = qelpObject;
		return (swfobject.getQueryParamValue("hideFlash") == "" && swfobject.getFlashPlayerVersion().major >= 9);
	}
	
	
	this.getBrand = function() {
		return this.BRAND;
	}
	
	this.getLocale = function() {
		return this.LOCALE;
	}
	
	this.getDefaultManufacturer = function() {
		return this.DEFAULT_MANUFACTURER;
	}
	this.setCurrentStepText = function(step, total) {
		var intro = "Stap ";
		var middle = " van ";
		var outtro = "";
		
		$("#currentStep").html(intro + step + middle + total + outtro);
	}
	
	this.loadFlash = function () {
		//this.qelpObject.loadFlash("/flash/Qelp User Interface.swf", "724", "484", "8");
		this.qelpObject.loadFlash("/flash/qelpUI.swf", "724", "484", "9");
	}
}
