﻿var STYLE_TOP = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"red",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#85857d",		// background color for the items
		bgOVER:"#3a446f"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"menuTopOn",		// CSS class for items
		OVER:"menuTopOver"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS_TOP = [
	{pos:'relative', leveloff:[19,0], style:STYLE_TOP},
	{code:"gamt", url:"gamt.html", format:{size:[19,80]},
		sub:[
			{itemoff:[19,0]},
			{code:"Aktuelles", "url":"aktuelles.html"},
			{code:"Geschichte", "url":"geschichte.html"},
			{code:"Links", "url":"links.html"}
		]
	},
	{code:"Ausbildung", url:"ausbildung.html?v=GAMT", format:{size:[19,100], itemoff:[0,80]},
		sub:[
			{itemoff:[19,0], size:[19,190]},
			{code:"Kaltenborn-Evjenth-Konzept", "url":"ausbildung.html?v=GAMT"},
			{code:"Manualtherapie", "url":"manualtherapie.html?v=GAMT"},
			{code:"Medizinische Trainingstherapie", "url":"kursreihe.aspx?v=GAMT&krh=MTT"},
    		{code:"Viszerale Osteopathie", "url":"viszerale.html?v=GAMT"},
    		{code:"Diverse Kurse", "url":"kursreihe.aspx?v=GAMT&krh=diverse"},
    		{code:"Total Gym", "url":"totalgym.html?v=GAMT"},
			{code:"Pilates", "url":"pilates.html?v=GAMT"}
		]
	},
	{code:"Veranstalter", url:"veranstalter.html", format:{size:[19,130], itemoff:[0,100]},
		sub:[
			{itemoff:[19,0], size:[19,220]},
			{code:"gamt", "url":"gamtmain.html?v=GAMT"},
    		{code:"Lymphologische Physiotherapie", "url":"lymphmain.html?v=LYMPH"},
			{code:"Neuro-orthopädisches Institut (NOI)", "url":"noimain.html?v=NOI"},
			{code:"spt education", "url":"sptmain.html?v=SPT"}
		]
	},
	{code:"Kursprogramme", url:"kursprogramm.aspx", format:{size:[19,130], itemoff:[0,100]},
		sub:[]
	},
	{code:"Kontakt", url:"kontakt.html", format:{size:[19,100], itemoff:[0,130]},
	    sub:[] 
	}
];


var STYLE_LEFT = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#d8d6d6",		// background color for the items
		bgOVER:"#3a446f"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"menuLeftOn",		// CSS class for items
		OVER:"menuLeftOver"	// CSS class  for item which is under mouse
	}
};



var MENU_ITEMS_LEFT_GAMT = [
	{pos:'relative', itemoff:[20,0], leveloff:[5,50], style:STYLE_LEFT, size:[20,150]},
	{code:"Kurs&uuml;bersicht", url:"gamtmain.html?v=GAMT",	sub:[] },
	{code:"Kursreihe A", url:"kursreihe.aspx?v=GAMT&krh=A", sub:[] },
	{code:"Kursreihe B", url:"kursreihe.aspx?v=GAMT&krh=B", sub:[] },
	/*{code:"Kursreihe C", url:"kursreihe.aspx?v=GAMT&krh=C", sub:[] },*/
	{code:"Kursreihe MTT", url:"kursreihe.aspx?v=GAMT&krh=MTT", sub:[] },
	{code:"Kursreihe Visz.Osteo", url:"kursreihe.aspx?v=GAMT&krh=ViszOsteo", sub:[] },
	{code:"Kursreihe Ges.Coach", url:"kursreihe.aspx?v=GAMT&krh=Gesundheitscoach", sub:[] },
	{code:"Kursreihe Pilates", url:"kursreihe.aspx?v=GAMT&krh=Pilates", sub:[] },
	{code:"Kursreihe Diverse", url:"kursreihe.aspx?v=GAMT&krh=diverse", sub:[] },
	{code:"Pr&uuml;fungen", url:"gamtpruefungen.html?v=GAMT", sub:[] },
	{code:"Kursprogramm", url:"kursprogramm.aspx?v=GAMT&ver=Gamt",	sub:[] },
	{code:"ReferentInnen", url:"gamtreferenten.html?v=GAMT", sub:[] },
	{code:"Kursort", url:"kursort.html?v=GAMT", sub:[] },
];

var MENU_ITEMS_LEFT_NOI = [
	{pos:'relative', itemoff:[20,0], leveloff:[5,50], style:STYLE_LEFT, size:[20,150]},
	{code:"Kurs&uuml;bersicht", url:"noimain.html?v=NOI",	sub:[] },
	{code:"Kursreihe NOI", url:"kursreihe.aspx?v=NOI&krh=NOI", sub:[] },
	{code:"Kursprogramm", url:"kursprogramm.aspx?v=NOI&ver=NOI",	sub:[] },
	{code:"Kursort", url:"kursort.html?v=NOI", sub:[] },
];

var MENU_ITEMS_LEFT_SPT = [
	{pos:'relative', itemoff:[20,0], leveloff:[5,50], style:STYLE_LEFT, size:[20,150]},
	{code:"Kurs&uuml;bersicht", url:"sptmain.html?v=SPT",	sub:[] },
	{code:"Kursreihe spt", url:"kursreihe.aspx?v=SPT&krh=spt", sub:[] },
	{code:"Kursprogramm", url:"kursprogramm.aspx?v=SPT&ver=SPT",	sub:[] },
];

var MENU_ITEMS_LEFT_LYMPH = [
	{pos:'relative', itemoff:[20,0], leveloff:[5,50], style:STYLE_LEFT, size:[20,170]},
	{code:"Kurs&uuml;bersicht", url:"lymphmain.html?v=LYMPH",	sub:[] },
	{code:"Kursreihe Lymph. Physio.", url:"kursreihe.aspx?v=LYMPH&krh=L", sub:[] },
	{code:"Kursprogramm", url:"kursprogramm.aspx?v=LYMPH&ver=Lymph",	sub:[] },
	{code:"Kursort", url:"kursort.html?v=LYMPH", sub:[] },
];



 var qs = new Querystring();
 var veranstalter = qs.get("v", "");
 var menuItemsVeranstalter = null;
 var veranstalterTitel = "";
 if (veranstalter != null)
 {
   if (veranstalter == "GAMT")
   {
     menuItemsVeranstalter = MENU_ITEMS_LEFT_GAMT;
     veranstalterTitel = '<span class="standard"><b><u>gamt:</u></b></span><br/>';
   }
   else if (veranstalter == "NOI")
   {
     menuItemsVeranstalter = MENU_ITEMS_LEFT_NOI;
     veranstalterTitel = '<span class="standard"><b><u>NOI:</u></b></span><br/>';
   }
   else if (veranstalter == "SPT")
   {
     menuItemsVeranstalter = MENU_ITEMS_LEFT_SPT;
     veranstalterTitel = '<span class="standard"><b><u>spt education:</u></b></span><br/>';
   }
   else if (veranstalter == "LYMPH")
   {
     menuItemsVeranstalter = MENU_ITEMS_LEFT_LYMPH;
     veranstalterTitel = '<span class="standard"><b><u>Lymph. Physio:</u></b></span><br/>';
   }
 }


