var controller = {
  opt : {    
    mapWidth: 0,
    mapHeight: 0
  },  
  /*areaWidth: 0,
  areaHeight: 0,*/      
  mouseDown : 0      
}

controller.prototype = {}

controller.init = function(settings) {  
  jQuery.extend(this.opt, settings);
}    