// 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:"Observations", nl:1, url:"http://www.ipcc-ddc.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:"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:"CRU data", url:"http://www.ipcc-data.org/obs/cru_climatologies.html"},
		]
	},
	{code:"Models: Summary data", nl:2, url:"http://www.ipcc-data.org/ddc_climscen.html",
		sub:[
			{"leveloff":[63,141], "itemoff":[-21,0], "size":[22,221], "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:"Models: Monthly means", nl:2, url:"http://www.mad.zmaw.de/IPCC_DDC/html/ddc_gcmdata.html",
		sub:[
			{"leveloff":[42,141], "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:"Socio-economic data", nl:2, url:"/ddc/index.html",
		sub:[
			{"leveloff":[63,141], "itemoff":[-21,0], "size":[22,301], "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:"Supporting material", nl:1, url:"http://www.ipcc-data.org/guidelines/index.html"},

];
