	// 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="98" height="19" alt="Artikel merken" 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/CanK650.jpg",
		90, 117,
		"B002", "Canosan Konzentrat Pellets 4% - 650g",
		"stärkt Bänder und Gelenke", "",
		"49", "0",
		"1", 1,
		"Stück", "2",
		"", "pd241517933.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/CanKonzP.jpg",
		90, 130,
		"B003", "Canosan Konzentrat Pellets 4% - 1300g",
		"stärkt Bänder und Gelenke", "",
		"87.5", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-1407634878.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/canospell.jpg",
		90, 76,
		"B006", "Canosan Pellets 1000g",
		"Gelenk- und Bindegewebsstoffwechsel", "",
		"65", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-612498631.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[3] = new Element(
		3, "",
		0, 0,
		"B023", "MasterPlus Nachfüllpatrone Geruchlos 150 ml",
		"Erziehung ohne Strafe", "",
		"24.24", "0",
		"2", 1,
		"Stück", "8",
		"", "pd1084138788.htm",
		"", 1,
		"BH7", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/masterpluspro.jpg",
		150, 118,
		"B005", "MasterPlusPro Set &quot;Neue Generation&quot;",
		"Erziehung ohne Strafe", "",
		"230.57", "0",
		"2", 1,
		"Stück", "8",
		"", "pd-1584917624.htm",
		"", 1,
		"BH7", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/Feli6.jpg",
		90, 120,
		"B013", "Feliway Nachfüllung 48ml f. Zerstäuber",
		"gegen Harnmarkieren in der Wohnung", "",
		"18.85", "0",
		"2", 1,
		"Stück", "10",
		"", "pd-1993291497.htm",
		"", 1,
		"BK1", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/Feli1.jpg",
		90, 156,
		"B010", "Feliway Zerstäuber Set f. Katzen",
		"gegen Harnmarkieren in der Wohnung", "",
		"28", "0",
		"2", 1,
		"Stück", "10",
		"", "pd-1363342104.htm",
		"", 1,
		"BK1", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/Feli3.jpg",
		90, 156,
		"B018", "Feliway Sprühflasche für Katzen -60ml",
		"gegen Harnmarkieren in der Wohnung", "",
		"23.5", "60",
		"2", 1,
		"Stück", "10",
		"", "pd1084139265.htm",
		"", 1,
		"BK1", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/Equit1.jpg",
		90, 132,
		"B028", "Equitop Myoplast - 1,5kg",
		"hochdosiertes Ergänzungsfuttermittel zum Muskelaufbau", "",
		"84.5", "1.5",
		"1", 1,
		"Stück", "15",
		"", "pd-2000970070.htm",
		"", 1,
		"BP1", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/forte225.jpg",
		90, 77,
		"B025", "Fortiflex 225 - 30 Tabl.",
		"Unterstützung des Gelenkstoffwechsel - Hunde bis 15 kg Körpergewicht", "",
		"31.2", "0",
		"1", 1,
		"Packung", "2",
		"", "pd-1568810545.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/forte375.jpg",
		90, 73,
		"B026", "Fortiflex 375 - 30 Tabl.",
		"Unterstützung des Gelenkstoffwechsel - Hunde 15-25 kg Körpergewicht", "",
		"41.2", "0",
		"1", 1,
		"Packung", "2",
		"", "pd-1229279083.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/Forte525.jpg",
		90, 67,
		"B027", "Fortiflex 525 - 30 Tabl.",
		"Unterstützung des Gelenkstoffwechsel - Hunde 25-35 kg Körpergewicht", "",
		"51.9", "0",
		"1", 1,
		"Packung", "2",
		"", "pd2017705163.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/CanFor400.jpg",
		90, 110,
		"B007", "Caniviton Forte 30 - 400g",
		"gut für Gelenke: Knorpel, Sehnen und Bänder", "",
		"45.5", "400",
		"1", 1,
		"Stück", "2",
		"", "pd-619952906.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/CanFor1.jpg",
		90, 122,
		"B008", "Caniviton Forte 30 - 1000g",
		"Gut für die Gelenke: Knorpel, Sehnen und Bänder", "",
		"79.5", "1000",
		"1", 1,
		"Stück", "2",
		"", "pd-603337708.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[14] = new Element(
		14, "",
		0, 0,
		"B009", "Caniviton Highdensity HD 50 Tabl.",
		"gut für die Gelenke", "",
		"23.9", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-449748894.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/Chass4a.jpg",
		90, 149,
		"B012", "Chassoton 4% Granulat - 400g",
		"speziell für ältere Hunde (Gelenke und Muskulatur)", "",
		"39.5", "400",
		"1", 1,
		"Stück", "2",
		"", "pd-201594312.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/dogo625.jpg",
		90, 133,
		"B014", "Dogosan Pellets 625g (mit SyneCart)",
		"für Gelenke und Bänder", "",
		"36.5", "625",
		"1", 1,
		"Stück", "2",
		"", "pd979079964.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/Dogo625F1.jpg",
		90, 126,
		"B015", "Dogosan Forte Pellets 675g (mit SyneCart)",
		"für Gelenke und Bänder", "",
		"59.5", "625",
		"1", 1,
		"Stück", "2",
		"", "pd-1812490562.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/Dogosan.jpg",
		90, 120,
		"B016", "Dogosan  Pellets 1250g (mit SyneCart)",
		"für Gelenke und Bänder", "",
		"59.5", "1250",
		"1", 1,
		"Stück", "2",
		"", "pd1374886290.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/DogoF1250.jpg",
		90, 141,
		"B017", "Dogosan Forte Pellets 1350g (mit SyneCart)",
		"für Gelenke und Bänder", "",
		"98.2", "1250",
		"1", 1,
		"Stück", "2",
		"", "pd1834459664.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/IndorexVer.jpg",
		80, 194,
		"B020", "Indorex Fogger Nebelautomat",
		"Zur Floh-Behandlung der Wohnung", "",
		"21.2", "250",
		"1", 1,
		"Stück", "3,11",
		"", "pd-1467733671.htm",
		"", 2,
		"BH2,BK2", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/IndorexSp.jpg",
		80, 232,
		"B019", "Indorex Umgebungspray",
		"Zur Floh-Behandlung der Umgebung des Tieres", "",
		"21.2", "250",
		"1", 1,
		"Stück", "3,11",
		"", "pd1103390195.htm",
		"", 2,
		"BH2,BK2", "0",
		 0)
	
		Entry[22] = new Element(
		22, "",
		0, 0,
		"B030", "Hepasan Kapseln - 200Stk.",
		"Pllanzliches Präparat zu Unterstützung der Leber, Niere, Bauchspeicheldrüse", "",
		"52.43", "0",
		"1", 1,
		"Packung", "5",
		"", "pd-1776449324.htm",
		"", 1,
		"BH4", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/Efad5.jpg",
		90, 109,
		"B032", "Efaderm forte Kapseln - 60 Stk.",
		"für ein glänzendes Haarkleid", "",
		"20.5", "0",
		"1", 1,
		"Packung", "6",
		"", "pd1637661601.htm",
		"", 1,
		"BH5", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/vmptab.jpg",
		90, 158,
		"B031", "VMP Tabletten f. Hunde und Katzen - 50 Stk.",
		"Mineralergänzungsfutter", "",
		"16.9", "0",
		"1", 1,
		"Packung", "4,12",
		"", "pd1650548987.htm",
		"", 1,
		"BH3,BK3", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/canikur.jpg",
		90, 70,
		"B034", "Canikur Kautabletten - 3x 4 Stk.",
		"Regulation der Darmfunktion", "",
		"12.8", "0",
		"1", 1,
		"Packung", "5",
		"", "pd1643367160.htm",
		"", 1,
		"BH4", "0",
		 0)
	
		Entry[26] = new Element(
		26, "",
		0, 0,
		"B038", "Galopin Gelatinat Plus - 1000g",
		"Förderung der Knochen- und Knorpelbildung", "",
		"71.1", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-1746818141.htm",
		"", 1,
		"BP1", "0",
		 0)
	
		Entry[27] = new Element(
		27, "",
		0, 0,
		"B043", "Galopin Almazyme Plus - 1000g",
		"Verbesserung der Verdauung (Vorbeugung von unspezifischen Koliken)", "",
		"75.03", "0",
		"1", 1,
		"Stück", "17",
		"", "pd1400265882.htm",
		"", 1,
		"BP3", "0",
		 0)
	
		Entry[28] = new Element(
		28, "",
		0, 0,
		"B044", "Galopin Almazyme Plus - 3000g",
		"Verbesserung der Verdauung (Vorbeugung gegen unspezifische Koliken)", "",
		"176.65", "0",
		"1", 1,
		"Stück", "17",
		"", "pd1032530809.htm",
		"", 1,
		"BP3", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/DermafH.jpg",
		90, 142,
		"B052", "Dermafit Dog Öl - 125ml",
		"zur Unterstützung der Hautfunktion bei Dermatosen und übermäßigen Haarausfall", "",
		"25.65", "0",
		"1", 1,
		"Stück", "6",
		"", "pd536074.htm",
		"", 1,
		"BH5", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/DermafK.jpg",
		90, 141,
		"B053", "Dermafit Cat Öl - 50ml",
		"", "",
		"13.55", "0",
		"1", 1,
		"Stück", "13",
		"", "pd1041083208.htm",
		"", 1,
		"BK4", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/IndorexSet.jpg",
		80, 136,
		"B051", "Indorex-Set",
		"Zur Floh-Behandlung der Wohnung und der Umgebung des Tieres", "",
		"42", "0",
		"1", 1,
		"Stück", "3,11",
		"", "pd-1776096388.htm",
		"", 1,
		"BH2,BK2", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/DAP.gif",
		147, 160,
		"B056", "D.A.P. (Dog Appeasing Pheromone) Zerstäuber f. Hunde",
		"bei Stress, Kummer oder Angst", "",
		"28.88", "0",
		"2", 1,
		"Stück", "7",
		"", "pd-1828395442.htm",
		"", 1,
		"BH6", "0",
		 0)
	
		Entry[33] = new Element(
		33, "",
		0, 0,
		"B057", "D.A.P. (Dog Appeasing Pheromone) Spray f. Hunde 60ml",
		"bei Stress, Kummer oder Angst", "",
		"25.06", "0",
		"2", 1,
		"Stück", "7",
		"", "pd-398086868.htm",
		"", 1,
		"BH6", "0",
		 0)
	
		Entry[34] = new Element(
		34, "",
		0, 0,
		"B058", "D.A.P. (Dog Appeasing Pheromone) Nachfüllung f. Zerstäuber",
		"bei Stress, oder Angst", "",
		"20.53", "0",
		"2", 1,
		"Stück", "7",
		"", "pd-1639259853.htm",
		"", 1,
		"BH6", "0",
		 0)
	
		Entry[35] = new Element(
		35, "",
		0, 0,
		"B059", "Pronutrin Pferde 3,5 kg",
		"Stress und Magenschleimhautprobleme beim Pferd", "",
		"76.2", "0",
		"1", 1,
		"Stück", "17",
		"", "pd1144751491.htm",
		"", 1,
		"BP3", "0",
		 0)
	
		Entry[36] = new Element(
		36, "",
		0, 0,
		"B062", "Mobifor triflex - 2 Liter",
		"Unterstützung d. Gelenkstoffwechsels bei starker sportlichen Belastung", "",
		"125.9", "0",
		"1", 1,
		"Stück", "15",
		"", "pd1146553297.htm",
		"", 1,
		"BP1", "0",
		 0)
	
		Entry[37] = new Element(
		37, "",
		0, 0,
		"B064", "Mobifor basic 1 Liter",
		"Unsterstützung des Gelenksstoffwechsels bei normaler bis starker Belastung", "",
		"61.8", "0",
		"1", 1,
		"Stück", "15",
		"", "pd1150543739.htm",
		"", 1,
		"BP1", "0",
		 0)
	
		Entry[38] = new Element(
		38, "",
		0, 0,
		"B065", "Mobifor ultra - 1 Liter",
		"Unterstützung des Gelenkstoffwechsels bei Pferden in der Rekonvaleszenz", "",
		"73.95", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-2133023199.htm",
		"", 1,
		"BP1", "0",
		 0)
	
		Entry[39] = new Element(
		39, "",
		0, 0,
		"B061", "Energan Acidose Rind 430g - 12 Stk.",
		"Diätfuttermittel für Rinder zur oralen Gabe bei Pansenacidose", "",
		"95.9", "0",
		"1", 1,
		"Packung", "20",
		"", "pd1144773101.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[40] = new Element(
		40, "",
		0, 0,
		"B067", "Energan Calcium Rind 340g - 12 Stk.",
		"Zur Therapie begleitenden Calcium-Ergänzung (nach  Infusionen) bei akutem Milchfieber (Gebärparese) sowie zur gezielten Prophylaxe von Milchfieber gefährdeten Tieren", "",
		"95.9", "0",
		"1", 1,
		"Stück", "20",
		"", "pd183469747.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[41] = new Element(
		41, "",
		0, 0,
		"B069", "Energan Dosierpistole",
		"", "",
		"7.9", "0",
		"1", 1,
		"Stück", "20",
		"", "pd-1444077585.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[42] = new Element(
		42, "",
		0, 0,
		"B066", "Energan Ketose Rind - 290g - 12 Stk.",
		"Zur Behandlung und Vorbeuge eines gestörten Energiestoffwechsels (Ketose, Azetonämie).", "",
		"95.9", "0",
		"1", 1,
		"Stück", "20",
		"", "pd-1051164099.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[43] = new Element(
		43, "",
		0, 0,
		"B068", "Energan Pansenstarter 12 Stk.",
		"In allen Fällen einer verminderten Vormagenaktivität.", "",
		"113.9", "0",
		"1", 1,
		"Stück", "20",
		"", "pd365901849.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[44] = new Element(
		44, "",
		0, 0,
		"B070", "Energan Phosphor Rind 390g - 12 Stk.",
		"Therapie begleitend bei Phosphormangelzuständen um den Geburtszeitpunk (atypische Gebärparese) oder prophylaktisch in Betrieben mit bekannter &quot;Phosphormangelsituation&quot;. ", "",
		"92.9", "0",
		"1", 1,
		"Stück", "20",
		"", "pd1286595509.htm",
		"", 1,
		"BR", "0",
		 0)
	
		Entry[45] = new Element(
		45, "",
		0, 0,
		"H002", "Baso Vital Kapseln - 120 Kapseln",
		"basische Salze + Vitamine + Spurenelemente + Elektrolyte", "",
		"22.9", "0",
		"1", 1,
		"Stück", "23",
		"", "pd-2064595068.htm",
		"", 1,
		"AM2", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/Formoline.jpg",
		150, 103,
		"H001", "Formoline L 112 Tabletten - 160 Stk.",
		"Zum Abnehmen: Vermindert die Kalorienaufnahme aus den Nahrungsfetten", "",
		"84.6", "0",
		"1", 1,
		"Packung", "22",
		"", "pd50108839.htm",
		"", 1,
		"AM1", "0",
		 0)
	
		Entry[47] = new Element(
		47, "",
		0, 0,
		"H017", "Omni-Biotic 6 - Pulver 60g",
		"Gesunder Darm - der beste Schutz", "",
		"36.95", "0",
		"1", 1,
		"Stück", "24",
		"", "pd1025420928.htm",
		"", 1,
		"AM4", "0",
		 0)
	
		Entry[48] = new Element(
		48, "",
		0, 0,
		"H018", "Omni-Biotic 6 - Pulver 300g",
		"Gesunder Darm - der beste Schutz", "",
		"139", "0",
		"1", 1,
		"Stück", "24",
		"", "pd585709742.htm",
		"", 1,
		"AM4", "0",
		 0)
	
		Entry[49] = new Element(
		49, "",
		0, 0,
		"H019", "Orthomol Femin - 60 Kapseln",
		"Nahrungsergänzung für Frauen mit menopausalen Beschwerden", "",
		"37.95", "0",
		"1", 1,
		"Stück", "25",
		"", "pd1174839378.htm",
		"", 1,
		"für Frauen", "0",
		 0)
	
		Entry[50] = new Element(
		50, "",
		0, 0,
		"H020", "Orthomol Femin - 180 Kapseln",
		"Nahrungsergänzung für Frauen mit menopausalen Beschwerden", "",
		"94.9", "0",
		"1", 1,
		"Stück", "25",
		"", "pd848922320.htm",
		"", 1,
		"für Frauen", "0",
		 0)
	
		Entry[51] = new Element(
		51, "",
		0, 0,
		"H010", "Orthomol Vital F Tabl/Kapsel - 30er Packung",
		"chron. Erschöpfung, Burnout, Stress", "",
		"58.9", "0",
		"1", 1,
		"Packung", "25",
		"", "pd1115883785.htm",
		"", 1,
		"für Frauen", "0",
		 0)
	
		Entry[52] = new Element(
		52, "",
		0, 0,
		"H009", "Orthomol Vital M Tabl/Kapsell - 30er Packung",
		"chron. Erschöpfung, Burnout, Stress", "",
		"55.9", "0",
		"1", 1,
		"Packung", "26",
		"", "pd836037155.htm",
		"", 1,
		"für Männer", "0",
		 0)
	
		Entry[53] = new Element(
		53, "",
		0, 0,
		"H011", "Orthomol Sport Trinkfl - 30 Stk.",
		"Leistungsfähigkeit, Widerstand, Regeneration", "",
		"64.9", "0",
		"1", 1,
		"Packung", "28",
		"", "pd1218124383.htm",
		"", 1,
		"Sport", "0",
		 0)
	
		Entry[54] = new Element(
		54, "",
		0, 0,
		"H012", "Orthomol Arthro Granulat/Kapseln - 30er Packung",
		"arthrotische Gelenksveränderungen", "",
		"60.95", "0",
		"1", 1,
		"Stück", "27",
		"", "pd-925228123.htm",
		"", 1,
		"Gelenke", "0",
		 0)
	
		Entry[55] = new Element(
		55, "",
		0, 0,
		"H005", "Coralcare Pulver 2x30 -60 Stk.",
		"Mineralstoffe und Spurenelemente", "",
		"84", "0",
		"1", 1,
		"Packung", "23",
		"", "pd1136757970.htm",
		"", 1,
		"AM2", "0",
		 0)
	
		Entry[56] = new Element(
		56, "",
		0, 0,
		"H015", "Inversion femme Kapseln - 90 Stk.",
		"Antiaging - rundum schöner und vitaler", "",
		"47.3", "0",
		"1", 1,
		"Stück", "25",
		"", "pd1146551680.htm",
		"", 1,
		"für Frauen", "0",
		 0)
	
		Entry[57] = new Element(
		57, "",
		0, 0,
		"H006", "Menoflavon Kapseln - 90 Stk.",
		"Anti-Aging, Wechseljahrbeschwerden", "",
		"49", "0",
		"1", 1,
		"Stück", "25",
		"", "pd1174905177.htm",
		"", 1,
		"für Frauen", "0",
		 0)
	
		Entry[58] = new Element(
		58, "",
		0, 0,
		"H003", "Carbo Slim Kapseln - 120 Stk.",
		"hochwertiges Nahrungsergänzungsmittel zur Kontrolle des Hungergefühles und des Gewichtsmanagements", "",
		"34.5", "0",
		"1", 1,
		"Stück", "22",
		"", "pd-791735342.htm",
		"", 1,
		"AM1", "0",
		 0)
	
		Entry[59] = new Element(
		59, "",
		0, 0,
		"H014", "Turbo Slim 24h Tabl. - 28 Stk.",
		"Auch im Schlaf abnehmen", "",
		"22.95", "0",
		"1", 1,
		"Stück", "22",
		"", "pd1145995240.htm",
		"", 1,
		"AM1", "0",
		 0)
	
		Entry[60] = new Element(
		60, "",
		0, 0,
		"B071", "Equi Dermafit - 1 Liter",
		"Nahrungsergänzung zur Unterstützung der Hautfunktion", "",
		"37", "0",
		"1", 1,
		"Stück", "16",
		"", "pd1221117623.htm",
		"", 1,
		"BP2", "0",
		 0)
	
		Entry[61] = new Element(
		61, "",
		0, 0,
		"B072", "Caniviton Forte Plus Tabl. - 90 Stk.",
		"gut für Gelenke: Knorpel, Sehnen und Bänder", "",
		"79.5", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1221118756.htm",
		"", 1,
		"BH1", "0",
		 0)
	
		Entry[62] = new Element(
		62, "",
		0, 0,
		"H013", "Q 10 Coenzym Kaps 30mg Vit - 240Stk.",
		"Nahrungsergänzung ", "",
		"100.36", "0",
		"1", 1,
		"Stück", "28",
		"", "pd-181515628.htm",
		"", 1,
		"Sport", "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, oder senden Sie uns ein Mail mit Ihre Anfrage.</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();
			};
		};
