//keywords
var code="code";var url="url";var sub="sub";
//styles
var defcolor = {"border":"#ffffff", "shadow":"#DBD8D1", "bgON":"#b9c9f9","bgOVER":"lightsteelblue", "imagebg":"#DBD8D1", "oimagebg":"#B6BDD2"};

var defsubcolor = {"border":"#ffffff", "shadow":"#DBD8D1", "bgON":"#b9c9f9","bgOVER":"lightsteelblue", "imagebg":"#DBD8D1", "oimagebg":"#B6BDD2"};
var defcss = {"ON":"clsCMTopOn", "OVER":"clsCMTopOver"};
var defsubcss = {"ON":"clsCMOn", "OVER":"clsCMOver"};
var TOP_LEFT = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defcolor, "css":defcss};
var TOP_MIDDLE = {"border":0, "borders":[0,1,0,1], "shadow":0, "color":defcolor, "css":defcss};
// var TOP_RIGHT = {"border":0, "borders":[0,1,1,1],"shadow":0, "color":defcolor, "css":defcss};

// Stile für Submenu
var STYLE1 = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_TOP = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defsubcolor, "css":defsubcss};
var STYLE_BOTT = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defsubcolor, "css":defsubcss};


var HEIGHT_M=24;
var OFF_M=19;
var WIDTH_M=130;
var WIDTH_SM=150;
var OFF_SM=140;

var MENU_ITEMS = [
	{"pos":'relative', "size":[HEIGHT_M,WIDTH_M], "itemoff":[HEIGHT_M-1,0],"imgsize":[12,27], "leveloff":[0,0], "delay":600,
"image":"/resources/menu/img/blank.gif", "imgsize":[20,24], "arrow":null, "arrsize":[13,13],
"style":TOP_MIDDLE},

	{code:"Wir über uns", url:"", "format":{"arrow":"/resources/menu/img/arrow.gif", "oarrow":"/resources/menu/img/arrow.gif", "image":null, "style":TOP_LEFT},
	sub:[
            	{"size":[HEIGHT_M,WIDTH_SM], "itemoff":[HEIGHT_M-1,0], "leveloff":[2,WIDTH_M-15], "style":STYLE1},
		{code:"Veranstalter", url:"/infos/veranstalter.php", "format":{"arrow":null, "oarrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Impressum", url:"/infos/impressum.php", "format":{"arrow":null, "image":null, "style":STYLE_BOTT}},
		]
	},
	{code:"allg. Törninfos", url:"", "format":{"arrow":"/resources/menu/img/arrow.gif", "oarrow":"/resources/menu/img/arrow.gif", "image":null, "style":TOP_LEFT},
	sub:[
            	{"size":[HEIGHT_M,WIDTH_SM], "itemoff":[HEIGHT_M-1,0], "leveloff":[2,WIDTH_M-15], "style":STYLE1},
		{code:"An- und Abreise", url:"/toerninfos/anreise_abreise.php", "format":{"arrow":null, "oarrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Papiere + Versicherung", url:"/toerninfos/papiere_versicherung.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Bordkasse", url:"/toerninfos/bordkasse.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Bekleidung", url:"/toerninfos/bekleidung.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Prüfungen", url:"/toerninfos/pruefungen.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Organisatorisches", url:"/toerninfos/organisatorisches.php", "format":{"arrow":null, "image":null, "style":STYLE_BOTT}},
		]
	},
	{code:"Unsere Yachten", url:"", "format":{"arrow":"/resources/menu/img/arrow.gif", "oarrow":"/resources/menu/img/arrow.gif", "image":null, "style":TOP_LEFT},
	sub:[
            {"size":[HEIGHT_M,WIDTH_SM], "itemoff":[HEIGHT_M-1,0], "leveloff":[2,WIDTH_M-15], "style":STYLE1},
            	{code:"SY Antares", url:"/yachten/antares.php", "format":{"image":null, "oimage":null, "style":STYLE_TOP}},
		{code:"SY Orion", url:"/yachten/orion.php", "format":{"image":null, "oimage":null, "style":STYLE_BOTT}},
		
	     ]
	},
	{code:"Törnübersicht", url:"", "format":{"arrow":"/resources/menu/img/arrow.gif", "oarrow":"/resources/menu/img/arrow.gif", "image":null, "style":TOP_LEFT},
	sub:[
            {"size":[HEIGHT_M,WIDTH_SM], "itemoff":[HEIGHT_M-1,0], "leveloff":[2,WIDTH_M-15], "style":STYLE1},
	      	{code:"SY Antares", url:"/reisen/segelreisen-segeltoerns-antares.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
	      	{code:"SY Orion", url:"/reisen/segelreisen-segeltoerns-orion.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Prüfungstörns SKS", url:"/reisen/pruefungstoerns_sks.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Prüfungstörns SSS", url:"/reisen/pruefungstoerns_sss.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
	//	{code:"Familientörns", url:"/reisen/segelreisen-segeltoerns-familien.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Flottille", url:"/toern_details.php?toern_id=377", "format":{"image":null, "oimage":null, "style":STYLE_BOTT}},
	     ]
	},
	{code:"Seegebiete", url:"", "format":{"arrow":"/resources/menu/img/arrow.gif", "oarrow":"/resources/menu/img/arrow.gif", "image":null, "style":TOP_LEFT},
	sub:[
            {"size":[HEIGHT_M,WIDTH_SM], "itemoff":[HEIGHT_M-1,0], "leveloff":[2,WIDTH_M-15], "style":STYLE1},
	        {code:"Ostsee", url:"/reviere/ostsee.php", "format":{"image":null, "oimage":null, "style":STYLE_TOP}},
		{code:"Nordsee", url:"/reviere/nordsee.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Englischer Kanal", url:"/reviere/englischer_kanal.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Schottland / Irische See", url:"/reviere/schottland.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Atlantik", url:"/reviere/atlantik_biskaya.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Algarve", url:"/reviere/algarve.php", "format":{"arrow":null, "image":null, "style":STYLE_TOP}},
		{code:"Kanaren", url:"/reviere/gran_canaria.php", "format":{"image":null, "oimage":null, "style":STYLE_TOP}},
		{code:"Mittelmeer", url:"/reviere/mittelmeer.php", "format":{"arrow":null, "image":null, "style":STYLE_BOTT}},
	     ]
	},
	{code:"Skipper", url:"/skipper.php", "format":{"arrow":null, "image":null, "style":TOP_LEFT}},
	{code:"Segelkurse", url:"http://www.segelschule-hering.de", "target":"new", "format":{"arrow":null, "image":null, "style":TOP_LEFT}},
	{code:"Fernkurse", url:"http://www.segelschule-hering.de/fernkurse/ueberalle_fern.php", "target":"new", "format":{"arrow":null, "image":null, "style":TOP_LEFT}},
	{code:"Fotogalerie", url:"/infos/fotogalerie/index.php", "format":{"arrow":null, "image":null, "style":TOP_LEFT}},
	{code:"Kontakt", url:"/kontakt.php", "format":{"arrow":null, "image":null, "style":TOP_LEFT}},

];

