	// 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="86" height="20" 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/first class cream 10 t_.jpg",
		74, 123,
		"106", "first class cream SPF 15/50 ml",
		"wie fc cream 6, jedoch mit SPF 15 (mittlerer Strahlenfilter)", "",
		"10.5", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-2049976476.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/first class cream 10 t_.jpg",
		74, 123,
		"111", "first class cream  30 / 50 ml",
		"wie fc cream 6, jedoch mit SPF 30  -  höherer Strahlenfilter", "",
		"10.8", "0",
		"1", 1,
		"Stück", "1",
		"", "pd638366869.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/first class cream 10 t_.jpg",
		74, 123,
		"106-2", "first class cream 15 /20 ml",
		"wie fc cream 15 / 50  jedoch in kleiner 20 ml-Tube, mittlerer Strahlenfilter 15", "",
		"6.9", "0",
		"1", 1,
		"Stück", "1",
		"", "pd381262898.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/hydratante t_.jpg",
		84, 140,
		"115", "first class HYDRATANTE  5 / 50 ml",
		"die fc-cream als Feuchtigkeitscreme", "",
		"10.8", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1400201419.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/kombicream + stick t_.jpg",
		83, 138,
		"103", "Kombicream + stick 6",
		"die klassische first class cream ", "",
		"6.8", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-1532389107.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/kombicream + stick t_.jpg",
		83, 138,
		"106-3", "Kombicream + stick  15",
		"mit mittlerem Schutzfaktor 15", "",
		"6.9", "0",
		"1", 1,
		"Stück", "2",
		"", "pd328308042.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/kombicream + stick t_.jpg",
		83, 138,
		"112", "Kobmicream + stick 30 - mit hohem Schutzfaktor",
		"praktische Kombination von first class cream und lipstick in einer Einheit, ideal für Schifahrer/Snowboarder, Tourengeher, ...", "",
		"7", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-1657292285.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/lipstickf_.jpg",
		71, 119,
		"202-1", "Snik Lippenschutzstift, farblos",
		"Schutz + Pflege, kein Austrocknen der Lippen", "",
		"4.4", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1705665672.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/labrotect-new_.jpg",
		50, 50,
		"U061.", "labrotect Lippenbalsam   ",
		"", "",
		"7.2", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1866849257.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/Karaffe mit Glas_.jpg",
		94, 138,
		"V100", "Vitaler Energiekaraffe,  rot = vitalisierend, aufbauend",
		"+ 1 Snik-Produkt Ihrer Wahl ", "",
		"98", "0",
		"1", 1,
		"Stück", "10",
		"", "pd-2145714698.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/Karaffe mit Glas_.jpg",
		94, 138,
		"V101", "Vitaler Energiekaraffe, grün = ausgleichend",
		"+ 1 Snik-Produkt Ihrer Wahl", "",
		"98", "0",
		"1", 1,
		"Stück", "10",
		"", "pd-194402241.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/kaelteschutzcreme_.jpg",
		80, 144,
		"160", "Kälteschutzcreme",
		"angenehmer spürbarer Kälteschutz, schützt, hält die Kälte ab und wärmt", "",
		"7.1", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1065535952.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/hp_.jpg",
		47, 170,
		"201", "high protection cream  50/20ml",
		"Hochgebirgscreme mit Schutzfaktor 50", "",
		"7.2", "0",
		"1", 1,
		"Stück", "3",
		"", "pd856078044.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/hp-m125_.jpg",
		60, 100,
		"U062", "high protection sun milk 20/125ml",
		"", "",
		"11", "0",
		"1", 1,
		"Stück", "3",
		"", "pd271738986.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/hp-m125_.jpg",
		60, 100,
		"U063", "high protection sun milk 20/50ml",
		"", "",
		"6.6", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1065538424.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/snik face t_.jpg",
		89, 149,
		"196-1", "Face-stick 20, praktischer Stift, mit sun-blocker",
		"für die Gesichtspflege oder besonders empfindliche Stellen (wie z.B. Muttermale), ", "",
		"7.3", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-986266010.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/snik face t_.jpg",
		80, 134,
		"193", "Face-stick 10",
		"", "",
		"7.2", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-111024203.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/rainbow sticks_.jpg",
		49, 69,
		"480", "Snik Rainbow-stick",
		"", "",
		"4.4", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1026144021.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/labrotect-new_.jpg",
		50, 50,
		"U061", "labrotect Lippenbalsam   ",
		"", "",
		"7.2", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-1100110575.htm",
		"", 1,
		"4", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/sportcreme4_.jpg",
		42, 117,
		"050", "Sportsonnencreme SPF 4 / 50 ml",
		"Bräunungscreme, pflegend", "",
		"7.2", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1065593805.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/sportcreme4_.jpg",
		42, 117,
		"052", "Sportsonnencreme SPF 8 / 50 ml",
		"Bräunungscreme, pflegend", "",
		"7.3", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1420621117.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/sportcreme4_.jpg",
		42, 117,
		"053", "Sportsonnencreme SPF 8 / 20 ml",
		"", "",
		"5.1", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1438423721.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/sportmilch8_.jpg",
		47, 117,
		"U007", "Sport Sonnemilch SPF 4 / 125ml",
		"", "",
		"7.4", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1331591937.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/sportmilch8_.jpg",
		47, 117,
		"U011", "Sport Sonnemilch SPF 16 / 125ml",
		"", "",
		"7.8", "0",
		"1", 1,
		"Stück", "4",
		"", "pd354548475.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/sportmilch8_.jpg",
		47, 117,
		"U009", "Sport Sonnemilch SPF 8 / 125ml",
		"", "",
		"7.6", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1552489055.htm",
		"", 1,
		"5", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/T-cream_.jpg",
		42, 125,
		"381", "Snik-T triple protection",
		"Thymian-creme für angegriffene Haut", "",
		"14.7", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-862864963.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/carotinge_.jpg",
		83, 138,
		"116", "Carotin Gelee",
		"", "",
		"10.8", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-1539732941.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/sb_.jpg",
		83, 138,
		"300", "selbstbräunende Creme  &lt;&lt;&lt; wieder erhältlich",
		"leichte Tönung, zieht schnell ein, färbt nicht ab", "",
		"10.6", "0",
		"1", 1,
		"Stück", "5",
		"", "pd1363601305.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/handcreme_.jpg",
		77, 152,
		"U084", "Snik Handcreme",
		"", "",
		"7.8", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-260416657.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/first class cream 10 t_.jpg",
		74, 123,
		"100", "first class cream SPF 6/50 ml",
		"die klassische Snik fc-Creme, extrem verträglich, mit Carotin u.a. hochwertigen Naturölen", "",
		"10.2", "0",
		"1", 1,
		"Stück", "1",
		"", "pd889031477.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/Schwingungsstab2_.jpg",
		149, 26,
		"V105", "Vitaler Schwingungsstab, vitalisierend",
		"", "",
		"66", "0",
		"1", 1,
		"Stück", "10",
		"", "pd1554415761.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/m-aloe-vera_.jpg",
		70, 80,
		"700-0", "Vitamingel Aloe Vera",
		"", "",
		"10.15", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-186610714.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/m-rosa-rubiginosa_.jpg",
		70, 80,
		"704-0", "Vitamincreme Rosa Rubiginosa",
		"", "",
		"20.6", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-1914360700.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/m-centella_.jpg",
		70, 80,
		"710-1", "Centella Hals- und Augenpflege",
		"", "",
		"8.7", "0",
		"1", 1,
		"Stück", "7",
		"", "pd2012630224.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/m-rosa-rubiginosa_.jpg",
		70, 80,
		"712-0", "Ringelblumen-Fettcreme",
		"", "",
		"10.05", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-1899413634.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/m-bindegew_.jpg",
		47, 167,
		"770-1", "Bindegewebe-Massagemilch",
		"", "",
		"15.55", "0",
		"1", 1,
		"Stück", "7",
		"", "pd584083932.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/m-schaumbad_.jpg",
		70, 80,
		"720-1", "Schaumbad und Duschgel rose,   200 ml",
		"", "",
		"9.3", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1149195114.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/wset-sing_.jpg",
		173, 102,
		"S203", "Snik Winterset Single",
		"", "",
		"41", "0",
		"1", 1,
		"Stück", "6",
		"", "pd1066053890.htm",
		"", 1,
		"7", "0",
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/wset-fam_.jpg",
		170, 111,
		"S204", "Snik Winterset Family",
		"", "",
		"56", "0",
		"1", 1,
		"Stück", "6",
		"", "pd106481408.htm",
		"", 1,
		"7", "0",
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/uhr1_.jpg",
		118, 89,
		"825", "Snik-Uhr",
		"Qualitätsuhr  mit Lederarmband", "",
		"19", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1069425645.htm",
		"", 1,
		"91", "0",
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/stirnband-gelb_.jpg",
		123, 44,
		"U904G", "Snik Stirnband, gelb",
		"", "",
		"1.2", "0",
		"1", 1,
		"Stück", "11",
		"", "pd741332169.htm",
		"", 1,
		"91", "0",
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/f1__.jpg",
		34, 104,
		"U032", "Snik first class filter 1",
		"Snik first class creme, Feuchtigkeitscreme, Filter 1", "",
		"10.8", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1086438855.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/blauerwind1_.jpg",
		88, 141,
		"P40015", "Blauer Wind - Langzeit Deo, 50 ml        &lt;==  neu ",
		"Langzeitwirkung bis zu 5 Tage, ohne Parfüm und Farbstoffe", "",
		"12.9", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1036652769.htm",
		"", 1,
		"230", "0",
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/blauerwind1_.jpg",
		88, 141,
		"P40022", "Blauer Wind - Langzeit Fußspray, 50 ml",
		"Langzeitwirkung bis zu 5 Tage, ohne Parfüm und Farbstoffe", "",
		"12.9", "0",
		"1", 1,
		"Stück", "8",
		"", "pd236307959.htm",
		"", 1,
		"230", "0",
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/gift_.gif",
		117, 103,
		"V900", "aktuell: zu jedem Vitaler-Produkt 1 Snik-Produkt Ihrer Wahl ",
		"", "",
		"0", "0",
		"1", 1,
		"Stück", "10",
		"", "pd1103361979.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/warnweste_.jpg",
		96, 120,
		"826", "Warnweste, neongelb",
		"", "",
		"2.9", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1110899694.htm",
		"", 1,
		"91", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/schaumbad-teebaum__.jpg",
		36, 116,
		"723-1", "Schaumbad - Teebaumbad und Shampoo 200 ml",
		"für problemlose und Mischhaut mit hohem Feuchtigkeitsanspruch.", "",
		"9.3", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1126447066.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/antimueck2_.jpg",
		94, 202,
		"A1053", "Anti Mück Spray",
		"mückenabwehrende Duftkomposition aus natürlichen ätherischen Ölen, Pumpspray/Luftdruck, 50 ml", "",
		"6.9", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1543557908.htm",
		"0::1::6.2;", 1,
		"240", "0",
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/antizeck_.jpg",
		36, 91,
		"A1062", "Anti Zeck Spray",
		"zeckenabwehrende Duftkomposition aus natürlichen  ätherischen Ölen, Pumpspray/Luftdruck, 50 ml", "",
		"6.9", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-1808023710.htm",
		"0::1::6.2;", 1,
		"240", "0",
		 0)
	
		Entry[49] = new Element(
		49, "assets/thumb/Karaffe mit Glas_.jpg",
		94, 138,
		"V103", "Vitaler Energiekaraffe,  gold = Kombination von aufbauend und beruhigend",
		"+ 1 Snik-Produkt Ihrer Wahl ", "",
		"98", "0",
		"1", 1,
		"Stück", "10",
		"", "pd1145290846.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[50] = new Element(
		50, "assets/thumb/ateebaum_.jpg",
		42, 89,
		"A8080", "Teebaumöl, sehr vielseitig einsetzbar",
		"aus Bio-Anbau, dzt. nicht lagernd ...", "",
		"11.2", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1145293074.htm",
		"", 1,
		"240", "0",
		 0)
	
		Entry[51] = new Element(
		51, "assets/thumb/amottlock_.jpg",
		29, 80,
		"A2310", "Mottlock 3er Pack Lebensmittelmottenklebefalle",
		"giftfrei und geruchlos", "",
		"6.2", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1145453442.htm",
		"", 1,
		"240", "0",
		 0)
	
		Entry[52] = new Element(
		52, "assets/thumb/amottbox_.jpg",
		62, 116,
		"A2317", "Aries Mottlock Mottenbox Klebefalle",
		" (gegen Kleidermotten)", "",
		"6.6", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-489073280.htm",
		"", 1,
		"240", "0",
		 0)
	
		Entry[53] = new Element(
		53, "assets/images/nopicture.gif",
		75, 50,
		"119", "Snik Active, SPF 8",
		"feine pflegende Hautcreme für trockene und gemischte Haut, ähnlich first class Linie, + zuätzliche Öle", "",
		"10.8", "0",
		"1", 1,
		"Stück", "5",
		"", "pd1255517757.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[54] = new Element(
		54, "assets/thumb/milbenspray2__.jpg",
		16, 91,
		"A4271", "Milbenspray - aus den Blättern und Samen des indischen Neembaumes",
		"Bio-Milbenspray - bekämpft Hausstaubmilben und schützt Matrazen, Decken, Teppiche usw., unterbricht die Eiablage der Milben, ohne Treibgas! ", "",
		"4.9", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1268996163.htm",
		"", 1,
		"240", "0",
		 0)
	
		Entry[55] = new Element(
		55, "assets/thumb/first class cream 10 t_.jpg",
		74, 123,
		"111-2", "Snik first class cream SPF 30 / 20 ml",
		"pflegende Alpincreme mit  höherem Strahlenfilter", "",
		"7.1", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1278674062.htm",
		"", 1,
		"11", "0",
		 0)
	
		Entry[56] = new Element(
		56, "assets/thumb/nussoel1.jpg",
		20, 160,
		"U085_", "Snik Nussöl 125ml, SPF 5",
		"ein Produkt für Sonnenanbeter!", "",
		"9", "0",
		"1", 1,
		"Stück", "5",
		"", "pd1095620990.htm",
		"", 1,
		"6", "0",
		 0)
	
		Entry[57] = new Element(
		57, "assets/images/nopicture.gif",
		75, 50,
		"S206", "Snik Sommer-SET Single",
		"", "",
		"40", "0",
		"1", 1,
		"Stück", "6",
		"", "pd1303902530.htm",
		"", 1,
		"7", "0",
		 0)
	
		Entry[58] = new Element(
		58, "assets/images/nopicture.gif",
		75, 50,
		"S207", "Snik Sommer-SET family",
		"", "",
		"52", "0",
		"1", 1,
		"Stück", "6",
		"", "pd-1851766464.htm",
		"", 1,
		"7", "0",
		 0)
	
		Entry[59] = new Element(
		59, "assets/thumb/Lipstick_erdbeer_.jpg",
		38, 138,
		"U052", "Snik Lippenschutzstift farblos, mit Erdbeergeschmack",
		"Schutz + Pflege, kein Austrocknen der Lippen", "",
		"4.4", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1320223744.htm",
		"", 1,
		"3", "0",
		 0)
	
		Entry[60] = new Element(
		60, "assets/thumb/first class sun lotion apres t_.jpg",
		83, 138,
		"U044-1-1", "first class body lotion Apres, 125 ml",
		"sun lotion Apres /  wieder erhältlich &lt;&lt;&lt;&lt;", "",
		"9.8", "0",
		"1", 1,
		"Stück", "5",
		"", "pd503299993.htm",
		"", 1,
		"6", "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();
			};
		};
