//
function miniCart(){
var prdCount = 0, prdString = "", subTotal = (xmlConfig.cartSubTotal > 0)?xmlConfig.cartSubTotal:0;
	if(xmlOHeader.childNodes.length==0) subTotal = 0;
	for(var i=0;i<xmlOHeader.childNodes.length;i++){
		prdCount = prdCount+(parseInt(xmlOHeader.childNodes[i].QuantityAmount));
		};
	prdString += "Produkte:<strong>&nbsp;" + prdCount + "</strong><br>";
	prdString += "Summe:<strong>&nbsp;" + TFormatCurrency(subTotal, objPriCurrency) + "</strong><br><br>";
	prdString += "<a class=\"WAGRUNAV\" href=\"orderform." + xmlConfig.fileExtension + "\">";
	prdString += "<strong>" + '<img src="assets/images/bullet.gif" width="11" height="14" alt="Bullet.gif" border="0" align="absmiddle" hspace="0" vspace="0" class="catnav">' + "Zum Bestellschein</strong></a>";
	return(prdString);
	};
//
var TNavDropDownIndent = ".."
//
function NavLinkedDropDownList(){
	return(TNavDropDownList(true));
	};
//
function NavDropDownList(){
	return(TNavDropDownList(false));
	};
//
function storeSearchParameters(optionValueArray){
var xmlSearchEngine = xmlConfig.getFirstItem("SearchEngine");
	if(optionValueArray[0]!="null"&&optionValueArray[0]!="nada"){
		xmlSearchEngine.categoryIndex = optionValueArray[0];
		xmlSearchEngine.categoryId = optionValueArray[2];
		xmlSearchEngine.ByCategory = "1";
		}
	else{
		xmlSearchEngine.categoryIndex = "null";
		xmlSearchEngine.categoryId = "null";
		xmlSearchEngine.ByCategory = "0";
		};
	};
//
function TNavDropDownList(asLink){
var rString = "";
var myNavIndex = "";
	if(asLink) myNavIndex = xmlConfig.navIndex;
	else myNavIndex = xmlConfig.getFirstItem("SearchEngine").categoryIndex;
	if(!(myNavIndex=="null"||myNavIndex=="")){ navigation[parseInt(myNavIndex)].active = true; };
	if(asLink) rString += "<select name=\"navselect\" onChange=\"changeLoc(this[this.selectedIndex].value.split(';;')[0],this[this.selectedIndex].value.split(';;')[1])\">"
	else rString += "<select name=\"navselect\" onChange=\"storeSearchParameters(this[this.selectedIndex].value.split(';;'))\">";
	rString += "<option value=\"nada;;start.htm;;null\">Gesamtkatalog</option>";
	for(var i=0; i<navigation.length; i++){
		if(navigation[i].parentId==null){
			rString += TNavDropDownItem(navigation[i], "");
			};
		};
	rString += "</select>";
	return(rString);
	};
//
function TNavDropDownItem(navItem, cptPreFix){
var rString = "";
	rString += "<option value=\"" + navItem.id + ";;" + navItem.linkUrl + ";;" + navItem.categoryId + "\"";
	if(navItem.active) rString += " selected";
	rString += ">" + cptPreFix + navItem.caption + "</option>";
	for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) rString += TNavDropDownItem(navigation[i], cptPreFix + TNavDropDownIndent);
	return(rString);	
	};
//
	function openItem(itemId){
	var objActiveItem = null;
		if(itemId!=null){
			objActiveItem = navigation[itemId];
			if(objActiveItem!=null){
				objActiveItem.open = true;
				openItem(objActiveItem.parentId);
				};
			};
		};
		
	function activateItem(itemId){
	var objActiveItem = null;
		if(itemId!=null){
			objActiveItem = navigation[itemId];
			if(objActiveItem!=null){
				objActiveItem.active = true;
				openItem(objActiveItem.parentId);
				};
			};
		};
		
	function itemHasSubelems(itemId){
		for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==itemId) return(true);
		return(false);
		};
	
	function TNavLinkList(){
	var strHTML = "";
		for(var i=0; i<navigation.length; i++) if(navigation[i].parentId==null) strHTML += printItem(navigation[i], 0);
		return(strHTML);
		};	
		
	function printItem(navItem, depth){
	var strHTML = "";
	var elemWidth = 1;
		strHTML += '<table width="100%" class="CATLINKS1STPARENT" border="0" cellpadding="2" cellspacing="0" >';
		strHTML += "<tr>"
		for(var i=0; i<depth; i++){
			strHTML += "<td";
			if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
			else strHTML += " class=\"CATLINKS1STBULLET\"";
			strHTML += ' width="1%"><img src="assets/images/spacer.gif" width="11" height="1" height="1" alt="" border="0"></td>';
			};
		if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="11" height="14" alt="BulletCatAct.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		else if(navItem.open&&itemHasSubelems(navItem.id)) strHTML += '<td width="1%" class="CATLINKS1STBULLET"><img src="assets/images/bulletcat1stcls.gif" width="11" height="14" alt="BulletCat1stCls.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		else strHTML += '<td width=\"1%\"><img src="assets/images/bulletcat1st.gif" width="11" height="14" alt="BulletCat1st.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		strHTML += "<td";
		if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
		else strHTML += " class=\"CATLINKS1STBULLET\"";
		strHTML += "width=\"" + ( 100 - ( depth + 1 ) ) + "%\">"
			+ "<a href=\"" + navItem.linkUrl + "?categoryId=" + escape(navItem.id) + "\" class=\"WAGRUNAV\">"
			+ navItem.caption
			+ "</a>"
			+ "</td>";
		strHTML += "</tr>"
		strHTML += "</table>"
		depth++;
		if(navItem.active||navItem.open){
			for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) strHTML += printItem(navigation[i], depth);
			};
		return(strHTML);
		};


//

// navElem
	function navElem(id,caption,linkUrl,parentId,categoryId){
		this.id = id;
		this.caption = caption;
		this.linkUrl = linkUrl;
		this.parentId = parentId;
		this.active = false;
		this.open = true;
		this.categoryId = categoryId;
		};
// navigation
var navigation = new Array();
//
navigation[0] = new navElem(0,"Tipps des Monats","pi1221060786.htm",null,"0000A1");
navigation[1] = new navElem(1,"Neuheiten","pi1078754795.htm",null,"10001");
navigation[2] = new navElem(2,"Angebote & Schnäppchen","pi-1437336194.htm",null,"10005");
navigation[3] = new navElem(3,"Kerzenangebot","pi-1154369293.htm",2,"10-20-10");
navigation[4] = new navElem(4,"Räucherstäbchen","pi-1734440886.htm",2,"10-20-30");
navigation[5] = new navElem(5,"Kostenlose Zeitschriften","pi-456558866.htm",null,"10010");
navigation[6] = new navElem(6,"Amulette und Talismane","pi986117546.htm",null,"150");
navigation[7] = new navElem(7,"Amulette","pi1063289014.htm",6,"100-100");
navigation[8] = new navElem(8,"Ägyptische Sternzeichen","pi1832071391.htm",7,"100-425");
navigation[9] = new navElem(9,"Alchemy Spirit","pi2074528984.htm",7,"28");
navigation[10] = new navElem(10,"Voodoo Amulette","pi-335340205.htm",7,"9000");
navigation[11] = new navElem(11,"Magische Amulette","pi-1858894341.htm",7,"AM-100-100");
navigation[12] = new navElem(12,"Amulette versilbert","pi-1473376480.htm",11,"1000");
navigation[13] = new navElem(13,"Amulette, Silber","pi547729063.htm",11,"2000");
navigation[14] = new navElem(14,"Black Sun","pi-1819915794.htm",11,"2500");
navigation[15] = new navElem(15,"Red Moon","pi1093078877.htm",11,"2550");
navigation[16] = new navElem(16,"Salomonische Pentakel","pi1071187154.htm",11,"2600");
navigation[17] = new navElem(17,"Amulette vergoldet","pi993501769.htm",11,"3000");
navigation[18] = new navElem(18,"Amulette, Gold","pi-2011357.htm",11,"4000");
navigation[19] = new navElem(19,"Amulette, Messing-Kupfer","pi392371991.htm",11,"5000");
navigation[20] = new navElem(20,"Amulette, Zinn","pi-1923484151.htm",11,"6000");
navigation[21] = new navElem(21,"Amulette, Bronze","pi1583337311.htm",11,"6200");
navigation[22] = new navElem(22,"Forbidden Amulette","pi-29187577.htm",7,"AM-100-120");
navigation[23] = new navElem(23,"Magische Pentagramme","pi1077755985.htm",7,"AM-100-140");
navigation[24] = new navElem(24,"Amulette der Erzengel","pi1440215465.htm",7,"AM-100-200");
navigation[25] = new navElem(25,"Amulette Galraedia ","pi-91372679.htm",7,"AM-100-300");
navigation[26] = new navElem(26,"Amulette von Atlantis","pi1069632942.htm",7,"AM-100-400");
navigation[27] = new navElem(27,"Amulette, Fire & Ice","pi986151699.htm",7,"AM-100-500");
navigation[28] = new navElem(28,"Amulette des Atum Ra / Ägyptisch","pi624186199.htm",7,"AM-100-600");
navigation[29] = new navElem(29,"Feen und Elfen Amulette","pi-1711875240.htm",7,"AM-100-700");
navigation[30] = new navElem(30,"Amulette der Göttin","pi-1025279847.htm",7,"AM-100-800");
navigation[31] = new navElem(31,"Amulette der Liebe","pi471696887.htm",7,"AM-100-900");
navigation[32] = new navElem(32,"Amulett-Schwerter","pi-1945325695.htm",7,"AM-100-911");
navigation[33] = new navElem(33,"Amulette, Lichter des Nordens","pi987439021.htm",7,"AM-101-100");
navigation[34] = new navElem(34,"Amulette / Schutzamulette","pi-238984388.htm",7,"AM-101-300");
navigation[35] = new navElem(35,"Amulette of Valhalla","pi1000326138.htm",7,"AM-101-400");
navigation[36] = new navElem(36,"Ancient / Celtic Magic Amulette","pi-780066126.htm",7,"AM-101-500");
navigation[37] = new navElem(37,"Asiatische Amulette","pi-982464737.htm",7,"AM-101-600");
navigation[38] = new navElem(38,"Buddhistische Amulette","pi18548269.htm",7,"AM-101-700");
navigation[39] = new navElem(39,"Chakra Amulette","pi1060073069.htm",7,"AM-101-800");
navigation[40] = new navElem(40,"Delfin-Amulette","pi-1482985689.htm",7,"AM-102-100");
navigation[41] = new navElem(41,"Edelstein Amulette","pi225103900.htm",7,"AM-102-200");
navigation[42] = new navElem(42,"Hexagramm, Hextakel","pi-1700255684.htm",7,"AM-102-300");
navigation[43] = new navElem(43,"Reiki- & Energiesymbole","pi1045225119.htm",7,"AM-102-400");
navigation[44] = new navElem(44,"Indianische Amulette ","pi-97169360.htm",7,"AM-102-500");
navigation[45] = new navElem(45,"Keltische Zauberei","pi868611293.htm",7,"AM-102-600");
navigation[46] = new navElem(46,"Mythische Gefährten","pi1248113102.htm",7,"AM-102-650");
navigation[47] = new navElem(47,"Kreuze/Ankh","pi-1721178859.htm",7,"AM-102-700");
navigation[48] = new navElem(48,"Nordic Magic Amulette","pi1059767912.htm",7,"AM-102-800");
navigation[49] = new navElem(49,"Pentagramme, Pentakel","pi409999951.htm",7,"AM-102-900");
navigation[50] = new navElem(50,"Schlangen und Drachen","pi-1446374842.htm",7,"AM-103-100");
navigation[51] = new navElem(51,"Septagramm, Septakel","pi227920241.htm",7,"AM-103-200");
navigation[52] = new navElem(52,"Siegel der Hexerei","pi-191475952.htm",7,"AM-103-300");
navigation[53] = new navElem(53,"Sternzeichen","pi-1915537126.htm",7,"AM-103-400");
navigation[54] = new navElem(54,"Chinesische Sternzeichen","pi1207851205.htm",7,"AM-103-410");
navigation[55] = new navElem(55,"Talismane-Collection","pi273595423.htm",7,"AM-103-600");
navigation[56] = new navElem(56,"Talismane","pi730143391.htm",6,"100-200");
navigation[57] = new navElem(57,"Thors Hammer ","pi-1956706997.htm",56,"20");
navigation[58] = new navElem(58,"Afrikanische Talismane","pi-1583255074.htm",56,"23");
navigation[59] = new navElem(59,"Klangkugeln","pi-340728346.htm",56,"25-1");
navigation[60] = new navElem(60,"Runen, Zinn","pi-1868108806.htm",56,"32");
navigation[61] = new navElem(61,"Runen, Bronze","pi-928003357.htm",56,"32-1");
navigation[62] = new navElem(62,"Tier Talismane","pi-1105334180.htm",56,"TA-100-100");
navigation[63] = new navElem(63,"Voodoo Talismane","pi1264969159.htm",56,"VO-100-100");
navigation[64] = new navElem(64,"Edelsteine","pi-1533669939.htm",6,"100-250");
navigation[65] = new navElem(65,"Tierkreiszeichen","pi1113479959.htm",64,"10-25-100");
navigation[66] = new navElem(66,"Buddha-Armbänder","pi-926885680.htm",64,"410-10");
navigation[67] = new navElem(67,"Edelsteinbäume","pi1027884853.htm",64,"410-2");
navigation[68] = new navElem(68,"Trommelsteine","pi-1590025646.htm",64,"410-3");
navigation[69] = new navElem(69,"Anhänger/Donuts","pi210613355.htm",64,"410-4");
navigation[70] = new navElem(70,"Powermagnete","pi-37213570.htm",64,"410-5");
navigation[71] = new navElem(71,"Hausamulette","pi1117453321.htm",6,"100-275");
navigation[72] = new navElem(72,"Sonnenuhren","pi816803284.htm",6,"100-300");
navigation[73] = new navElem(73,"Schmuck und Ketten","pi-149281793.htm",6,"100-400");
navigation[74] = new navElem(74,"Armreifen","pi496380990.htm",73,"100-4-100");
navigation[75] = new navElem(75,"Colliers","pi-917406544.htm",73,"100-4-300");
navigation[76] = new navElem(76,"Magnetschmuck","pi1119866552.htm",73,"100-4-350");
navigation[77] = new navElem(77,"Medallions","pi1698062336.htm",73,"100-4-400");
navigation[78] = new navElem(78,"Ohrringe","pi305248337.htm",73,"100-4-500");
navigation[79] = new navElem(79,"Ringe","pi1080399195.htm",73,"100-4-600");
navigation[80] = new navElem(80,"Silberketten","pi-517580403.htm",73,"100-4-700");
navigation[81] = new navElem(81,"Panzerketten 2mm","pi-1113151863.htm",80,"200-10");
navigation[82] = new navElem(82,"Panzerketten 4mm","pi896824256.htm",80,"200-15");
navigation[83] = new navElem(83,"Schlangenketten","pi-987079658.htm",80,"200-20");
navigation[84] = new navElem(84,"Venezianerketten","pi-827460641.htm",80,"200-30");
navigation[85] = new navElem(85,"Lederbänder","pi986650070.htm",6,"100-500");
navigation[86] = new navElem(86,"Meditations-CDs","pi1136031715.htm",null,"2222222222");
navigation[87] = new navElem(87,"Feng-Shui und Statuen:","pi-1433936963.htm",null,"250");
navigation[88] = new navElem(88,"DNS-Spirale","pi-592162734.htm",87,"200-120");
navigation[89] = new navElem(89,"Feng Shui Kristalle","pi1078701105.htm",87,"200-153");
navigation[90] = new navElem(90,"Feng Shui Räucherstäbchen","pi154711637.htm",87,"200-155");
navigation[91] = new navElem(91,"Glücksfrösche und Kröten","pi-469784840.htm",87,"200-180");
navigation[92] = new navElem(92,"Regenbogenkristalle","pi-651248446.htm",87,"200-240");
navigation[93] = new navElem(93,"Reichtumssymbole","pi126709306.htm",87,"200-250");
navigation[94] = new navElem(94,"Glocken und Tempel","pi142483465.htm",93,"200-250-10");
navigation[95] = new navElem(95,"Glücksmünzen, I-Ging","pi645174210.htm",93,"200-250-20");
navigation[96] = new navElem(96,"Wohlstandssymbole","pi-1977107888.htm",93,"200-250-30");
navigation[97] = new navElem(97,"Wandschmuck","pi616488609.htm",87,"200-290");
navigation[98] = new navElem(98,"Ba-Gua-Spiegel","pi-967062933.htm",97,"200-290-10");
navigation[99] = new navElem(99,"Ritual- & Hexenbedarf","pi2038982374.htm",null,"300");
navigation[100] = new navElem(100,"Magische Öle","pi705147199.htm",99,"300-2500");
navigation[101] = new navElem(101,"Anna Riva&#0039;s magische Öle","pi1077702709.htm",100,"MO-300-100");
navigation[102] = new navElem(102,"Voodoo","pi-732260657.htm",99,"300-5000");
navigation[103] = new navElem(103,"Voodoopuppen","pi2017047957.htm",102,"300-50-10");
navigation[104] = new navElem(104,"Voodoo Zubehör","pi2051951051.htm",102,"300-50-300");
navigation[105] = new navElem(105,"Voodoo Literatur","pi-1848681808.htm",102,"300-50-900");
navigation[106] = new navElem(106,"Magische Spiegel","pi-38284351.htm",102,"800-130");
navigation[107] = new navElem(107,"Dolche/Athame","pi995149269.htm",99,"800-350");
navigation[108] = new navElem(108,"Hexenritual Sets","pi1101253155.htm",99,"800-70");
navigation[109] = new navElem(109,"Sorgenpüppchen","pi1030732705.htm",99,"800-97");
navigation[110] = new navElem(110,"Räucherwaren, Kohle  & magische Öle","pi-413990347.htm",null,"400");
navigation[111] = new navElem(111,"Räucherstäbchen","pi1051404289.htm",110,"400-300");
navigation[112] = new navElem(112,"Anna Riva Räucherstäbchen","pi988803281.htm",111,"400-30-10");
navigation[113] = new navElem(113,"Stäbchenhalter","pi1034028421.htm",111,"400-30-110");
navigation[114] = new navElem(114,"Ayurvedische Chakra<br> Räucherstäbchen","pi-1118851775.htm",111,"400-30-20");
navigation[115] = new navElem(115,"Holy Smokes","pi1107302731.htm",111,"400-30-25");
navigation[116] = new navElem(116,"Holy Smokes Blue Line","pi1932118949.htm",115,"400-30-30");
navigation[117] = new navElem(117,"Holy Smokes Feng Shui Line","pi1081361588.htm",115,"400-30-40");
navigation[118] = new navElem(118,"Holy Smokes Masala Line","pi999229954.htm",115,"400-30-50");
navigation[119] = new navElem(119,"Holy Smokes Natural Line","pi-653856566.htm",115,"400-30-60");
navigation[120] = new navElem(120,"Holy Smokes Royal Line","pi-241004965.htm",115,"400-30-70");
navigation[121] = new navElem(121,"Magische Öle","pi-1287191944.htm",110,"400-350");
navigation[122] = new navElem(122,"Chakra- Öle","pi-400581277.htm",121,"400-100-25");
navigation[123] = new navElem(123,"Anna Rivas magische Öle","pi1004570952.htm",121,"400-35-10");
navigation[124] = new navElem(124,"Ritual Öle","pi-30717935.htm",121,"400-35-20");
navigation[125] = new navElem(125,"Traumkissen","pi994010085.htm",110,"400-400");
navigation[126] = new navElem(126,"Räucherkohle","pi1215015613.htm",110,"9999999991");
navigation[127] = new navElem(127,"Orakel","pi2105684079.htm",null,"450");
navigation[128] = new navElem(128,"Pendel u. Zubehör","pi1004218688.htm",127,"300-30-20");
navigation[129] = new navElem(129,"Tarot","pi1675948470.htm",127,"300-30-35");
navigation[130] = new navElem(130,"Traumfänger - Dreamcatcher","pi1032884664.htm",null,"600-10-50");
navigation[131] = new navElem(131,"Bücher, Karten & CDs","pi-2116877998.htm",null,"700-1001");
navigation[132] = new navElem(132,"Karten","pi-557576196.htm",131,"700-20");
navigation[133] = new navElem(133,"American Spirit Karten","pi1462146364.htm",132,"700-10-100");
navigation[134] = new navElem(134,"Enchanted Dreams","pi1732699930.htm",132,"700-10-150");
navigation[135] = new navElem(135,"Feen Karten","pi1045190159.htm",132,"700-10-200");
navigation[136] = new navElem(136,"Mythologie Karten","pi1003074055.htm",132,"700-10-300");
navigation[137] = new navElem(137,"Naturgeisterwelten","pi927553711.htm",132,"700-10-400");
navigation[138] = new navElem(138,"P.P. Fantasy Karten","pi-1188048558.htm",132,"700-10-500");
navigation[139] = new navElem(139,"Bücher","pi1063310279.htm",131,"BUCH-00000");
navigation[140] = new navElem(140,"Aura","pi82088130.htm",139,"BUCH-10000");
navigation[141] = new navElem(141,"Buddhismus","pi-1970085603.htm",139,"BUCH-20000");
navigation[142] = new navElem(142,"Chakra","pi1598180395.htm",139,"BUCH-25000");
navigation[143] = new navElem(143,"Erfolg","pi1070762758.htm",139,"BUCH-30000");
navigation[144] = new navElem(144,"Engel","pi-1151664950.htm",139,"BUCH-32000");
navigation[145] = new navElem(145,"Feen","pi-1026161264.htm",139,"BUCH-33000");
navigation[146] = new navElem(146,"Feng Shui","pi-1644608304.htm",139,"BUCH-35000");
navigation[147] = new navElem(147,"Frauen","pi-465762829.htm",139,"BUCH-37000");
navigation[148] = new navElem(148,"Göttinnen, Götter","pi480139857.htm",139,"BUCH-39000");
navigation[149] = new navElem(149,"Heilmethoden","pi-1844114480.htm",139,"BUCH-40100");
navigation[150] = new navElem(150,"Hexen","pi1064619661.htm",139,"BUCH-40200");
navigation[151] = new navElem(151,"Indigo-Kinder","pi-30553767.htm",139,"BUCH-42500");
navigation[152] = new navElem(152,"Lebenshilfe","pi-1340546217.htm",139,"BUCH-43500");
navigation[153] = new navElem(153,"Lexikon","pi-1815407825.htm",139,"BUCH-45000");
navigation[154] = new navElem(154,"Living on Light","pi2097790504.htm",139,"BUCH-45500");
navigation[155] = new navElem(155,"Biographien","pi560369247.htm",154,"LOL455-100");
navigation[156] = new navElem(156,"Entwicklungsromane","pi-5218124.htm",154,"LOL455-200");
navigation[157] = new navElem(157,"Christliche Mystik","pi300070821.htm",154,"LOL455-300");
navigation[158] = new navElem(158,"Spirituelle Praxis","pi1176012290.htm",154,"LOL455-400");
navigation[159] = new navElem(159,"Magie","pi1855712131.htm",139,"BUCH-50000");
navigation[160] = new navElem(160,"Mini-Bücher","pi1626833570.htm",139,"Buch-52999");
navigation[161] = new navElem(161,"Numerologie","pi1072497826.htm",139,"BUCH-53000");
navigation[162] = new navElem(162,"Orakel Bücher","pi1775248596.htm",139,"BUCH-55000");
navigation[163] = new navElem(163,"OuiJa, Hexenbrett","pi694482814.htm",162,"700401-300");
navigation[164] = new navElem(164,"Pendel","pi-426068697.htm",162,"700401-500");
navigation[165] = new navElem(165,"Runen","pi1320346076.htm",162,"700401-550");
navigation[166] = new navElem(166,"Tarot","pi-1360413580.htm",162,"700401-600");
navigation[167] = new navElem(167,"Reiki","pi415242248.htm",139,"BUCH-56000");
navigation[168] = new navElem(168,"Ritual","pi722568186.htm",139,"BUCH-57000");
navigation[169] = new navElem(169,"Romane / Erzählungen","pi-1008137840.htm",139,"BUCH-59000");
navigation[170] = new navElem(170,"Schamanismus","pi-278656779.htm",139,"BUCH-60000");
navigation[171] = new navElem(171,"Steinkunde","pi-593233775.htm",139,"BUCH-63000");
navigation[172] = new navElem(172,"Symbole","pi707943078.htm",139,"BUCH-65000");
navigation[173] = new navElem(173,"Traumdeutung","pi-78064805.htm",139,"BUCH-70000");
navigation[174] = new navElem(174,"Liefer- Versand- u. Zahlungsart","pi1164656404.htm",null,"910-990");
navigation[175] = new navElem(175,"Widerrufsbelehrung","pi1175463244.htm",null,"9999999999");
navigation[176] = new navElem(176,"Aufladen der Amulette/- Gegenstände","pi709518854.htm",null,"A0000011");
navigation[177] = new navElem(177,"Fernreiki","pi916963155.htm",null,"A00000112");

// getNavElementByCatID
function getNavElementByCatID(categoryId){
	for(var i=0; i<navigation.length; i++){
		if(navigation[i].categoryId==categoryId){
			return(navigation[i]);
			break;
			};
		};
		return(null);
	};
// changeLoc
function changeLoc(id,linkUrl){
	if(id!="nada"){
		xmlConfig.navIndex = id.toString();
		if(xmlConfig.getFirstItem("SearchEngine").ByCategory == "1"){
			if(id=="null") xmlConfig.getFirstItem("SearchEngine").categoryId = "null"
			else xmlConfig.getFirstItem("SearchEngine").categoryId = navigation[id].categoryId;
			xmlConfig.getFirstItem("SearchEngine").categoryIndex = id;
			}
		else{
			xmlConfig.getFirstItem("SearchEngine").categoryId = "null";
			xmlConfig.getFirstItem("SearchEngine").categoryIndex = "null";
			};
		safeData();
		location.href = linkUrl + "?categoryId=" + id.toString();
		};
	};
// searchOnEnterNavi
function searchOnEnterNavi(){
	if(window.event.keyCode==13){
		xmlConfig.getFirstItem('SearchEngine').term=document.searchEngine.searchTerm.value;
		location.href = "search.htm";
		};
	};
// activates entries for categories
activateItem(getParameterFromURL("categoryId"));

