var Expenews = {
    Config: {
        Url:{
            base: "/",
            accounts: "/server/accounts",
            accountUpdate: function(accountId){return "/server/accounts/"+accountId;},
            accountImage: function(accountId){return "/server/accounts/"+accountId+"/image";},
            expeditionsCreate: "/server/expeditions",
            expeditionsUpdate: function(expeditionId){return "/server/expeditions/"+expeditionId;},
            expeditionsMessages: function(expeditionId){return "/server/expeditions/"+expeditionId+"/messages";},
            expeditionSuscribers: function(expeditionId){return "/server/expeditions/"+expeditionId+"/suscribers";},
            expeditionsMembers: function(expeditionId){return "/server/expeditions/"+expeditionId+"/members";},
            expeditionsEditors: function(expeditionId){return "/server/expeditions/"+expeditionId+"/editors";},
            expeditionsConnectMembers: function(expeditionId){return "/server/expeditions/"+expeditionId+"/connect_members";},
            expeditionsConnectEditors: function(expeditionId){return "/server/expeditions/"+expeditionId+"/connect_editors";},
            expeditionImage: function(expeditionId){return "/server/expeditions/"+expeditionId+"/image";},
            expeditionsAddMembers: function(expeditionId){return "/server/expeditions/"+expeditionId+"/membersadmin";},
            dispatchImages: function(expeditionId, dispatchId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId+"/images";},
            updateDispatch: function(expeditionId, dispatchId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId;},
            deleteDispatch: function(expeditionId, dispatchId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId;},
            dispatchImages: function(expeditionId, dispatchId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId+"/images";},
            dispatchImage: function(expeditionId, dispatchId, imageId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId+"/images/"+imageId;},
            dispatchChangeAuthor: function(expeditionId, dispatchId, audioId, authorId){return "/server/expeditions/"+expeditionId+"/dispatches/"+dispatchId+"/audios/"+audioId+"/author?id="+authorId;},
            htmlDispatchesPage: function(language, expeditionId){return "/"+language+"/expeditions/"+expeditionId+"/dispatches";},
            login: "/server/accounts/login",
            unsuscribe: function(unsuscribeCode){	return '/server/invitations/'+unsuscribeCode+'/unsuscribe';}
        },
        Satellital:{
            iridium: {
                max: 158,
                invalidCharacters: "[^@$ !\"#'\n()*,-./0123456789:;<=>?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]"
            }
        }
    },
    Variables: {
        expeditionId: -1
    }
    
};