BLANK_IMAGE="/img/1pix.gif";

//keywords
var code="code";var url="url";var sub="sub";

//styles
var color = {"border":"#FFFFFF", "shadow":"#0184E7", "bgON":"#FFFFFF","bgOVER":"#CBE7FF"};
//var color = {"border":"#5555FF", "shadow":"#808080", "bgON":"#0184E7","bgOVER":"#5500FF"};
//var color = {"border":"#666666", "shadow":"#808080", "bgON":"#7676FF","bgOVER":"#aaaaFF"};
//var color = {"border":"#286583", "shadow":"#808080", "bgON":"#286583","bgOVER":"#5c90aa"};
//var color = {"border":"#286583", "shadow":"#808080", "bgON":"#286583","bgOVER":"#4090CB"};
var css = {"ON":"clsCMOn", "OVER":"clsCMOver"};
var STYLE = {"border":1, "shadow":0, "color":color, "css":css};

var css1 = {"ON":"clsCMOn1", "OVER":"clsCMOver1"};
var STYLE1 = {"border":1, "shadow":5, "color":color, "css":css1};

//items and formats
var MENU_ITEMS =
[
	{"pos":[0,100], "itemoff":[25,0], "leveloff":[0,91], "style":STYLE, "size":[22,91]},
         {code:"About ESR", url:"About.php",
          sub:[
                {"itemoff":[22,0],"size":[22,280]},
                {code:"Executive Council "                        ,url:"About.php?page=Council"          , format:{style:STYLE1}},
                {code:"ESR Member Societies of the ESR"               ,url:"About.php?page=Member_societies", format:{style:STYLE1}},
                {code:"Constitution of the ESR "                  ,url:"About.php?page=Constitution"     , format:{style:STYLE1}},
                {code:"Minutes of Committee Meeting"              ,url:"About.php?page=Index&dos=Minutes", format:{style:STYLE1}},
                {code:"Awards "                                   ,url:"About.php?page=Awards"           , format:{style:STYLE1}},
                {code:"Rules of ESR Conferences and Schools"      ,url:"About.php?page=Rules"            , format:{style:STYLE1}},
                {code:"Reports from ESR Conferences and Schools " ,url:"About.php?page=Reports"          , format:{style:STYLE1}},
                {code:"History of the ESR"                        ,url:"About.php?page=History"          , format:{style:STYLE1}}
              ]
        },

         {code:"Meetings", url:"Meetings.php",
          sub:[
                {"itemoff":[22,0],"size":[22,280]},
                {code:"Search meetings database"                  ,url:"Meetings.php?action=search&start=0"  , format:{style:STYLE1}},
                {code:"Future meetings"                           ,url:"Meetings.php?action=list&start=0"    , format:{style:STYLE1}},
                {code:"Past meetings"                             ,url:"Meetings.php?action=listpast&start=0", format:{style:STYLE1}},
                {code:"Submit a meeting announcement"             ,url:"Meetings.php?action=put"             , format:{style:STYLE1}},
                {code:"Rules of ESR Conferences and Schools"      ,url:"About.php?page=Rules"                , format:{style:STYLE1}},
                {code:"Reports from ESR Conferences and Schools " ,url:"About.php?page=Reports"              , format:{style:STYLE1}}
              ]
        },
         {code:"Email list", url:"Maillist.php",
          sub:[
                {"itemoff":[22,0],"size":[22,180]},
                {code:"Search public informations"  ,url:"Maillist.php?action=search&start=0", format:{style:STYLE1}},
                {code:"Browse public informations"  ,url:"Maillist.php?action=list&start=0"  , format:{style:STYLE1}},
                {code:"Register as a new user"      ,url:"Maillist.php?action=put"           , format:{style:STYLE1}},
                {code:"Past mailings"               ,url:"Maillist.php?action=mailing"       , format:{style:STYLE1}}
              ]
       },
         {code:"Jobs", url:"Jobs.php",
		  sub:[
                {"itemoff":[22,0],"size":[22,180]},
                {code:"Search job database"          ,url:"Jobs.php?action=search&start=0", format:{style:STYLE1}},
                {code:"Have a look at jobs openings" ,url:"Jobs.php?action=list&start=0"  , format:{style:STYLE1}},
                {code:"Submit a jobs openings"       ,url:"Jobs.php?action=put"           , format:{style:STYLE1}}
			  ]	
        },

         {code:"Publications", url:"Abstracts.php",
		  sub:[
                {"itemoff":[22,0],"size":[22,180]},
                {code:"Search file database"             ,url:"Abstracts.php?action=search&start=0", format:{style:STYLE1}},
                {code:"Have a look at the list of files" ,url:"Abstracts.php?action=list&start=0&critere=valide%3D%27Y%27"  , format:{style:STYLE1}},
                {code:"Submit a file"                    ,url:"Abstracts.php?action=put"           , format:{style:STYLE1}}
			  ]	
        },

//         {code:"Forums", url:"/forum/Index.php"},
         {code:"Links", url:"Links.php",
		  sub:[
                {"itemoff":[22,0],"size":[22,180]},
                {code:"Search link database"             ,url:"Links.php?action=search&start=0", format:{style:STYLE1}},
                {code:"Have a look at the list of links" ,url:"Links.php?action=list&start=0&critere=valide%3D%27Y%27"  , format:{style:STYLE1}},
                {code:"Submit a link"                    ,url:"Links.php?action=put"           , format:{style:STYLE1}}
			  ]	
        }
];
