	// define buildUp Methods for StandAloneElements
	function createLine(){
		myLine = new clsObject("OrderBody")
			myLine.LinePos						=	xmlOHeader.childNodes.length;
			myLine.ProductNo					=	"";
			myLine.Name							=	"";
			myLine.Description					=	"";
			myLine.PriceUserEntry				=	"";
			myLine.PriceUnit					=	"1";
			myLine.MinOrder						=	"1";
			myLine.QuantityUnit					=	"";
			myLine.QuantityAmount				=	"1";
			myLine.TaxClass						=	"0";
			myLine.TaxRate						=	"0";
			myLine.TaxAmountLineTotalLC			=	"0";
			myLine.TaxAmountLineTotalSC			=	"0";
			myLine.DiscountRate					=	"0";
			myLine.DiscountNetSingleUnitLC		=	"0";
			myLine.DiscountGrossSingleUnitLC	=	"0";
			myLine.DiscountNetLineTotalLC		=	"0";
			myLine.DiscountGrossLineTotalLC		=	"0";
			myLine.DiscountNetSingleUnitSC		=	"0";
			myLine.DiscountGrossSingleUnitSC	=	"0";
			myLine.DiscountNetLineTotalSC		=	"0";
			myLine.DiscountGrossLineTotalSC		=	"0";
			myLine.PriceNetSingleUnitLC			=	"0";
			myLine.PriceGrossSingleUnitLC		=	"0";
			myLine.PriceNetLineTotalLC			=	"0";
			myLine.PriceGrossLineTotalLC		=	"0";
			myLine.PriceNetSingleUnitSC			=	"0";
			myLine.PriceGrossSingleUnitSC		=	"0";
			myLine.PriceNetLineTotalSC			=	"0";
			myLine.PriceGrossLineTotalSC		=	"0";
			myLine.WeightUnit					=	"";
			myLine.WeightAmountSingleUnit		=	"0";
			myLine.WeightAmountLineTotal		=	"0";
			// remove
			myLine.addNode("Internal");
	// return Line-Object to Caller
	return myLine;
	};
// 
	function addToBag(anElement,Amount){
		with(this){
			var taxamount = taxarea[parseInt(xmlConfig.taxarea)][parseInt(anElement.Tax) + 1];
			var update = -1;
			myLines = xmlOHeader.childNodes
			for(var i=0;i<myLines.length;i++){
				if(myLines[i].ProductNo==anElement.Prod_nr){
					update = i;
					break;
					};
				};
			// product already in shoppingcard
			if(update>-1){
				// detect position of prod_nr in shoppingcart
				myLines[i].QuantityAmount = Amount;
				if(boolPriceTaxIncl){
					myLines[i].PriceNetLineTotalLC = anElement.Price * Amount * ( 1 - taxamount/( 100 + taxamount ));
					myLines[i].PriceGrossLineTotalLC = anElement.Price * Amount;
					}
				else{
					myLines[i].PriceNetLineTotalLC = anElement.Price * Amount;
					myLines[i].PriceGrossLineTotalLC = anElement.Price * Amount * ( 1 + taxamount/100 );
					};
				}
			// add product to shoppingcart
			else{
				myLine = createLine();
				myLine.ProductNo = anElement.Prod_nr;
				myLine.Name = anElement.Title;
				myLine.Description = anElement.Subtitle;
				myLine.QuantityAmount = Amount;
				myLine.QuantityUnit = anElement.Unitdesc;
				myInternal = myLine.getFirstItem("Internal")
					myInternal.price = anElement.Price;
					myInternal.address = anElement.LnkAdress;
					myInternal.navIndex = anElement.NavIndex;
					myInternal.discount = anElement.Discount;
					myInternal.minOrder = anElement.Minorder;
					myInternal.variants = anElement.Variants;
					myInternal.catDiscount = anElement.catDiscount;
				
				myLine.WeightAmountSingleUnit = parseFloat(anElement.Weight);
				myLine.WeightAmountLineTotal = parseFloat(anElement.Weight) * parseInt(Amount);
				
				myLine.TaxClass = anElement.Tax;
				myLine.TaxRate = taxamount;
				
				myLine.PriceUnit = anElement.PriceUnit;
				
				if(boolPriceTaxIncl){
					myLine.PriceNetSingleUnitLC = parseFloat(anElement.Price) * ( 1 - taxamount/( 100 + taxamount ) );
					myLine.PriceNetLineTotalLC = parseFloat(anElement.Price) * parseInt(Amount) * ( 1 - taxamount/( 100 + taxamount ) );
					myLine.PriceGrossSingleUnitLC = parseFloat(anElement.Price);
					myLine.PriceGrossLineTotalLC = parseFloat(anElement.Price) * parseInt(Amount);
					}
				else{
					myLine.PriceNetSingleUnitLC = parseFloat(anElement.Price);
					myLine.PriceNetLineTotalLC = parseFloat(anElement.Price) * parseInt(Amount);
					myLine.PriceGrossSingleUnitLC = parseFloat(anElement.Price) * ( 1 + taxamount/100 );
					myLine.PriceGrossLineTotalLC = parseFloat(anElement.Price) * parseInt(Amount) * ( 1 + taxamount/100 );
					};
				myLines[myLines.length] = myLine;
				};
			safeData();
			var dummyQueryString = "";
			if(Element){
				dummyQueryString += "productId=" + anElement.Prod_No + "&quantity=" + Amount;
				};
			location.href="orderform.htm?" + dummyQueryString;
			};
		};
// ** 1105
	function TElementPrint(){
		var boolDisplArtId = "true";
		var variants, variantString = "";
		variants = this.Variants.split("@");
		for(var i=0; i<variants.length - 1; i++){
			variantString += "search" + i + "_EQ_" + variants[i].split(";")[1] + "_AND_"; 
			};
		variantString += "{EOL}";
		
		var addToBag = '<img src="assets/images/btnaddtobag.gif" width="115" height="48" alt="BtnAddToBag.gif" border="0" align="bottom" hspace="0" vspace="0" class="main">';
		var rString = '<TR><TD align="right" class="PROVIEWBODY">';
		if(this.Image!=""){
			if(this.LnkAdress!="#DROP#") rString += "<a href=\"" + this.LnkAdress + "?defaultVariants=" + variantString + "&categoryId=" + this.NavIndex + "\">";
			rString += "<img src='" + this.Image + "' border=0";
			if(this.Width!=0) rString += " width=" + this.Width;
			if(this.Height!=0) rString += " height=" + this.Height;
			rString += " align=\"top\">";
			if(this.LnkAdress!="#DROP#") rString += "</a>";
			};
		
		rString += '</TD><TD class="PROVIEWBODY" valign="top" width="100%"><TABLE border="0" cellpadding="1" cellspacing="0" width="100%">';
		if(boolDisplArtId) rString += '<TR><TD class="PROVIEWARTID">' + this.Prod_nr + "</TD></TR>";
		rString += "<TR><TD class=\"PROVIEWBEZ1\">"
		if(this.LnkAdress!="#DROP#") rString += "<a href=\"" + this.LnkAdress + "?defaultVariants=" + variantString + "&categoryId=" + this.NavIndex + "\">"
		rString += this.Title;
		if(this.LnkAdress!="#DROP#") rString += "</a>";
		rString += "</TD></TR>"
			+ "<TR><TD class=\"PROVIEWBEZ2\">" + this.Subtitle;
		if(variants.length>0) rString += "<br>";
		for(var i=0; i<variants.length - 1; i++){
			rString	+= "<nobr><strong>" + variants[i].split(";")[0] + ": " + variants[i].split(";")[1] + "</strong>"
			if(i<variants.length-2) rString += ", ";
			rString += "</nobr>";
			};
		rString += "</TD></TR>";
		if(this.displMode==0||this.displMode==2){
			rString	+= "<TR><TD>";
			rString += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
			if(this.catDiscount==0){
				rString += "<tr valign=\"top\"><td class=\"PROVIEWPRICE\" nowrap>";
				rString += TFormatCurrency(displPrice(this.Price,this.Tax) / this.PriceUnit, objPriCurrency);
				if(boolDisplSecCurr) rString += charSecCurrDelimiter + TFormatCurrency(displPrice(this.Price,this.Tax) / this.PriceUnit, objSecCurrency);
				rString += "</td></tr>";
				}
			else{
				if(this.Discount==""||this.Discount=="{EOL}"){
					rString += "<tr valign=\"top\">";
					rString += "<td nowrap>Preis vorher:&nbsp;</td>";
					rString += "<td class=\"PROVIEWPRICESTROKEN\" nowrap>";
					rString += TFormatCurrency(displPrice(this.Price,this.Tax) / this.PriceUnit, objPriCurrency);
					rString += "</td>"
					rString += "</tr>";
					rString += "<tr valign=\"top\">";
					rString += "<td nowrap>Jetzt nur noch:&nbsp;</td>";
					rString += "<td class=\"PROVIEWPRICE\" nowrap>";
					rString += TFormatCurrency(displPrice(this.Price * (1 - this.catDiscount / 100 ),this.Tax) / this.PriceUnit, objPriCurrency);
					if(boolDisplSecCurr) rString += charSecCurrDelimiter + TFormatCurrency(displPrice(this.Price - ( this.Price * this.catDiscount / 100 ),this.Tax) / this.PriceUnit, objSecCurrency);
					rString += "</td>"
					rString += "</tr>";
					}
				else{
					rString += "<tr valign=\"top\"><td class=\"PROVIEWPRICE\" nowrap>";
					rString += TFormatCurrency(displPrice(this.Price,this.Tax) / this.PriceUnit, objPriCurrency);
					if(boolDisplSecCurr) rString += charSecCurrDelimiter + TFormatCurrency(displPrice(this.Price,this.Tax) / this.PriceUnit, objSecCurrency);
					rString += "</td></tr>";
					};
				};
			rString += "</table>";
			rString += "</TD></TR>";
			}
		else if(this.displMode==3){
			rString	+= "<TR><TD class=\"PROVIEWPRICE\" nowrap>";
			rString += "Preis auf Anfrage";
			rString += "</TD></TR>";
			};
		if(this.displMode==0){
			rString += "<TR><TD>&nbsp;</TD></TR>"
				+ "<TR><TD><a href=\"JavaScript:addToBag(Entry[" + this.Index + "]," + this.Minorder + ");\">" + addToBag + "</a></TD></TR>";
			};
		rString += "<TR><TD>&nbsp;</TD></TR>"
			+ "</TABLE>"
			+ "</td></tr>";
		return(rString);
		};
// ** 1106
	function Element(Index,Image,Width,Height,Prod_nr,Title,Subtitle,Manufac,Price,Weight,Tax,PriceUnit,Unitdesc,NavIndex,Options,LnkAdress,Discount,Minorder,Category,catDiscount,displMode){
		this.Index = Index;
		this.Image = Image;this.Width = Width;
		this.Height = Height;this.Prod_nr = Prod_nr;
		this.Title = Title;this.Subtitle = Subtitle;
		this.Manufac = Manufac;this.Price = Price;
		this.Weight = Weight;this.Tax = Tax;
		this.PriceUnit = PriceUnit;this.Unitdesc = Unitdesc;
		this.NavIndex = NavIndex;
		this.Print = TElementPrint;this.Variants = Options;
		this.LnkAdress = LnkAdress;this.Discount = Discount;
		this.Minorder = Minorder;this.Category = Category;
		this.catDiscount = catDiscount;
		this.displMode = displMode;
		};
// ** 1107
	var Entry = new Array();
// ** 1108
	
		Entry[0] = new Element(
		0, "assets/thumb/k-d6.jpg",
		156, 170,
		"WL00006", "Dampfmaschine D 6 - Wilesco",
		"", "",
		"83.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd227773180.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/bausatz.jpg",
		149, 199,
		"WL00005", "Bausatz Dampfmaschine D 5 - Wilesco",
		"", "",
		"75.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1115054420.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/k-d10.jpg",
		160, 160,
		"WL00010", "Dampfmaschine D 10 - Wilesco",
		"", "",
		"137.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1115059472.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/k-d106.jpg",
		188, 156,
		"WL00106", "Dampfmaschine D 106 - Wilesco",
		"", "",
		"195.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd2115936702.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/k-d12.jpg",
		185, 160,
		"WL00012", "Dampfmaschine D 12 - Wilesco",
		"", "",
		"140.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-224029156.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/k-d14.jpg",
		145, 169,
		"WL00014", "Dampfmaschine D 14 - Wilesco",
		"", "",
		"120.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1086413226.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/k-d15.jpg",
		176, 149,
		"WL00015", "Dampfmaschine D 15 - Wilesco",
		"", "",
		"235.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-54181912.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/k-d141.jpg",
		200, 155,
		"WL00141", "Dampfmaschinen Fabrik D 141 - Wilesco",
		"", "",
		"253.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1603455062.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/k-wl00016.jpg",
		177, 166,
		"WL00016", "Dampfmaschine D 16 - Wilesco",
		"", "",
		"200.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1752530548.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/k-d18.jpg",
		185, 161,
		"WL00018", "Dampfmaschine D 18 - Wilesco",
		"", "",
		"224.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd635558338.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/k-d165.jpg",
		200, 135,
		"WL00165", "Dampfmaschinen Sparpaket D 165 - Wilesco",
		"", "",
		"218.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd2099526126.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/k-d20.jpg",
		180, 151,
		"WL00020", "Dampfmaschine D 20 - Wilesco",
		"", "",
		"249.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-1972393524.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/k-d21.jpg",
		184, 160,
		"WL00021", "Dampfmaschine D 21 - Wilesco",
		"", "",
		"315.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-1830660902.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/k-d22.jpg",
		188, 160,
		"WL00022", "Dampfmaschine D 22 - Wilesco",
		"", "",
		"360.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1564831384.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/k-d24.jpg",
		189, 161,
		"WL00024", "Dampfmaschine D 24 - Wilesco",
		"", "",
		"511.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd358831750.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/k-d455.jpg",
		115, 170,
		"WL00455", "Stehende Dampfmaschine D 455 - Wilesco",
		"", "",
		"173.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-820283356.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/k-d456.jpg",
		114, 169,
		"WL00456", "Stehende Dampfmaschine D 456 - Wilesco",
		"", "",
		"220.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-216454414.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/k-t90.jpg",
		160, 161,
		"WL00090", "Dampfturbine T 90 - Wilesco",
		"", "",
		"218.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-639266192.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/k-d305.jpg",
		194, 159,
		"WL00305", "Feuerwehr Dampfspritze D 305 - Wilesco",
		"", "",
		"373.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1115234537.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/k-d365.jpg",
		207, 139,
		"WL00365", "Dampfwalze Old Smoky D 365 - Wilesco",
		"", "",
		"218.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-398297793.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/k-d366.jpg",
		202, 139,
		"WL00366", "Dampfwalze schwarz/messing D 366 - Wilesco",
		"", "",
		"240.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1262516613.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/k-d368.jpg",
		193, 149,
		"WL00368", "Dampfwalze schwarz/nickel D 368 - Wilesco",
		"", "",
		"256.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd603221819.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/k-d405.jpg",
		201, 149,
		"WL00405", "Dampftraktor D 405 - Wilesco",
		"", "",
		"218.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd722957281.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/k-d406.jpg",
		200, 150,
		"WL00406", "Dampftraktor schwarz/messing D 406 - Wilesco",
		"", "",
		"240.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-2075270921.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/k-d409.jpg",
		198, 145,
		"WL00409", "Dampftraktor + Beleuchtung &quot;Showman´s Engine&quot; D 409 - Wilesco",
		"", "",
		"342.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1770630141.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/k-d430.jpg",
		170, 169,
		"WL00430", "Dampf-Lokomobile D 430 - Wilesco",
		"", "",
		"307.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-491534733.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/k-a385.jpg",
		205, 101,
		"WL00385", "Sprengwagen A 385 - Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-1628144167.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/k-a386.jpg",
		206, 101,
		"WL00386", "Sprengwagen schwarz/messing A 386 - Wilesco",
		"", "",
		"42.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1689443247.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/k-a388.jpg",
		210, 101,
		"WL00388", "Sprengwagen schwarz/nickel A 388 - Wilesco",
		"", "",
		"53.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-215808651.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/k-a425.jpg",
		189, 100,
		"WL00425", "Langholzwagen A 425 - Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd201039019.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/k-a426.jpg",
		190, 101,
		"WL00426", "Langholzwagen schwarz/messing A 426 - Wilesco",
		"", "",
		"44.95", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-1649795375.htm",
		"", 1,
		"WL002", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/k-m50.gif",
		141, 62,
		"WL00500", "M 50 Winkel-Transmission von Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1115494585.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/k-m51.gif",
		60, 89,
		"WL00510", "M 51 Bohrmaschine von Wilesco",
		"", "",
		"19.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1871081508.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/k-m52.gif",
		80, 90,
		"WL00520", "M 52 Schleifbock von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1518619106.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/k-m52.gif",
		80, 90,
		"WL00530", "M 53 Kreissäge von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1427226244.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/k-m54.gif",
		75, 97,
		"WL00540", "M 54 Farbenrad von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd844854282.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/k-m55.gif",
		130, 74,
		"WL00550", "M 55 Kleine Transmission von Wilesco",
		"", "",
		"17.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1695915704.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/k-m56.gif",
		145, 82,
		"WL00560", "M 56 Modellplatte von Wilesco",
		"", "",
		"62.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd2071349430.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/k-m57.gif",
		169, 69,
		"WL00570", "M 57 Große Transmission von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-790989356.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/k-m58.gif",
		145, 76,
		"WL00580", "M 58 Schmiedehammer von Wilesco",
		"", "",
		"20.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-392093662.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/k-m59.gif",
		60, 99,
		"WL00590", "M 59 Exzenterpresse von Wilesco",
		"", "",
		"36.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1966257376.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/k-m60.gif",
		127, 90,
		"WL00600", "M 60 Bügelsäge von Wilesco",
		"", "",
		"27.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-2076727730.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/k-m61.gif",
		87, 91,
		"WL00610", "M 61 Hammerwerk von Wilesco",
		"", "",
		"19.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1874226476.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/k-m62.gif",
		83, 94,
		"WL00620", "M 62 Fallhammer von Wilesco",
		"", "",
		"19.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1492629702.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/k-m63.gif",
		75, 85,
		"WL00630", "M 63 Betonmischer von Wilesco",
		"", "",
		"22.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1295656952.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/k-m64.gif",
		103, 88,
		"WL00640", "M 64 Blechschere von Wilesco",
		"", "",
		"22.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1694486810.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/k-m66.gif",
		116, 70,
		"WL00660", "M 66 Dynamo von Wilesco",
		"", "",
		"23.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1439070332.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/k-m66-2.gif",
		75, 91,
		"WL00662", "M 66/2 Dynamo mit Laterne von Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd546785618.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/k-m67.gif",
		104, 80,
		"WL00670", "M 67 Rollfass von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-98674736.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[49] = new Element(
		49, "assets/thumb/k-m68.gif",
		75, 90,
		"WL00680", "M 68 Windmühle von Wilesco",
		"", "",
		"26.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-2097397122.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[50] = new Element(
		50, "assets/thumb/k-m69-1.gif",
		70, 91,
		"WL00691", "M 69/1 Lebensrad, rot/weiß von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-51960612.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[51] = new Element(
		51, "assets/thumb/k-m69-2.gif",
		70, 91,
		"WL00692", "M 69/2 Lebensrad, blau/rot von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1493137814.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[52] = new Element(
		52, "assets/thumb/k-m69-3.gif",
		71, 91,
		"WL00693", "M 69/3 Lebensrad, blau/gelb von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1745667416.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[53] = new Element(
		53, "assets/thumb/k-m70.gif",
		65, 101,
		"WL00700", "M 70 Gondel-Karussell von Wilesco",
		"", "",
		"35.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1086603542.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[54] = new Element(
		54, "assets/thumb/k-m71.gif",
		73, 100,
		"WL00710", "M 71 Globus-Karussell von Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd864986420.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[55] = new Element(
		55, "assets/thumb/k-m72.gif",
		54, 101,
		"WL00720", "M 72 Elefanten-Karussell von Wilesco",
		"", "",
		"35.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd472014466.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[56] = new Element(
		56, "assets/thumb/k-m73.gif",
		98, 100,
		"WL00730", "M 73 Holzsäger von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1765683328.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[57] = new Element(
		57, "assets/thumb/k-m74.gif",
		99, 100,
		"WL00740", "M 74 Scherenschleifer von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd601655982.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[58] = new Element(
		58, "assets/thumb/k-m75.gif",
		90, 100,
		"WL00750", "M 75 Stampfer von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1899272052.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[59] = new Element(
		59, "assets/thumb/k-m76.gif",
		98, 100,
		"WL00760", "M 76 Schreiner von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1819856486.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[60] = new Element(
		60, "assets/thumb/k-m77.gif",
		105, 100,
		"WL00770", "M 77 Schiffsschaukel von Wilesco",
		"", "",
		"40.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1779472728.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[61] = new Element(
		61, "assets/thumb/k-m78.gif",
		72, 101,
		"WL00780", "M 78 Riesenrad von Wilesco",
		"", "",
		"58.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-2143977658.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[62] = new Element(
		62, "assets/thumb/k-m79.gif",
		166, 86,
		"WL00790", "M 79 Nostalgische Transmission von Wilesco",
		"", "",
		"15.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd428134116.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[63] = new Element(
		63, "assets/thumb/k-m85.gif",
		114, 99,
		"WL00850", "M 85 Drehorgelmann von Wilesco",
		"", "",
		"44.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1545248846.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[64] = new Element(
		64, "assets/thumb/k-m86.gif",
		98, 100,
		"WL00860", "M 86 Hufschmied von Wilesco",
		"", "",
		"24.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-41429712.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[65] = new Element(
		65, "assets/thumb/k-m87.gif",
		132, 91,
		"WL00870", "M 87 Waldarbeiter von Wilesco",
		"", "",
		"43.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd397115102.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[66] = new Element(
		66, "assets/thumb/k-m88.gif",
		109, 100,
		"WL00880", "M 88 Dorfbrunnen von Wilesco",
		"", "",
		"43.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd778975292.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[67] = new Element(
		67, "assets/thumb/k-m89.gif",
		103, 101,
		"WL00890", "M 89 Töpfer von Wilesco",
		"", "",
		"17.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1755269322.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[68] = new Element(
		68, "assets/thumb/k-m99.jpg",
		237, 141,
		"WL00990", "M 99 Dampfgetriebene Drehorgel von Wilesco",
		"", "",
		"151.95", "0",
		"1", 1,
		"Stück", "3",
		"", "pd864479606.htm",
		"", 1,
		"WL003", "0",
		 0)
	
		Entry[69] = new Element(
		69, "assets/thumb/k-z80.jpg",
		200, 72,
		"WL00800", "Z 80 Antriebsspiralen von Wilesco",
		"", "",
		"4.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1116142870.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[70] = new Element(
		70, "assets/thumb/k-z82.jpg",
		200, 34,
		"WL00820", "Z 82 Antriebsspiralen 500 mm lang von Wilesco",
		"", "",
		"5.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-1434468044.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[71] = new Element(
		71, "assets/thumb/k-z81.jpg",
		200, 178,
		"WL01020", "Z 81 Esbit Trockenbrennstoff von Wilesco",
		"", "",
		"2.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-647439742.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[72] = new Element(
		72, "assets/thumb/k-z83.jpg",
		200, 200,
		"WL00801", "Z 83 Dampfmaschinenöl von Wilesco",
		"", "",
		"2.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1582894208.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[73] = new Element(
		73, "assets/thumb/k-esbit.jpg",
		200, 215,
		"WL01021", "36 mal Z 81 Trockenbrennstoff von Wilesco",
		"", "",
		"69.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-1167931730.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[74] = new Element(
		74, "assets/thumb/k-z80.jpg",
		200, 72,
		"WL00825", "Z 825 Antriebsspiralen 2,5 x 260 mm von Wilesco",
		"", "",
		"5.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-970193780.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[75] = new Element(
		75, "assets/thumb/k-z82.jpg",
		200, 34,
		"WL00827", "Z 827 Antriebsspiralen 2,5 x 500 mm von Wilesco",
		"", "",
		"6.95", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1422470554.htm",
		"", 1,
		"WL009", "0",
		 0)
	
		Entry[76] = new Element(
		76, "assets/thumb/k-d161.jpg",
		200, 144,
		"WL00161-1", "Dampfmaschine mit Werkstatt D 161 - Wilesco",
		"", "",
		"258.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd908176118.htm",
		"", 1,
		"WL001", "0",
		 0)
	
		Entry[77] = new Element(
		77, "assets/thumb/k-d141.jpg",
		200, 155,
		"WL00141-1", "Dampfmaschinen Fabrik D 141 von Wilesco",
		"", "",
		"253.95", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-202005996.htm",
		"", 1,
		"WL004", "0",
		 0)
	
		Entry[78] = new Element(
		78, "assets/thumb/k-d165.jpg",
		220, 146,
		"WL00165-1", "Dampfmaschinen Sparpaket D 165 von Wilesco",
		"", "",
		"218.95", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1046927774.htm",
		"", 1,
		"WL004", "0",
		 0)
	
		Entry[79] = new Element(
		79, "assets/thumb/k-d161.jpg",
		200, 144,
		"WL00161-1-1", "Dampfmaschine mit Werkstatt D 161 von Wilesco",
		"", "",
		"258.95", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-2028618912.htm",
		"", 1,
		"WL004", "0",
		 0)
	
		Entry[80] = new Element(
		80, "assets/thumb/k-d20el.jpg",
		200, 179,
		"WL00202", "D 20 Dampfmaschine elektrisch von Wilesco",
		"", "",
		"404.95", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-89223026.htm",
		"", 1,
		"WL005", "0",
		 0)
	
		Entry[81] = new Element(
		81, "assets/thumb/k-d22el.jpg",
		200, 180,
		"WL00222", "D 22 Dampfmaschine elektrisch Wilesco",
		"", "",
		"520.95", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-1733795476.htm",
		"", 1,
		"WL005", "0",
		 0)
	
		Entry[82] = new Element(
		82, "assets/thumb/k-d24el.jpg",
		200, 169,
		"WL00240", "D 24 Dampfmaschine elektrisch von Wilesco",
		"", "",
		"640.95", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-472623750.htm",
		"", 1,
		"WL005", "0",
		 0)
	
		Entry[83] = new Element(
		83, "assets/thumb/k-d48.jpg",
		200, 95,
		"WL00048", "2-Zylinder-Schiffsdampfmaschine D 48 von Wilesco",
		"", "",
		"409.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1117184254.htm",
		"", 1,
		"WL008", "0",
		 0)
	
		Entry[84] = new Element(
		84, "assets/thumb/k-d49.jpg",
		200, 180,
		"WL00049", "2-Zylinder-V-Schiffsdampfmaschine D 49 von Wilesco",
		"", "",
		"275.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-852695204.htm",
		"", 1,
		"WL008", "0",
		 0)
	
		Entry[85] = new Element(
		85, "assets/thumb/k-d52.jpg",
		200, 119,
		"WL00052", "Schiffsdampfmaschine D 52 von Wilesco",
		"", "",
		"136.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-1275720470.htm",
		"", 1,
		"WL008", "0",
		 0)
	
		Entry[86] = new Element(
		86, "assets/thumb/k-hb7.jpg",
		200, 124,
		"HB7", "Stirlingmotor HB7-AL2 - Stirling Engine Model",
		"", "",
		"179.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1118000049.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[87] = new Element(
		87, "assets/thumb/k-hb9.jpg",
		200, 165,
		"HB9", "Stirlingmotor HB9-AS2 - Stirling Engine Model",
		"", "",
		"195.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd-732822201.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[88] = new Element(
		88, "assets/thumb/k-hb10.jpg",
		200, 156,
		"HB10", "Stirlingmotor HB10-AS2 - Stirling Engine Model",
		"", "",
		"195.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1304537293.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[89] = new Element(
		89, "assets/thumb/k-hb11.jpg",
		200, 161,
		"HB11", "Stirlingmotor HB11-AS2 - Stirling Engine Model",
		"", "",
		"194.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1024806851.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[90] = new Element(
		90, "assets/thumb/k-hb12.jpg",
		200, 164,
		"HB12", "Stirlingmotor HB12-AS2 - Stirling Engine Model",
		"", "",
		"257.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd-2034473047.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[91] = new Element(
		91, "assets/thumb/k-hb13.jpg",
		200, 177,
		"HB13", "Stirlingmotor HB13-AO2 - Stirling Engine Model",
		"", "",
		"195.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1118001092.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[92] = new Element(
		92, "assets/thumb/k-hb14.jpg",
		200, 178,
		"HB14", "Stirlingmotor HB14-AO4 - Stirling Engine Model",
		"", "",
		"266.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd-913402990.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[93] = new Element(
		93, "assets/thumb/k-hb15.jpg",
		200, 217,
		"HB15", "Stirlingmotor HB15-VO2 - Stirling Engine Model",
		"", "",
		"195.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1862773776.htm",
		"", 1,
		"ST001", "0",
		 0)
	
		Entry[94] = new Element(
		94, "assets/thumb/k-hb16.jpg",
		200, 219,
		"HB16", "Stirlingmotor HB16-VO4 - Stirling Engine Model",
		"", "",
		"264.95", "0",
		"1", 1,
		"Stück", "11",
		"", "pd-1106333506.htm",
		"", 1,
		"ST001", "0",
		 0)
	
// ** 1109
	function SetupSearchEngineForm(){
		mySearchEngine = xmlConfig.getFirstItem("SearchEngine");
		if(mySearchEngine.term!="null") document.SearchEngine.Term.value = mySearchEngine.term;
		for(var i=0;i<document.SearchEngine.Mode.length;i++){
			if(i==mySearchEngine.mode) document.SearchEngine.Mode[i].selected = true;
			};
		if(mySearchEngine.maxPrice>0) document.SearchEngine.Maxprice.value = mySearchEngine.maxPrice;
		else{
			document.SearchEngine.Maxprice.value="";
			mySearchEngine.maxPrice = -1;
			};
		if(xmlConfig.getFirstItem("SearchEngine").ByCategory=="1"){
			for(var i=0;i<document.SearchEngine.navselect.length; i++){
				if(document.SearchEngine.navselect[i].value.split(';;')[2]==mySearchEngine.categoryId){
					xmlConfig.getFirstItem("SearchEngine").categoryIndex = document.SearchEngine.navselect[i].value.split(';;')[0];
					document.SearchEngine.navselect[i].selected = true;
					};
				};
			}
		else{
			xmlConfig.getFirstItem("SearchEngine").categoryIndex = "null";
			};
		};
// enable smartstore to display amount of found products ...
	var counter = 0;
// ** 1111b
	function SearchFor(Term,Mode){
	var foundItems = new Array();
	var itemPrice = 0; var currentCategory = 0;
		mySearchEngine = xmlConfig.getFirstItem("SearchEngine");
		if((Term!="null" && Term!="")||mySearchEngine.maxPrice>=0){
			if(Mode=="") Mode=0;
			Term = Term.toLowerCase();
			var result = "<form name=\"ProductIndex\" onSubmit=\"return false;\">";
			var matchCategory = true;
			var productCategory;
			for(var i=0;i<Entry.length;i++){
				if(xmlConfig.getFirstItem("SearchEngine").ByCategory=="1"){
					// Search for matching categories
					if(xmlConfig.getFirstItem("SearchEngine").categoryIndex!="null"&&xmlConfig.getFirstItem("SearchEngine").categoryIndex!="nada"){
						for(var j=0; j<Entry[i].Category.split(",").length; j++){
							matchCategory = (navigation[mySearchEngine.categoryIndex].categoryId == Entry[i].Category.split(",")[j]) ? true : false;
							if(matchCategory!=true){
								productCategory = getNavElementByCatID(Entry[i].Category.split(",")[j]);
								while(productCategory!=null&&matchCategory==false){
									if(productCategory.parentId!=null){
										if(navigation[productCategory.parentId].categoryId==xmlConfig.getFirstItem("SearchEngine").categoryId){
											currentCategory = Entry[i].Category.split(",")[j];
											matchCategory=true;
											break;
											}
										else productCategory = navigation[productCategory.parentId];
										}
									else{
										currentCategory = Entry[i].Category.split(",")[j];
										productCategory = null;
										};
									};
								}
							else{
								currentCategory = Entry[i].Category.split(",")[j];
								break;
								};
							};
						}
					else{
						currentCategory = Entry[i].Category.split(",")[0];
						matchCategory = true;
						};
					}
				else{
					currentCategory = Entry[i].Category.split(",")[0];
					matchCategory = true;
					};
				// Update current Category
				Entry[i].NavIndex = getNavElementByCatID(currentCategory).id;
				// Continue
				var foundDesc1 = Entry[i].Title.toLowerCase().indexOf(Term)!=-1;
				var foundDesc2 = Entry[i].Subtitle.toLowerCase().indexOf(Term)!=-1;
				var foundProdId = Entry[i].Prod_nr.toLowerCase().indexOf(Term)!=-1;
				var foundManufac = Entry[i].Manufac.toLowerCase().indexOf(Term)!=-1;
				// SearchFor All
				itemPrice = Entry[i].Price
				if(Entry[i].catDiscount!=0&&Entry[i].Discount==""){
					itemPrice = Entry[i].Price * (1 - Entry[i].catDiscount / 100 );
					};
				//
				itemPrice = displPrice(itemPrice, Entry[i].Tax);
				//
				if(Mode==0){
					if((foundDesc1 || foundDesc2 || foundProdId || foundManufac || Term=="null" || Term=="")&&chkMaxprice(itemPrice,mySearchEngine.maxPrice)&&matchCategory){
						counter++;
						foundItems[foundItems.length] = Entry[i];
						};
					};
				// SearchFor Description
				if(Mode==1){
					if((foundDesc1 || foundDesc2 || Term=="null" || Term=="")&&chkMaxprice(itemPrice,mySearchEngine.maxPrice)&&matchCategory){
						counter++;
						foundItems[foundItems.length] = Entry[i];
						};
					};
				// SearchFor ProdId
				if(Mode==2){
					if((foundProdId || Term=="null" || Term=="")&&chkMaxprice(itemPrice,mySearchEngine.maxPrice)&&matchCategory){
						counter++;
						foundItems[foundItems.length] = Entry[i];
						};
					};
				// SearchFor Manufac
				if(Mode==3){
					if((foundManufac || Term=="null" || Term=="")&&chkMaxprice(itemPrice,mySearchEngine.maxPrice)&&matchCategory){
						counter++;
						foundItems[foundItems.length] = Entry[i];
						};
					};
				};
			// found elements: foundItems.length
			for(var i=0; i<foundItems.length;i++){
				result += foundItems[i].Print();
				};
			result += "</form>";
			if(counter>0){
				mySearchEngine.init="false";
				return result;
				}
			else{
				if(mySearchEngine.init=="false")	return "<TR><TD colspan=\"2\" class=\"PROVIEWBODY\" nowrap>Leider wurde kein entsprechendes Produkt gefunden. Bitte versuchen Sie es erneut...</TD></TR>"
				else return("");
				};
			};
		if(mySearchEngine.init=="false") return "<TR><TD colspan=\"2\" class=\"PROVIEWBODY\" nowrap>Sie haben keine Suchkriterien angegeben. Bitte geben Sie Ihr Suchwort ein!</TD></TR>"
		else return("");
		};
// ** 11112
	function chkMaxprice(aPrice,aMaxPrice){
		aMaxPrice = replace(aMaxPrice.toString(),",",".");
		aPrice = calculateCurrencyAmount(aPrice, objPriCurrency);
		if(parseFloat(aMaxPrice)>0){
			if(parseFloat(aPrice)<=parseFloat(aMaxPrice)) return(true)
			else return(false);
			}
		else return(true);
		};
// ** 1111b
	function displPrice(aPrice,aTaxindex){
		var taxamount = taxarea[xmlConfig.taxarea][parseInt(aTaxindex) + 1];
		if(boolDisplTaxIncl){
			if(boolPriceTaxIncl) return(aPrice)
			else return(aPrice * ( 1 + taxamount/100 ) );
			}
		else{
			if(boolPriceTaxIncl) return(aPrice * ( 1 - taxamount/( 100 + taxamount ) ) )
			else return(aPrice);
			};
		};
// ** 1113
	function callpage(address, defValues, NavIndex){
		xmlConfig.getFirstItem("QueryStringData").putValue(defValues);
		xmlConfig.navIndex = NavIndex.toString();
		safeData();
		location.href = address;
		};
// ** 1114
	function newSearch(){
	var queryString = ""; var site = "";
	var xmlSearchEngine = xmlConfig.getFirstItem("SearchEngine");
		xmlSearchEngine.init='false';
		safeData();
		queryString += "mode=" + xmlSearchEngine.mode
			+ "&term=" + escape(xmlSearchEngine.term)
			+ "&maxPrice=" + escape(xmlSearchEngine.maxPrice)
			+ "&categoryId=" + escape(xmlSearchEngine.categoryIndex);
		if(location.href.indexOf("?")==-1) location.href = "search.htm?" + queryString
		else location.href = location.href.substring(0, location.href.indexOf("?")) + "?" + queryString;
		};
// ** 1115
	function searchOnEnter(){
		if(window.event.keyCode==13){
			xmlConfig.getFirstItem('SearchEngine').maxPrice=valNumber(document.SearchEngine.Maxprice.value,'0','');
			xmlConfig.getFirstItem('SearchEngine').term=document.SearchEngine.Term.value;
			newSearch();
			};
		};