(function(){

var instance = null;

this.Page = Class.create({
  
  getInstance:function(){
    if (instance === null)
      throw Error("Page instance still not created");
    return instance;
  }
  
},{
  
  __construct:function(){
    
    if (instance !== null)
      throw Error("Only one instance of Page class allowed (Page is singletone)");
      
    instance = this;
    this.__parent(Page, '__construct', arguments);
    
  }
  
},[Control]);

})();