// ddc_nav_menu.js
BLANK_IMAGE="/ddc/img/b.gif";
//keywords
var code="code";var url="url";var sub="sub";
//styles
var color = {"border":"#4242ff", "shadow":"#c0c0c0", "bgON":"#ffffff","bgOVER":"#4f96ff"};
var color1 = {"border":"#4242ff", "shadow":"#c0c0c0", "bgON":"#ffffff","bgOVER":"#4f96ff"};
var color2 = {"border":"#4242ff", "shadow":"#c0c0c0", "bgON":"#ffffff","bgOVER":"#4f96ff"};
var color3 = {"border":"#4242ff", "shadow":"#c0c0c0", "bgON":"#ffffff","bgOVER":"#4f96ff"};
var color4 = {"border":"#4242ff", "shadow":"#c0c0c0", "bgON":"#ffffff","bgOVER":"#4f96ff"};
var css = {"ON":"clsCMOn", "OVER":"clsCMOver"};
var STYLE1 = {"border":1, "shadow":0, "color":color, "css":css};
var STYLE2 = {"border":1, "shadow":2, "color":color, "css":css};
//items and formats
var MENU_ITEMS =
[
	{"pos":[0,0], "itemoff":[21,0], "leveloff":[21,0], "style":STYLE1, "size":[22,141]},
//  Syntax:
//	{code:"Popup", url:"popup/index.html", "target":"mainFrame"},
//	{code:"Frames support", url:"frames/index.html", "target":"_blank"},
	{code:"About the DDC", nl:1, url:"http://www.ipcc-data.org/ddc_about.html", "format":{"itemoff":[30,0]},
		sub:[
			{"leveloff":[42,141], "itemoff":[-21,0], "size":[22,201], "style":STYLE2},
			{code:"Who runs the DDC?", url:"http://www.ipcc-data.org/ddc_runs.html"},
			{code:"What the DDC provides", url:"http://www.ipcc-data.org/ddc_provides.html"},
			{code:"Why the DDC exists", url:"http://www.ipcc-data.org/ddc_exist.html"}, 
		]
	},
	{code:"Climate observations", nl:1, url:"http://www.ipcc-data.org/obs/index.html",
		sub:[
			{"leveloff":[63,141], "itemoff":[-21,0], "size":[22,181], "style":STYLE2},
			{code:"Data visualisation", url:"http://www.ipcc-data.org/ddc_visualisation.html"},
			{code:"Old CRU data", url:"http://www.ipcc-data.org/obs/cru_climatologies.html",
                sub:[
                {"leveloff":[21,181], "itemoff":[-21,0], "size":[22,251], "style":STYLE2},
			        {code:"30-year means", url:"http://www.ipcc-data.org/obs/get_30yr_means.html"},
			        {code:"Decadal means", url:"http://www.ipcc-data.org/obs/get_10yr_means.html"},
                    ] },
			{code:"Gridded CRU fields", url:"http://www.ipcc-data.org/obs/cru_ts2_1.html"},
			{code:"AR4 global means", url:"http://www.ipcc-data.org/obs/ar4_obs.html"},
		]
	},
	{code:"Climate models", nl:1, url:"http://www.ipcc-data.org/ddc_gcm_intro.html",
		sub:[
            {"leveloff":[21,141], "itemoff":[-21,0], "size":[22,161], "style":STYLE2},
         {code:"Monthly means", url:"http://www.mad.zmaw.de/IPCC_DDC/html/ddc_gcmdata.html",
             sub:[
                {"leveloff":[42,161], "itemoff":[-21,0], "size":[22,251], "style":STYLE2},
                  {code:"SAR (1995): IS92 scenarios", url:"http://www.mad.zmaw.de/IPCC_DDC/html/IS92A/index.html"},
                  {code:"TAR (2001): SRES scenarios", url:"http://www.mad.zmaw.de/IPCC_DDC/html/SRES_TAR/index.html"},
                  {code:"AR4 (2007): SRES scenarios", url:"http://www.mad.zmaw.de/IPCC_DDC/html/SRES_AR4/index.html"},
              ]
         },
         {code:"Summary data", url:"http://www.ipcc-data.org/ddc_climscen.html",
             sub:[
                 {"leveloff":[63,161], "itemoff":[-21,0], "size":[22,261], "style":STYLE2},
                 {code:"Data visualisation", url:"http://www.ipcc-data.org/ddc_visualisation.html"},
                 {code:"SAR (1995): IS92 scenarios", url:"http://www.ipcc-data.org/is92/gcm_data.html"},
                 {code:"TAR (2001): SRES scenarios", url:"http://www.ipcc-data.org/sres/gcm_data.html"},
                 {code:"AR4 (2007): SRES scenarios", url:"http://www.ipcc-data.org/ar4/gcm_data.html"},
                 ]
         },
		]
	},
	{code:"Socio-economic data and Scenarios", nl:2, url:"/ddc/index.html",
// BADC & WDCC {code:"Socio-economic data and Scenarios", nl:2, url:"http://sedac.ciesin.columbia.edu/ddc/index.html",
		sub:[
			{"leveloff":[63,141], "itemoff":[-21,0], "size":[22,341], "style":STYLE2},
			{code:"SAR (1995): IS92 scenarios", url:"/ddc/is92/index.html"},
			{code:"TAR (2001), AR4 (2007): SRES scenarios", url:"/ddc/sres/index.html"},
			{code:"Baseline Data", url:"/ddc/baseline/index.html"},
			{code:"AR4 (2007): Observed Climate Change Impacts", url:"/ddc/observed/index.html"},
		]
	},
	{code:"Environmental data and Scenarios", nl:2, url:"http://www.ipcc-data.org/ddc_envdata.html"},
	{code:"Scenario process for AR5", nl:2, url:"/ddc/ar5_scenario_process/index.html"},
// BADC & WDCC {code:"Scenario process for AR5", nl:2, url:"http://sedac.ciesin.columbia.edu/ddc/ar5_scenario_process/index.html"}, 
	{code:"Supporting material", nl:2, url:"http://www.ipcc-data.org/guidelines/index.html"},

];

