








var Indico = {
    SystemIcons: {
        conference: "pict_conf_bleu.png",
        lecture: "pict_event_bleu.png",
        meeting: "pict_meet_bleu.png",
        help: "help.png",
        arrow_previous: "arrow_previous.png",
        arrow_next: "arrow_next.png",
        dot_gray: "dot_gray.png",
        dot_blue: "dot_blue.png",
        dot_green: "dot_green.png",
        dot_red: "dot_red.png",
        dot_orange: "dot_orange.png",
        loading: "loading.gif",
        ui_loading: "load_big.gif",
        role_participant: "role_participant",
        role_creator: "role_creator",
        role_manager: "role_manager",
        remove: "remove.png",
        remove_faded: "remove_faded.png",
        add: "add.png",
        add_faded: "add_faded.png",
        basket: "basket.png",
        tick: "tick.png",
        edit: "edit.png",
        edit_faded: "edit_faded.png",
        currentMenuItem: "collapsd.png",
        itemExploded:"exploded.png",
        enabledSection: "enabledSection.png",
        disabledSection: "disabledSection.png",
        timezone: "timezone.png",
        basket: "basket.png",
        play: "play.png",
        stop: "stop.png",
        play_small: "play_small.png",
        stop_small: "stop_small.png",
        reload: "reload.png",
        reload_faded: "reload_faded.png",
        mail_big: "mail_big.png",
        play_faded: "play_faded.png",
        stop_faded: "stop_faded.png",
        play_faded_small: "play_faded_small.png",
        stop_faded_small: "stop_faded_small.png",
        info: "info.png",
        accept: "accept.png",
        reject:"reject.png",
        user:"user.png",
        room:"room.png",
        popupMenu: "popupMenu.png",
        roomwidgetArrow: "roomwidget_arrow.png",
        breadcrumbArrow: "breadcrumb_arrow.png",
        star: "star.png",
        starGrey: "starGrey.png",
        warning_yellow: "warning_yellow.png",
        arrow_up: "upArrow.png",
        arrow_down: "downArrow.png",
        indico_small: "indico_small.png",
        protected: "protected.png",
        calendarWidget: "calendarWidget.png"
    },
    FileTypeIcons:
        {"sxc": "calc_big.png", "tar": "zip.png", "odp": "impress_big.png", "tiff": "", "htm": "", "ods": "calc_big.png", "odt": "writer_big.png", "gz": "zip.png", "jpg": "", "rtf": "", "sxw": "writer_big.png", "txt": "txt.png", "xml": "", "ps": "ps.png", "zip": "", "gif": "", "html": "", "sxi": "impress_big.png", "wav": "", "csv": "excel.png", "pptx": "powerpoint_big.png", "xlsx": "xls.png", "docx": "word_big.png", "ogv": "", "mov": "", "ical": "", "rm": "", "ogg": "", "png": "", "rss": "", "doc": "word_big.png", "ppt": "powerpoint_big.png", "pdf": "pdf_big.png", "mht": "", "xls": "xls.png"}
    ,
    Urls: {
        JsonRpcService: window.location.protocol == "https:"?"/services/json-rpc":"http://indico.in2p3.fr/services/json-rpc",

        ImagesBase: "http://indico.in2p3.fr/images",
        SecureImagesBase: "/images",

        Login: "http://indico.in2p3.fr/signIn.py",

        Favourites: "http://indico.in2p3.fr/userBaskets.py",

        ConferenceDisplay: "http://indico.in2p3.fr/conferenceDisplay.py",
        ContributionDisplay: "http://indico.in2p3.fr/contributionDisplay.py",
        SessionDisplay: "http://indico.in2p3.fr/sessionDisplay.py",
        ConfCollaborationDisplay: "http://indico.in2p3.fr/collaborationDisplay.py",

        ContribToXML: "http://indico.in2p3.fr/contributionDisplay.py/xml",
        ContribToPDF: "http://indico.in2p3.fr/contributionDisplay.py/pdf",
        ContribToiCal: "http://indico.in2p3.fr/contributionDisplay.py/ical",

        SessionToiCal:  "http://indico.in2p3.fr/sessionDisplay.py/ical",
        ConfTimeTablePDF: "http://indico.in2p3.fr/conferenceTimeTable.py/pdf",
        ConfTimeTableCustomPDF: "http://indico.in2p3.fr/conferenceTimeTable.py/customizePdf",

        SessionModification: "http://indico.in2p3.fr/sessionModification.py",
        ContributionModification: "http://indico.in2p3.fr/contributionModification.py",
        BreakModification: "http://indico.in2p3.fr/confModifSchedule.py/modifyBreak",

        Reschedule: "http://indico.in2p3.fr/confModifSchedule.py/reschedule",
        SlotCalc: "http://indico.in2p3.fr/sessionModifSchedule.py/slotCalc",
        FitSessionSlot: "http://indico.in2p3.fr/sessionModifSchedule.py/fitSlot",

        UploadAction: {
            subcontribution: 'http://indico.in2p3.fr/subContributionModification.py/materialsAdd',
            contribution: 'http://indico.in2p3.fr/contributionModification.py/materialsAdd',
            session: 'http://indico.in2p3.fr/sessionModification.py/materialsAdd',
            conference: 'http://indico.in2p3.fr/conferenceModification.py/materialsAdd',
            category: 'http://indico.in2p3.fr/categoryFiles.py/addMaterial'
        },

        RoomBookingForm: "http://indico.in2p3.fr/roomBooking.py/bookingForm",
        RoomBookingDetails: "http://indico.in2p3.fr/roomBooking.py/roomDetails",
        ConfModifSchedule: "http://indico.in2p3.fr/confModifSchedule.py",
        SubcontrModif: "http://indico.in2p3.fr/contributionModifSubCont.py"
    },

    Data: {
        MaterialTypes: { meeting : [["paper", "Paper"], ["slides", "Slides"], ["poster", "Poster"], ["minutes", "Minutes"], ["agenda", "Agenda"], ["video", "Video"], ["pictures", "Pictures"], ["text", "Text"], ["more information", "More Information"], ["document", "Document"], ["list of actions", "List Of Actions"], ["drawings", "Drawings"], ["proceedings", "Proceedings"], ["live broadcast", "Live Broadcast"]],
        simple_event: [["paper", "Paper"], ["slides", "Slides"], ["poster", "Poster"], ["minutes", "Minutes"], ["agenda", "Agenda"], ["pictures", "Pictures"], ["text", "Text"], ["more information", "More Information"], ["document", "Document"], ["list of actions", "List Of Actions"], ["drawings", "Drawings"], ["proceedings", "Proceedings"], ["live broadcast", "Live Broadcast"], ["video", "Video"], ["streaming video", "Streaming Video"], ["downloadable video", "Downloadable Video"]],
        conference: [["paper", "Paper"], ["slides", "Slides"], ["poster", "Poster"], ["minutes", "Minutes"]],
        category: [["paper", "Paper"], ["slides", "Slides"], ["poster", "Poster"], ["minutes", "Minutes"], ["agenda", "Agenda"], ["video", "Video"], ["pictures", "Pictures"], ["text", "Text"], ["more information", "More Information"], ["document", "Document"], ["list of actions", "List Of Actions"], ["drawings", "Drawings"], ["proceedings", "Proceedings"], ["live broadcast", "Live Broadcast"]]},
        WeekDays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
        DefaultLocation: 'Universe',
        Locations: null
    },

    Security:{
        allowedTags: "a,abbr,acronym,address,area,b,bdo,big,blockquote,br,caption,center,cite,code,col,colgroup,dd,del,dir,div,dfn,dl,dt,em,fieldset,font,h1,h2,h3,h4,h5,h6,hr,i,img,ins,kbd,legend,li,map,menu,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var",
        allowedAttributes: "align,abbr,alt,border,bgcolor,class,cellpadding,color,char,charoff,cite,clear,colspan,compact,dir,disabled,face,href,height,headers,hreflang,hspace,id,ismap,lang,name,noshade,nowrap,rel,rev,rowspan,rules,size,scope,shape,span,src,start,summary,tabindex,target,title,type,valign,value,vspace,width,wrap",
        allowedCssProperties: "background-color,border-top-color,border-top-style,border-top-width,border-top,border-right-color,border-right-style,border-right-width,border-right,border-bottom-color,border-bottom-style,border-bottom-width,border-bottom,border-left-color,border-left-style,border-left-width,border-left,border-color,border-style,border-width,border,bottom,border-collapse,border-spacing,color,clear,clip,caption-side,display,direction,empty-cells,float,font-size,font-family,font-style,font,font-variant,font-weight,font-size-adjust,font-stretch,height,left,list-style-type,list-style-position,line-height,letter-spacing,marker-offset,margin,margin-left,margin-right,margin-top,margin-bottom,max-height,min-height,max-width,min-width,marks,overflow,outline-color,outline-style,outline-width,outline,orphans,position,padding-top,padding-right,padding-bottom,padding-left,padding,page,page-break-after,page-break-before,page-break-inside,quotes,right,size,text-align,top,table-layout,text-decoration,text-indent,text-shadow,text-transform,unicode-bidi,visibility,vertical-align,width,widows,white-space,word-spacing,word-wrap,z-index",
        allowedProtocols: "afs,aim,callto,feed,ftp,http,https,irc,mailto,news,gopher,nntp,rsync,rtsp,ssh,sftp,tag,telnet,urn,webcal,xmpp",
        urlProperties: "action,cite,href,longdesc,src,xlink:href,xml:base",
        sanitizationLevel: 2
    },

    Settings: {
        ExtAuthenticators: [],
        RoomBookingModuleActive: false
    },

    FileRestrictions: {
        MaxUploadFilesTotalSize: 0,
        MaxUploadFileSize: 0
    }
};

