//
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 += "Amount of Products:<strong>&nbsp;" + prdCount + "</strong><br>";
	prdString += "Subtotal:<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="13" height="10" alt="Bullet.gif" border="0" align="absmiddle" hspace="0" vspace="0" class="catnav">' + "Go to the Orderform</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\">Categories</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="13" height="1" height="1" alt="" border="0"></td>';
			};
		if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="13" height="10" 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="13" height="10" 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="13" height="10" 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 = false;
		this.categoryId = categoryId;
		};
// navigation
var navigation = new Array();
//
navigation[0] = new navElem(0,"Limitierte Serien 1:32 ","pi1192965022.htm",null,"1");
navigation[1] = new navElem(1,"Weise Traktoren  1:32","pi810280141.htm",0,"1.1");
navigation[2] = new navElem(2,"Replicagri (F)","pi1233612934.htm",0,"1.12");
navigation[3] = new navElem(3,"comming soon","pi-1668710704.htm",2,"1.121");
navigation[4] = new navElem(4,"Blechtraktoren","pi1008507792.htm",0,"1.13");
navigation[5] = new navElem(5,"USA","pi500742647.htm",0,"1.14");
navigation[6] = new navElem(6,"Fendt","pi1177600542.htm",0,"1.15");
navigation[7] = new navElem(7,"Deutz","pi-390230533.htm",0,"1.16");
navigation[8] = new navElem(8,"Anhänger","pi-1822969266.htm",0,"1.17");
navigation[9] = new navElem(9,"Valtra","pi-1348575878.htm",0,"1.18");
navigation[10] = new navElem(10,"MF","pi1469458726.htm",0,"1.19");
navigation[11] = new navElem(11,"Lanz","pi-1191812949.htm",0,"1.20");
navigation[12] = new navElem(12,"Schlüter","pi214220.htm",0,"1.21");
navigation[13] = new navElem(13,"Claas","pi-155257902.htm",0,"1.22");
navigation[14] = new navElem(14,"Imber","pi496304602.htm",0,"1.11");
navigation[15] = new navElem(15,"Britains  ","pi-284403632.htm",null,"2");
navigation[16] = new navElem(16,"comming soon","pi1197374394.htm",15,"2.813");
navigation[17] = new navElem(17,"Traktoren 1:32 ","pi1002655095.htm",15,"2.71");
navigation[18] = new navElem(18,"Ford  1:32","pi1908374804.htm",17,"2.712");
navigation[19] = new navElem(19,"John Deere 1:32","pi1204832589.htm",17,"2,713");
navigation[20] = new navElem(20,"New Holland 1:32","pi1194063276.htm",17,"2.714");
navigation[21] = new navElem(21,"Case 1:32","pi-1447990488.htm",17,"2.715");
navigation[22] = new navElem(22,"MF 1:32","pi790453706.htm",17,"2.716");
navigation[23] = new navElem(23,"Feldhäcksler1:32","pi1260880285.htm",15,"2.61");
navigation[24] = new navElem(24,"Baumaschinen 1:50","pi-2062384179.htm",15,"2.51");
navigation[25] = new navElem(25,"JCB","pi245882874.htm",24,"2.512");
navigation[26] = new navElem(26,"Hitachi","pi-997538667.htm",24,"2.513");
navigation[27] = new navElem(27,"John Deere","pi1181094292.htm",24,"2.515");
navigation[28] = new navElem(28,"Anhänger & Zub.1:32","pi1135445996.htm",15,"2.41");
navigation[29] = new navElem(29,"Tiere","pi1092048766.htm",28,"2_411");
navigation[30] = new navElem(30,"Farm Zubehör","pi-1729204552.htm",28,"2_412");
navigation[31] = new navElem(31,"Anhänger div.","pi-1101563058.htm",28,"2.43");
navigation[32] = new navElem(32,"Forst-Maschinen 1:50","pi1962311094.htm",15,"2.31");
navigation[33] = new navElem(33,"Trucks 1:87","pi-161497976.htm",15,"2.2");
navigation[34] = new navElem(34,"Mähdrescher 1:32","pi-981663262.htm",15,"2.11");
navigation[35] = new navElem(35,"Siku  ","pi493367687.htm",null,"3");
navigation[36] = new navElem(36,"Comming soon 2010","pi-450597102.htm",35,"3.11");
navigation[37] = new navElem(37,"Control  RC ","pi1172075780.htm",35,"3.2");
navigation[38] = new navElem(38,"Traktoren ","pi706095167.htm",35,"3.3");
navigation[39] = new navElem(39,"Anhänger ","pi145187973.htm",35,"3.4");
navigation[40] = new navElem(40,"Classic Serie ","pi-59087830.htm",35,"3.5");
navigation[41] = new navElem(41,"Mähdrescher","pi1000023468.htm",35,"3.6");
navigation[42] = new navElem(42,"Anbaugeräte","pi1657646356.htm",35,"3.7");
navigation[43] = new navElem(43,"Junior Serie ","pi1006082097.htm",35,"3.8");
navigation[44] = new navElem(44,"Super S 08-10 ","pi1005763913.htm",35,"3.81");
navigation[45] = new navElem(45,"Super S 13-14-15","pi1157290966.htm",35,"3.82");
navigation[46] = new navElem(46,"Super S 16","pi-920983393.htm",35,"3.83");
navigation[47] = new navElem(47,"Super S 18- Maßstab 1:87","pi1156321367.htm",35,"3.84");
navigation[48] = new navElem(48,"Super S 19-35","pi-746996236.htm",35,"3.85");
navigation[49] = new navElem(49,"Super S 37-39","pi-127264109.htm",35,"3.86");
navigation[50] = new navElem(50,"Super S 35- Maßstab 1:50","pi-11779293.htm",35,"3.87");
navigation[51] = new navElem(51,"Super S 40-66","pi-52350999.htm",35,"3.88");
navigation[52] = new navElem(52,"Zubehör S 70..","pi-1629128303.htm",35,"3.89");
navigation[53] = new navElem(53,"Universal Hobbies  ","pi1096715613.htm",null,"4");
navigation[54] = new navElem(54,"Coming soon 2010","pi-1513760421.htm",53,"4.11");
navigation[55] = new navElem(55,"LKW Modelle  1:50","pi573712941.htm",53,"4.24");
navigation[56] = new navElem(56,"Baumaschinen 1:50","pi740545356.htm",53,"4.23");
navigation[57] = new navElem(57,"Kramer  1:50","pi519462878.htm",56,"4.16");
navigation[58] = new navElem(58,"Komatsu 1:50","pi-210364760.htm",56,"Komatsu");
navigation[59] = new navElem(59,"Anhänger & Zub 1:32","pi1546942139.htm",53,"4.20");
navigation[60] = new navElem(60,"Traktoren 1:16  ","pi1421218140.htm",53,"4.19");
navigation[61] = new navElem(61,"Traktoren 1:32 ","pi1109621604.htm",53,"4.18");
navigation[62] = new navElem(62,"Claas","pi-1631160244.htm",61,"4.182");
navigation[63] = new navElem(63,"Fendt","pi1632694534.htm",61,"4.183");
navigation[64] = new navElem(64,"Massey Ferguson","pi1227944957.htm",61,"4.185");
navigation[65] = new navElem(65,"Mc Cormic ","pi321273800.htm",61,"4.186");
navigation[66] = new navElem(66,"Mähdrescher  1:32","pi1148134590.htm",53,"4.17");
navigation[67] = new navElem(67,"Kataloge","pi-1138327987.htm",53,"4.15");
navigation[68] = new navElem(68,"Schlüsselanhänger","pi1171368765.htm",53,"4.14");
navigation[69] = new navElem(69,"Claas","pi1658739895.htm",68,"4.141");
navigation[70] = new navElem(70,"Komatsu","pi52606508.htm",68,"4.142");
navigation[71] = new navElem(71,"Trucks","pi1405369054.htm",68,"4.143");
navigation[72] = new navElem(72,"Traktoren 1:43","pi827657471.htm",53,"4.13");
navigation[73] = new navElem(73,"Bruder","pi1022916306.htm",null,"5");
navigation[74] = new navElem(74,"Unimog 1:16","pi828983820.htm",73,"17-25");
navigation[75] = new navElem(75,"Anhänger+Zub. 1:16","pi-365726058.htm",73,"17-14");
navigation[76] = new navElem(76,"Baumaschinen 1:16","pi-2001839343.htm",73,"17-13");
navigation[77] = new navElem(77,"Traktoren 1:16","pi401162576.htm",73,"1712");
navigation[78] = new navElem(78,"Lastwagen 1.16","pi216895211.htm",73,"17-11");
navigation[79] = new navElem(79,"Ros Agritec","pi-1683874139.htm",null,"6");
navigation[80] = new navElem(80,"Comming soon","pi1232185496.htm",79,"6.1");
navigation[81] = new navElem(81,"Schuco    ","pi1046430063.htm",null,"7");
navigation[82] = new navElem(82,"comming soon","pi-1652775411.htm",81,"7.11");
navigation[83] = new navElem(83,"Traktoren 1:32 ","pi654748768.htm",81,"7.12");
navigation[84] = new navElem(84,"OldtimerTraktoren neu 2010","pi303912704.htm",81,"7.13");
navigation[85] = new navElem(85,"Sets OldtimerTraktoren 1:43","pi1201634330.htm",81,"7.14");
navigation[86] = new navElem(86,"Oldtimer Anhänger 1:43","pi-1124670701.htm",81,"7.15");
navigation[87] = new navElem(87,"Oldtimer Traktoren 1:18","pi-249389630.htm",81,"7.16");
navigation[88] = new navElem(88,"Oldtimer Traktoren  1:43","pi1026249383.htm",81,"7.17");
navigation[89] = new navElem(89,"Traktoren 1:87 ","pi-307085314.htm",81,"7.18");
navigation[90] = new navElem(90,"Kombi Angebot 1:87 neu 2010","pi1265988691.htm",81,"7.19");
navigation[91] = new navElem(91,"Oldtimer: Lanz, Hanomag  1:43","pi1048011468.htm",81,"7.20");
navigation[92] = new navElem(92,"Feuerwehr Oltimer 1:43","pi-955201814.htm",81,"7.21");
navigation[93] = new navElem(93,"Jungtimer Unimog 1:43","pi-370184408.htm",81,"7.22");
navigation[94] = new navElem(94,"Piccolo Serie","pi974058643.htm",81,"7.23");
navigation[95] = new navElem(95,"DVD´s, Kataloge","pi-189188835.htm",81,"7.24");
navigation[96] = new navElem(96,"Miniatur Figuren  1:43","pi1131790645.htm",81,"7.26");
navigation[97] = new navElem(97,"NZG       ","pi2106701297.htm",null,"8");
navigation[98] = new navElem(98,"Liebherr","pi1595776878.htm",97,"8.11");
navigation[99] = new navElem(99,"Caterpillar","pi13057008.htm",97,"8.12");
navigation[100] = new navElem(100,"Terex","pi-1070679796.htm",97,"8.13");
navigation[101] = new navElem(101,"Grove Autokrane","pi1143718356.htm",97,"8.14");
navigation[102] = new navElem(102,"Bomag","pi778588040.htm",97,"8.15");
navigation[103] = new navElem(103,"Zettelmeier","pi351257816.htm",97,"8.16");
navigation[104] = new navElem(104,"Hanomag","pi432679657.htm",97,"8.17");
navigation[105] = new navElem(105,"Fuchs/Menk","pi102304700.htm",97,"8.18");
navigation[106] = new navElem(106,"O&K","pi408346870.htm",97,"8.19");
navigation[107] = new navElem(107,"Manitowoc","pi222636293.htm",97,"8.20");
navigation[108] = new navElem(108,"Wirtgen","pi2031284018.htm",97,"8.21");
navigation[109] = new navElem(109,"Hamm","pi1903834005.htm",97,"8.22");
navigation[110] = new navElem(110,"Stapler","pi-1648691253.htm",97,"8.23");
navigation[111] = new navElem(111," LKW Trucks","pi-264376144.htm",97,"8.24");
navigation[112] = new navElem(112,"MB Mischer/ Mixer","pi-128702122.htm",111,"8.243");
navigation[113] = new navElem(113,"Scania","pi1195087756.htm",111,"8.241");
navigation[114] = new navElem(114,"MB Trucks","pi-671423002.htm",111,"8.242");
navigation[115] = new navElem(115,"Oldtimer ","pi1875707486.htm",97,"8.25");
navigation[116] = new navElem(116,"Kaelble","pi1335477459.htm",115,"8.251");
navigation[117] = new navElem(117,"Unimog ","pi-705562611.htm",97,"8.3");
navigation[118] = new navElem(118,"Atlas","pi-158526163.htm",97,"8.4");
navigation[119] = new navElem(119,"Zubehör/Implem.","pi-653087669.htm",97,"8.6");
navigation[120] = new navElem(120,"Hitachi","pi1258475063.htm",97,"8.7");
navigation[121] = new navElem(121,"Conrad     ","pi-2091679394.htm",null,"9");
navigation[122] = new navElem(122,"coming soon","pi1193760092.htm",121,"9.11");
navigation[123] = new navElem(123,"Goldhofer","pi1084597492.htm",121,"9.12");
navigation[124] = new navElem(124,"Case","pi1002023889.htm",121,"9.13");
navigation[125] = new navElem(125,"Bagger","pi-499096631.htm",121,"9.14");
navigation[126] = new navElem(126,"Krane ","pi1002092200.htm",121,"9.15");
navigation[127] = new navElem(127,"Radlader","pi1131466343.htm",121,"9.16");
navigation[128] = new navElem(128,"Nooteboom","pi914505208.htm",121,"9.18");
navigation[129] = new navElem(129,"Liebherr","pi1520490472.htm",121,"9.19");
navigation[130] = new navElem(130,"Lastwagenmodelle 1:50","pi1636745965.htm",121,"9.20");
navigation[131] = new navElem(131,"MAN Sonderserien","pi-1082502014.htm",130,"9.21");
navigation[132] = new navElem(132,"MAN TGA/TGS Schwerlast","pi309060858.htm",130,"9.22");
navigation[133] = new navElem(133,"Mercedes Benz Schwerl.","pi1236493200.htm",130,"9.23");
navigation[134] = new navElem(134,"Volvo","pi-813349021.htm",130,"9.24");
navigation[135] = new navElem(135,"Betonmischer/Pumpen","pi1681399894.htm",121,"9.3");
navigation[136] = new navElem(136,"Stapler","pi1055895068.htm",121,"9.4");
navigation[137] = new navElem(137,"Zubehör","pi97985324.htm",121,"9.5");
navigation[138] = new navElem(138,"Selten Raritäten","pi1193408654.htm",121,"9.6");
navigation[139] = new navElem(139,"Jungheinrich","pi-539421823.htm",121,"9.7");
navigation[140] = new navElem(140,"Norscot     ","pi-963641668.htm",null,"10");
navigation[141] = new navElem(141,"Caterpillar 1:32  ","pi-1170756160.htm",140,"10.12");
navigation[142] = new navElem(142,"Caterpillar 1:50,1:87,1:64","pi1684626050.htm",140,"10.13");
navigation[143] = new navElem(143,"CAT Bagger  1:50 ","pi-1994715423.htm",142,"10.131");
navigation[144] = new navElem(144,"CAT Baggerlader 1:50","pi-1068827848.htm",142,"10.132");
navigation[145] = new navElem(145,"CAT Ketten Dozer 1:50","pi1157714491.htm",142,"10.133");
navigation[146] = new navElem(146,"CAT Muldenkipper  1:50","pi901515635.htm",142,"10.134");
navigation[147] = new navElem(147,"CAT Straßenbau 1:50","pi722950790.htm",142,"10.136");
navigation[148] = new navElem(148,"CAT  1:64 ","pi-241128720.htm",142,"10.137");
navigation[149] = new navElem(149,"CAT  1:87","pi-1855914546.htm",142,"10.138");
navigation[150] = new navElem(150,"CAT Stapler 1:50,1:25","pi110683078.htm",142,"10.139");
navigation[151] = new navElem(151,"CAT Truck s  1:50","pi-1077655747.htm",142,"10.140");
navigation[152] = new navElem(152,"Liebherr 1:50","pi788038492.htm",140,"10.15");
navigation[153] = new navElem(153,"Case 1:87","pi1171477877.htm",140,"10.16");
navigation[154] = new navElem(154,"Claas Farming 1:87","pi-1670160168.htm",140,"10.17");
navigation[155] = new navElem(155,"Motorart   ","pi558409318.htm",null,"11");
navigation[156] = new navElem(156,"Volvo Radlader 1:50","pi554587660.htm",155,"11.1");
navigation[157] = new navElem(157,"Volvo 1:87","pi1115300043.htm",155,"11.4");
navigation[158] = new navElem(158,"Volvo Trucks 1:50","pi-327780829.htm",155,"11.2");
navigation[159] = new navElem(159,"Joal","pi615975573.htm",null,"12");
navigation[160] = new navElem(160,"Caterpillar,1:25, 1:50,1:70","pi-1394946635.htm",159,"12.11");
navigation[161] = new navElem(161,"Komatsu 1:50, 1:25","pi-376781768.htm",159,"12.12");
navigation[162] = new navElem(162,"Volvo  1:50","pi-1004774365.htm",159,"12.13");
navigation[163] = new navElem(163,"JCB Modelle 1.50,1:35,1:25","pi1313183017.htm",159,"12.14");
navigation[164] = new navElem(164,"Manitou 1:25","pi1250245515.htm",159,"12.15");
navigation[165] = new navElem(165,"Straßenwalzen,1:50,1:35","pi-794967265.htm",159,"12.16");
navigation[166] = new navElem(166,"Muldenkipper 1:50, 1:35","pi2067478219.htm",159,"12.17");
navigation[167] = new navElem(167,"Radlader 1:50,1:35,1:25","pi-727545294.htm",159,"12.18");
navigation[168] = new navElem(168,"Bagger 1:50, 1:25, 1:35","pi991493405.htm",159,"12.19");
navigation[169] = new navElem(169,"Busse 1:50, 1:87","pi858741531.htm",159,"12.20");
navigation[170] = new navElem(170,"Gabelstapler 1:25,1:30,1:50","pi-1410590059.htm",159,"12.21");
navigation[171] = new navElem(171,"Krane 1:50, 1:25","pi997615592.htm",159,"12.22");
navigation[172] = new navElem(172,"LKW Modelle 1:50, 1:87","pi-208423985.htm",159,"12.23");
navigation[173] = new navElem(173,"DAF Trucks 1:50","pi-121571733.htm",172,"12.235");
navigation[174] = new navElem(174,"Volvo Trucks 1:50","pi-1920752600.htm",172,"12.234");
navigation[175] = new navElem(175,"MB Trucks 1:50","pi1170688570.htm",172,"12.232");
navigation[176] = new navElem(176,"Renault Trucks 1:50","pi1170688728.htm",172,"12.231");
navigation[177] = new navElem(177,"Framing 1:32","pi-1388145308.htm",159,"12.4");
navigation[178] = new navElem(178,"Waldwirtsch.","pi777786827.htm",177,"12.411");
navigation[179] = new navElem(179,"Mähdrescher","pi1288701792.htm",177,"12.412");
navigation[180] = new navElem(180,"Traubenernter","pi-212485897.htm",177,"12.413");
navigation[181] = new navElem(181,"Sondermodelle","pi1171989237.htm",159,"12.6");
navigation[182] = new navElem(182,"reduzierte Modelle","pi-1124075225.htm",159,"12.7");
navigation[183] = new navElem(183,"Zon ","pi999973187.htm",null,"13");
navigation[184] = new navElem(184,"Zubehör, implements","pi-1046638479.htm",183,"13.1");
navigation[185] = new navElem(185,"Schwerlast Ladungen","pi1071909100.htm",183,"13.2");
navigation[186] = new navElem(186,"Schwerlast LKW Bausatz","pi522568774.htm",183,"13.4");
navigation[187] = new navElem(187,"First Gear ","pi1211027167.htm",null,"14");
navigation[188] = new navElem(188,"Kataloge ","pi2113933310.htm",null,"15");
navigation[189] = new navElem(189,"Fachbücher bebildert","pi466494893.htm",188,"15.1");
navigation[190] = new navElem(190,"Siku Kataloge","pi2138571903.htm",188,"15.2");
navigation[191] = new navElem(191,"Farming Toys","pi594308206.htm",188,"15.3");
navigation[192] = new navElem(192,"Conrad","pi-1255137991.htm",188,"15.4");
navigation[193] = new navElem(193,"NZG","pi1275508362.htm",188,"15.5");
navigation[194] = new navElem(194,"Schuco","pi1218044110.htm",188,"15.51");
navigation[195] = new navElem(195,"Norsoct","pi-1001944842.htm",188,"15.52");
navigation[196] = new navElem(196,"Universal Hobbies","pi1177341023.htm",188,"15.53");
navigation[197] = new navElem(197,"Joal","pi-1362566046.htm",188,"15.54");
navigation[198] = new navElem(198,"Britains","pi1225237144.htm",188,"15.56");
navigation[199] = new navElem(199,"Modellautos ","pi1990771814.htm",null,"16");
navigation[200] = new navElem(200,"Exklusiv 1:43 Rover","pi596924228.htm",199,"16.1");
navigation[201] = new navElem(201,"Land Rover 1:32","pi438171728.htm",199,"16.2");
navigation[202] = new navElem(202,"Harley`s 1:18 ","pi-163841616.htm",199,"16.3");
navigation[203] = new navElem(203,"Revell 1:18 ","pi-1982137411.htm",199,"16.4");
navigation[204] = new navElem(204,"Eligor 1:43 ","pi-415923919.htm",199,"16.5");
navigation[205] = new navElem(205,"Guiloy Autos","pi999954701.htm",199,"16.7");
navigation[206] = new navElem(206,"Matchbox VW MAN DB","pi1582318845.htm",199,"16.8");
navigation[207] = new navElem(207,"Guiloy Bike`s 1:10 ","pi1171011055.htm",199,"16.9");
navigation[208] = new navElem(208,"Burago","pi-2131428644.htm",199,"16.91");
navigation[209] = new navElem(209,"Bernard Bär","pi1240577473.htm",null,"17");
navigation[210] = new navElem(210,"** Sommerschlußverk**","pi8044479.htm",null,"18");
navigation[211] = new navElem(211,"Ros - Sommerschlußverkauf","pi879964857.htm",210,"6.2");
navigation[212] = new navElem(212,"Universal Hobbies Abverkauf","pi-966743309.htm",210,"4.12");
navigation[213] = new navElem(213,"*Bastelecke","pi1255071851.htm",null,"18.1");
navigation[214] = new navElem(214,"Rudolph das Rentier","pi1240641015.htm",null,"19");
navigation[215] = new navElem(215,"Kid`s Globe Farming Zub.1:32","pi1582383469.htm",null,"20");
navigation[216] = new navElem(216,"Maßstab 1:16","pi-424036171.htm",215,"19.1");

// 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"));

