/*
 * Copyright (c) 2009, Techtribe B.V.
 * Url: http://www.techtribe.nl
 * Author: Remon de Boer
 *
 * SCHUBERG.model.MainModel
 */
function Model() {

}

Model.prototype =
{
	//CONSTANTS
	MAX_STAGE_WIDTH: 1000,
	MIN_STAGE_WIDTH: 840,
	HEADER_BAR_HEIGHT: 130,
	FOOTER_BAR_HEIGHT: 44,
	SUB_MENU_HEIGHT: 35,

	//APPLICATION VARIABLES
	resizeFactor: 1,
	stageWidth: 0,
	stageHeight: 0,

	//STORAGE VARIABLES
	photosObj: null,
	menuObj: null,

	//MainModel instance
	instance: null
}
Model.getInstance = function(){
    if(this.instance == null) {
        this.instance = new Model();
    }
    return this.instance;
}
SCHUBERG.model.Model = Model;