//
function miniCart(){
var prdCount = 0, prdString = "", subTotal = (xmlConfig.cartSubTotal > 0)?xmlConfig.cartSubTotal:0;
var tmpVariants = "", strVariants = "";
var mbullet = '<img src="assets/images/bulletcat1stcls.gif" width="20" height="13" border="0" align="absmiddle" hspace="0" vspace="0" class="catnav">';
	if(xmlOHeader.childNodes.length==0) subTotal = 0;
	for(var i=0;i<xmlOHeader.childNodes.length;i++){
		prdCount = prdCount+(parseInt(xmlOHeader.childNodes[i].QuantityAmount));
		};
	prdString += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" width=\"100%\">";
		if(prdCount > 0){
		prdString += "<tr>"
			+ "<td colspan=\"2\">"
				+ "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" width=\"100%\">"
						+ "<td align=\"right\" nowrap=\"true\" width=\"20\">#&nbsp;</td>"
						+ "<td><strong>Bezeichnung</strong></td>"
						+ "<td align=\"center\" width=\"40\" nowrap=\"true\"><strong>Preis</strong></td>"
					+ "</tr>";
				for(var i=0;i<xmlOHeader.childNodes.length;i++){
				tmpVariants = xmlOHeader.childNodes[i].getFirstItem("Internal").variants.split("@");
				if(tmpVariants.length>1){
					for(var j=0;j<tmpVariants.length-1;j++){
						tmpElement = tmpVariants[j].split(";");
						strVariants += "search" + j + "_EQ_" + tmpElement[1] + "_AND_";
						};
					strVariants += "{EOL}";
					};
					prdString += "<tr valign=\"top\">"
						+ "<td align=\"right\">" + xmlOHeader.childNodes[i].QuantityAmount + "&nbsp;</td>"
						+ "<td>"
							+ "<a href=\"" + xmlOHeader.childNodes[i].getFirstItem("Internal").address + "?defaultVariants=" + strVariants + "&categoryId=" + xmlOHeader.childNodes[i].getFirstItem("Internal").navIndex + "\">"
							+ xmlOHeader.childNodes[i].Name
						+ "</a></td>"
						+ "<td align=\"right\" nowrap=\"true\">" + (parseFloat(xmlOHeader.childNodes[i].PriceGrossLineTotalLC).toFixed(2)).toString().replace('.',',') + "</td>"
						+ "</tr>";
					};
	prdString += "</table><br>"	
			+ "</td>"
		+ "</tr>"
		+ "<tr>"
			+ "<td align=\"right\" nowrap=\"true\" width=\"20\"><strong>" + prdCount + "</strong>&nbsp;</td>"
			+ "<td align=\"right\"><strong>&nbsp;" + TFormatCurrency(subTotal, objPriCurrency) + "</strong><td>"
		+ "</tr>"
		+ "<tr align=\"right\">"
			+ "<td colspan=\"2\"><a class=\"WAGRUNAV\" href=\"orderform." + xmlConfig.fileExtension + "\">"
			+ mbullet + "<strong>Zum Warenkorb</strong></a>"
			+ "</td>"
		+ "</tr>";
	}
	else{
		prdString += "<tr>"
			+ "<td>"
			+ "<td>Ihr Bestellschein ist leer...</td>"
			+ "</tr>";
		};
	prdString += "</table>";
	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="0" 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="20" height="1" height="1" alt="" border="0"></td>';
			};
		if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="20" height="14" 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="20" height="13" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		else strHTML += '<td width=\"1%\"><img src="assets/images/bulletcat1stcls.gif" width="20" height="13" 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 = false;
		this.categoryId = categoryId;
		};
// navigation
var navigation = new Array();
//
navigation[0] = new navElem(0,"Reifen","pi-1023828341.htm",null,"1");
navigation[1] = new navElem(1,"Sommer","pi-1240350608.htm",0,"2");
navigation[2] = new navElem(2,"16","pi-1994410044.htm",1,"73");
navigation[3] = new navElem(3,"205/","pi1331207452.htm",2,"81");
navigation[4] = new navElem(4,"205/55R16","pi1253754349.htm",3,"82");
navigation[5] = new navElem(5,"17&#0034;","pi-1230150283.htm",1,"74");
navigation[6] = new navElem(6,"215/","pi891654430.htm",5,"165");
navigation[7] = new navElem(7,"215/45R17","pi1232827975.htm",6,"166");
navigation[8] = new navElem(8,"215/40R17","pi1169659004.htm",6,"167");
navigation[9] = new navElem(9,"225/","pi-1964525398.htm",5,"83");
navigation[10] = new navElem(10,"225/45R17","pi-215731741.htm",9,"84");
navigation[11] = new navElem(11,"225/40R17","pi265750918.htm",9,"163");
navigation[12] = new navElem(12,"225/35R17","pi1981965092.htm",9,"164");
navigation[13] = new navElem(13,"235/","pi-1947289880.htm",5,"85");
navigation[14] = new navElem(14,"235/45R17","pi1128961737.htm",13,"86");
navigation[15] = new navElem(15,"235/40R17","pi-452751410.htm",13,"160");
navigation[16] = new navElem(16,"245/","pi1557469014.htm",5,"87");
navigation[17] = new navElem(17,"245/40R17","pi1810652703.htm",16,"88");
navigation[18] = new navElem(18,"255/","pi-2116262540.htm",5,"89");
navigation[19] = new navElem(19,"255/40R17","pi-270267035.htm",18,"90");
navigation[20] = new navElem(20,"18&#0034;","pi-1176374382.htm",1,"75");
navigation[21] = new navElem(21,"225/","pi794761410.htm",20,"91");
navigation[22] = new navElem(22,"225/40R18","pi-374704960.htm",21,"93");
navigation[23] = new navElem(23,"235/","pi-1435130341.htm",20,"92");
navigation[24] = new navElem(24,"235/40R18","pi-1478818367.htm",23,"94");
navigation[25] = new navElem(25,"245/","pi-852872002.htm",20,"161");
navigation[26] = new navElem(26,"245/45R18","pi-179439257.htm",25,"162");
navigation[27] = new navElem(27,"245/40R18","pi1078607466.htm",25,"171");
navigation[28] = new navElem(28,"255/","pi-336968021.htm",20,"100");
navigation[29] = new navElem(29,"255/35R18","pi1548870334.htm",28,"103");
navigation[30] = new navElem(30,"265/","pi-2022961648.htm",20,"101");
navigation[31] = new navElem(31,"265/35R18","pi379640017.htm",30,"102");
navigation[32] = new navElem(32,"19&#0034;","pi940375211.htm",1,"76");
navigation[33] = new navElem(33,"225/","pi161494179.htm",32,"172");
navigation[34] = new navElem(34,"225/35R19","pi-634146136.htm",33,"173");
navigation[35] = new navElem(35,"235/","pi-1276417810.htm",32,"95");
navigation[36] = new navElem(36,"235/35R19","pi908543447.htm",35,"96");
navigation[37] = new navElem(37,"255/","pi798578569.htm",32,"174");
navigation[38] = new navElem(38,"255/30R19","pi400128278.htm",37,"175");
navigation[39] = new navElem(39,"265/","pi1348890828.htm",32,"97");
navigation[40] = new navElem(40,"265/30R19","pi1650007005.htm",39,"98");
navigation[41] = new navElem(41,"Felgen","pi-1312007138.htm",null,"4");
navigation[42] = new navElem(42,"Alufelgen","pi-852548281.htm",41,"5");
navigation[43] = new navElem(43,"Tuner","pi-1056145852.htm",42,"66");
navigation[44] = new navElem(44,"Sportec","pi-2122824345.htm",43,"303");
navigation[45] = new navElem(45,"Standard","pi1693232175.htm",42,"65");
navigation[46] = new navElem(46,"Alutec","pi-1623181936.htm",45,"183");
navigation[47] = new navElem(47,"17&#0039;&#0039;","pi-340179305.htm",46,"202");
navigation[48] = new navElem(48,"18&#0039;&#0039;","pi-675474804.htm",46,"203");
navigation[49] = new navElem(49,"19&#0039;&#0039;","pi-1310324067.htm",46,"204");
navigation[50] = new navElem(50,"Antera","pi1114123848.htm",45,"541");
navigation[51] = new navElem(51,"17&#0039;&#0039;","pi-2006815049.htm",50,"596");
navigation[52] = new navElem(52,"18&#0039;&#0039;","pi-1014636500.htm",50,"601");
navigation[53] = new navElem(53,"19&#0039;&#0039;","pi-722473027.htm",50,"606");
navigation[54] = new navElem(54,"Artec","pi-1727909475.htm",45,"124");
navigation[55] = new navElem(55,"17&#0039;&#0039;","pi-844397878.htm",54,"205");
navigation[56] = new navElem(56,"18&#0039;&#0039;","pi2133293443.htm",54,"206");
navigation[57] = new navElem(57,"Autec","pi1493999473.htm",45,"184");
navigation[58] = new navElem(58,"17&#0039;&#0039;","pi1879062635.htm",57,"214");
navigation[59] = new navElem(59,"18&#0039;&#0039;","pi645532880.htm",57,"215");
navigation[60] = new navElem(60,"ASA","pi993793017.htm",45,"581");
navigation[61] = new navElem(61,"18&#0039;&#0039;","pi-319828607.htm",60,"611");
navigation[62] = new navElem(62,"19&#0039;&#0039;","pi-1274477138.htm",60,"616");
navigation[63] = new navElem(63,"AZEV","pi-961914696.htm",45,"185");
navigation[64] = new navElem(64,"17&#0039;&#0039;","pi1003957848.htm",63,"217");
navigation[65] = new navElem(65,"18&#0039;&#0039;","pi-1233767047.htm",63,"218");
navigation[66] = new navElem(66,"19&#0039;&#0039;","pi135404614.htm",63,"219");
navigation[67] = new navElem(67,"Barracuda","pi2066606581.htm",45,"571");
navigation[68] = new navElem(68,"17&#0039;&#0039;","pi-1882135242.htm",67,"621");
navigation[69] = new navElem(69,"18&#0039;&#0039;","pi-1255747969.htm",67,"626");
navigation[70] = new navElem(70,"BBS","pi1066318586.htm",45,"49");
navigation[71] = new navElem(71,"17&#0039;&#0039;","pi1445835305.htm",70,"222");
navigation[72] = new navElem(72,"18&#0039;&#0039;","pi-1319557322.htm",70,"223");
navigation[73] = new navElem(73,"19&#0039;&#0039;","pi-2056886145.htm",70,"224");
navigation[74] = new navElem(74,"Binno","pi25178949.htm",45,"186");
navigation[75] = new navElem(75,"17&#0039;&#0039;","pi-927328035.htm",74,"226");
navigation[76] = new navElem(76,"18&#0039;&#0039;","pi558689498.htm",74,"227");
navigation[77] = new navElem(77,"19&#0039;&#0039;","pi1808891475.htm",74,"228");
navigation[78] = new navElem(78,"Borbet","pi-415073566.htm",45,"108");
navigation[79] = new navElem(79,"17&#0039;&#0039;","pi947186288.htm",78,"229");
navigation[80] = new navElem(80,"18&#0039;&#0039;","pi1663948209.htm",78,"230");
navigation[81] = new navElem(81,"19&#0039;&#0039;","pi1414239774.htm",78,"231");
navigation[82] = new navElem(82,"Brock/RC","pi-296784891.htm",45,"107");
navigation[83] = new navElem(83,"17&#0039;&#0039;","pi2034610065.htm",82,"232");
navigation[84] = new navElem(84,"18&#0039;&#0039;","pi-1136909698.htm",82,"233");
navigation[85] = new navElem(85,"19&#0039;&#0039;","pi-955300825.htm",82,"234");
navigation[86] = new navElem(86,"CR","pi-1794793916.htm",45,"566");
navigation[87] = new navElem(87,"EtaBeta","pi1153513670.htm",45,"586");
navigation[88] = new navElem(88,"17&#0039;&#0039;","pi-87669824.htm",87,"631");
navigation[89] = new navElem(89,"18&#0039;&#0039;","pi1706584257.htm",87,"636");
navigation[90] = new navElem(90,"19&#0039;&#0039;","pi-1161310226.htm",87,"641");
navigation[91] = new navElem(91,"Keskin","pi642836434.htm",45,"546");
navigation[92] = new navElem(92,"17&#0039;&#0039;","pi-1781374771.htm",91,"646");
navigation[93] = new navElem(93,"18&#0039;&#0039;","pi1261646346.htm",91,"651");
navigation[94] = new navElem(94,"19&#0039;&#0039;","pi125093827.htm",91,"656");
navigation[95] = new navElem(95,"Mille Miglia","pi-1105124384.htm",45,"110");
navigation[96] = new navElem(96,"17&#0039;&#0039;","pi1029391316.htm",95,"661");
navigation[97] = new navElem(97,"18&#0039;&#0039;","pi-1728355259.htm",95,"666");
navigation[98] = new navElem(98,"19&#0039;&#0039;","pi948346402.htm",95,"671");
navigation[99] = new navElem(99,"MIM","pi1620986927.htm",45,"561");
navigation[100] = new navElem(100,"17&#0039;&#0039;","pi1105272958.htm",99,"676");
navigation[101] = new navElem(101,"Oxigin","pi1078253180.htm",45,"170");
navigation[102] = new navElem(102,"17&#0039;&#0039;","pi1189037162.htm",101,"681");
navigation[103] = new navElem(103,"18&#0039;&#0039;","pi-1791606109.htm",101,"686");
navigation[104] = new navElem(104,"19&#0039;&#0039;","pi-1272436568.htm",101,"691");
navigation[105] = new navElem(105,"O.Z.","pi798401979.htm",45,"109");
navigation[106] = new navElem(106,"17&#0039;&#0039;","pi1217364024.htm",105,"254");
navigation[107] = new navElem(107,"18&#0039;&#0039;","pi-1536435751.htm",105,"255");
navigation[108] = new navElem(108,"19&#0039;&#0039;","pi-974241498.htm",105,"256");
navigation[109] = new navElem(109,"RH","pi-905015711.htm",45,"111");
navigation[110] = new navElem(110,"17&#0039;&#0039;","pi-2031749953.htm",109,"262");
navigation[111] = new navElem(111,"18&#0039;&#0039;","pi84909972.htm",109,"263");
navigation[112] = new navElem(112,"19&#0039;&#0039;","pi-300022523.htm",109,"264");
navigation[113] = new navElem(113,"Rial","pi196750606.htm",45,"112");
navigation[114] = new navElem(114,"17&#0039;&#0039;","pi1718746044.htm",113,"266");
navigation[115] = new navElem(115,"18&#0039;&#0039;","pi-1389090803.htm",113,"267");
navigation[116] = new navElem(116,"19&#0039;&#0039;","pi-798574518.htm",113,"268");
navigation[117] = new navElem(117,"Ronal","pi-1423501402.htm",45,"556");
navigation[118] = new navElem(118,"17&#0039;&#0039;","pi826502021.htm",117,"696");
navigation[119] = new navElem(119,"18&#0039;&#0039;","pi1135830114.htm",117,"701");
navigation[120] = new navElem(120,"19&#0039;&#0039;","pi-1053249221.htm",117,"706");
navigation[121] = new navElem(121,"Schmidt","pi2009685973.htm",45,"506");
navigation[122] = new navElem(122,"18&#0039;&#0039;","pi948624062.htm",121,"711");
navigation[123] = new navElem(123,"19&#0039;&#0039;","pi711927655.htm",121,"716");
navigation[124] = new navElem(124,"SMC","pi933272153.htm",45,"551");
navigation[125] = new navElem(125,"17&#0039;&#0039;","pi-1550011666.htm",124,"721");
navigation[126] = new navElem(126,"18&#0039;&#0039;","pi550324183.htm",124,"726");
navigation[127] = new navElem(127,"19&#0039;&#0039;","pi895535820.htm",124,"731");
navigation[128] = new navElem(128,"Smoor","pi1433630628.htm",45,"501");
navigation[129] = new navElem(129,"17&#0039;&#0039;","pi572545608.htm",128,"736");
navigation[130] = new navElem(130,"18&#0039;&#0039;","pi986484393.htm",128,"741");
navigation[131] = new navElem(131,"19&#0039;&#0039;","pi996207030.htm",128,"746");
navigation[132] = new navElem(132,"Tecnomagnesio","pi-433341535.htm",45,"591");
navigation[133] = new navElem(133,"18&#0039;&#0039;","pi1589231413.htm",132,"751");
navigation[134] = new navElem(134,"TSW","pi1535393298.htm",45,"576");
navigation[135] = new navElem(135,"17&#0039;&#0039;","pi165669995.htm",134,"756");
navigation[136] = new navElem(136,"18&#0039;&#0039;","pi780447952.htm",134,"761");
navigation[137] = new navElem(137,"19&#0039;&#0039;","pi-2010254191.htm",134,"766");
navigation[138] = new navElem(138,"MAM und Replika","pi1089212469.htm",42,"314");
navigation[139] = new navElem(139,"17&#0039;&#0039;","pi1487482792.htm",138,"521");
navigation[140] = new navElem(140,"18&#0039;&#0039;","pi948850825.htm",138,"526");
navigation[141] = new navElem(141,"19&#0039;&#0039;","pi43990550.htm",138,"531");
navigation[142] = new navElem(142,"Montage","pi-2076413944.htm",41,"273");
navigation[143] = new navElem(143,"Tuning","pi375610134.htm",null,"36");
navigation[144] = new navElem(144,"Auspuffanlagen","pi891963460.htm",143,"45");
navigation[145] = new navElem(145,"Audspeedtuning (made by Topgear)","pi400122892.htm",144,"178");
navigation[146] = new navElem(146,"Audi TT","pi-1888681342.htm",145,"274");
navigation[147] = new navElem(147,"Audi S3","pi-1125499685.htm",145,"275");
navigation[148] = new navElem(148,"Audi S4","pi1081677579.htm",145,"289");
navigation[149] = new navElem(149,"Audi RS4","pi-339939600.htm",145,"290");
navigation[150] = new navElem(150,"Audi A6/S6","pi-1625509204.htm",145,"771");
navigation[151] = new navElem(151,"Audi RS6","pi261222461.htm",145,"776");
navigation[152] = new navElem(152,"Eisenmann","pi-1726547410.htm",144,"176");
navigation[153] = new navElem(153,"Audi A3 (8L)","pi1079904450.htm",152,"276");
navigation[154] = new navElem(154,"Audi A3 (8P)","pi-1293560293.htm",152,"277");
navigation[155] = new navElem(155,"Audi S3 (8L)","pi813884608.htm",152,"278");
navigation[156] = new navElem(156,"Audi A4 (B5)","pi-1870219839.htm",152,"279");
navigation[157] = new navElem(157,"Audi A4 (8H)","pi-633775890.htm",152,"280");
navigation[158] = new navElem(158,"Audi A4 (8E)","pi-142969385.htm",152,"281");
navigation[159] = new navElem(159,"Audi S4 (B5)","pi-2037386067.htm",152,"287");
navigation[160] = new navElem(160,"Audi S4 (8E)","pi-627061795.htm",152,"283");
navigation[161] = new navElem(161,"Audi S6 (4B)","pi153477324.htm",152,"282");
navigation[162] = new navElem(162,"Audi RS4","pi512038296.htm",152,"286");
navigation[163] = new navElem(163,"Audi RS6 ","pi1702847450.htm",152,"284");
navigation[164] = new navElem(164,"Audi TT (8N)","pi2140825939.htm",152,"285");
navigation[165] = new navElem(165,"Supersound","pi1051596007.htm",152,"301");
navigation[166] = new navElem(166,"Fox","pi-1286648297.htm",144,"177");
navigation[167] = new navElem(167,"Audi TT","pi1078656070.htm",166,"179");
navigation[168] = new navElem(168,"Remus","pi-1968476610.htm",144,"300");
navigation[169] = new navElem(169,"Bremsen","pi181192415.htm",143,"37");
navigation[170] = new navElem(170,"Standardbremsen","pi-642066262.htm",169,"306");
navigation[171] = new navElem(171,"Sportbremsen","pi2097205731.htm",169,"307");
navigation[172] = new navElem(172,"Bremsenkits","pi382904576.htm",171,"64");
navigation[173] = new navElem(173,"Movit","pi1078675616.htm",172,"180");
navigation[174] = new navElem(174,"Bremsscheiben","pi-1599174491.htm",171,"61");
navigation[175] = new navElem(175,"Bremsklötze","pi-1028188748.htm",171,"60");
navigation[176] = new navElem(176,"Audi TT","pi160017100.htm",175,"312");
navigation[177] = new navElem(177,"Audi A3","pi1426434007.htm",175,"311");
navigation[178] = new navElem(178,"Audi A4","pi329666013.htm",175,"313");
navigation[179] = new navElem(179,"Fahrwerke","pi2104184628.htm",143,"38");
navigation[180] = new navElem(180,"Bilstein","pi1082016686.htm",179,"291");
navigation[181] = new navElem(181,"Audi A3/S3","pi995812002.htm",180,"298");
navigation[182] = new navElem(182,"Audi TT","pi353854075.htm",180,"299");
navigation[183] = new navElem(183,"Fintec","pi1090416371.htm",179,"315");
navigation[184] = new navElem(184,"H&R","pi-864011881.htm",179,"292");
navigation[185] = new navElem(185,"Audi A3","pi1152902206.htm",184,"293");
navigation[186] = new navElem(186,"Audi A4","pi-1528638745.htm",184,"294");
navigation[187] = new navElem(187,"Audi S4","pi1008376988.htm",184,"295");
navigation[188] = new navElem(188,"Audi A6","pi-1805537427.htm",184,"296");
navigation[189] = new navElem(189,"Audi TT","pi1393017898.htm",184,"297");
navigation[190] = new navElem(190,"KW","pi-1482622958.htm",179,"47");
navigation[191] = new navElem(191,"Koni","pi1067442038.htm",179,"56");
navigation[192] = new navElem(192,"Optik","pi1040557093.htm",143,"39");
navigation[193] = new navElem(193,"Pop-Off Ventile","pi2112149144.htm",143,"321");
navigation[194] = new navElem(194,"PU-Buchsen","pi1098521966.htm",143,"496");
navigation[195] = new navElem(195,"Schläuche","pi431052966.htm",143,"129");
navigation[196] = new navElem(196,"Samco","pi1162983727.htm",195,"130");
navigation[197] = new navElem(197,"Audi TT Quattro 165kw","pi1088189761.htm",196,"310");
navigation[198] = new navElem(198,"Sportluftfilter","pi1732164892.htm",143,"304");
navigation[199] = new navElem(199,"BMC","pi1055811053.htm",198,"305");
navigation[200] = new navElem(200,"Sportkupplungen","pi1088100073.htm",143,"308");
navigation[201] = new navElem(201,"Sachs","pi710434038.htm",200,"309");
navigation[202] = new navElem(202,"Audi TT Quattro","pi1094506618.htm",201,"316");
navigation[203] = new navElem(203,"Audi A3 1,8T Quattro/S3 Quattro","pi1588570483.htm",201,"317");
navigation[204] = new navElem(204,"Spurverbreiterungen","pi584223410.htm",143,"157");
navigation[205] = new navElem(205,"SCC","pi-503542524.htm",204,"181");
navigation[206] = new navElem(206,"LK 5x100","pi-98677429.htm",205,"158");
navigation[207] = new navElem(207,"LK 5x112","pi1283782704.htm",205,"159");
navigation[208] = new navElem(208,"Schmierstoffe","pi1069749498.htm",null,"125");
navigation[209] = new navElem(209,"Gleitbeschichtung","pi1857072056.htm",208,"127");
navigation[210] = new navElem(210,"SX6000","pi-2057994407.htm",209,"128");
navigation[211] = new navElem(211,"Öle","pi162350668.htm",208,"133");
navigation[212] = new navElem(212,"Pflege","pi1453542387.htm",null,"126");
navigation[213] = new navElem(213,"Scheibenpflege","pi1014875972.htm",212,"131");
navigation[214] = new navElem(214,"Petzold","pi1080546059.htm",212,"288");

// 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"));

