//################################################################################################ DATA STRUCTURES ###
//# DATA STRUCTURES  - defines data stuctures internally used by the various classes of the project
//--------------------------------------------------------------------------------------------------------------------
var OVERLAY = {
  title:    undefined,
  lat:      undefined,
  lng:      undefined,
  address:  undefined,
  city:     undefined,
  country:  undefined,
  type:     undefined,
  group:    undefined,
  category: undefined,
  icon:     undefined,
  custom:   undefined,
  org:      undefined,
  pqr:      undefined,
  dqr:      undefined,
                  
  description: {
    short:  undefined,
    long:   undefined
  },
  activity: {
    mon_s:  undefined,
    mon_e:  undefined,
    tue_s:  undefined,
    tue_e:  undefined,
    wed_e:  undefined,
    wed_s:  undefined,
    thu_s:  undefined,
    thu_e:  undefined,
    fri_s:  undefined,
    fri_e:  undefined,
    sat_s:  undefined,
    sat_e:  undefined,
    sun_s:  undefined,
    sun_e:  undefined
  },
  GetProperty: function(property){
    var value = "";
    if(this[property] != undefined){
      value = this[property];
    }
    else if(this["-"+property] != undefined){
      value = this["-"+property];
    }
    else if(this["+"+property] != undefined){
      value = this["+"+property];
    }
    return value; 
  }
}

var DESCRIPTION = {
  short:  undefined,
  long:   undefined
}      

var ACTIVITY = {
  mon_s:  undefined,
  mon_e:  undefined,
  tue_s:  undefined,
  tue_e:  undefined,
  wed_e:  undefined,
  wed_s:  undefined,
  thu_s:  undefined,
  thu_e:  undefined,
  fri_s:  undefined,
  fri_e:  undefined,
  sat_s:  undefined,
  sat_e:  undefined,
  sun_s:  undefined,
  sun_e:  undefined
} 

var WEB = {
  DATABASE:     undefined,
  SERVER: {
    DATA: undefined,
    RSS:  undefined,
    MULTIDEDIA: undefined,
    MAPS: undefined
  } 
}

var PAGE = {
  FORMATING: {
    MAP: {
      WIDTH:        undefined,
      HEIGHT:       undefined,    
      INIT_WIDTH:   undefined,
      INIT_HEIGHT:  undefined,    
      MIN_WIDTH:    "0",
      MIN_HEIGHT:   "0",
      MAX_WIDTH:    "MAX",
      MAX_HEIGHT:   "MAX", 
      GetInitHeight: function(){ return (this.INIT_HEIGHT != "MAX" ? this.INIT_HEIGHT : this.MIN_HEIGHT); }
    },
    NAV: {
      WIDTH:        undefined,
      HEIGHT:       undefined,    
      INIT_WIDTH:   undefined,
      INIT_HEIGHT:  undefined,    
      MIN_WIDTH:    "0",
      MIN_HEIGHT:   "0",
      MAX_WIDTH:    "MAX",
      MAX_HEIGHT:   "MAX", 
      GetInitHeight: function(){ return (this.INIT_HEIGHT != "MAX" ? this.INIT_HEIGHT : this.MIN_HEIGHT); }
    },    
    MEDIA: {
      WIDTH:        undefined,
      HEIGHT:       undefined,    
      INIT_WIDTH:   undefined,
      INIT_HEIGHT:  undefined,    
      MIN_WIDTH:    "0",
      MIN_HEIGHT:   "0",
      MAX_WIDTH:    "MAX",
      MAX_HEIGHT:   "MAX", 
      GetInitHeight: function(){ return (this.INIT_HEIGHT != "MAX" ? this.INIT_HEIGHT : this.MIN_HEIGHT); }
    }
  }
}
var requestDetails = {
  file: {
    name: "",
    size: ""
  },
  transfer: {
    start: 0,
    end: 0,
    delay: 0
  },
  render: {
    start: 0,
    end: 0,
    delay: 0
  },  
  storage: {
    start: -1,
    end: -1,
    count: 0
  }        
}

var gmapOptions = {
  map: {
    smoothZoomEnabled: true				 
  },	
  overlay: {
    draggableOnClick: false,
    deactivateTimeout: 10000
  },
  menu: {
  },
  search: {
    groups_depth: 3,
    groups_separator: ', ',
    categories_depth: 3,
    categories_separator: ', '
  },
  layout: {
  }
}   

var dlgOptions = {
  display: {
    opacityEnabled: true				 
  },	
  fx: {
    fadeEnabled: false 
  }  
}   


