	// 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/btnaddtobagex.gif" width="115" height="48" alt="jetzt bestellen" 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/viacm.jpg",
		110, 64,
		"VIACCESS", "VIACCESS Modul",
		"", "",
		"85", "0.055",
		"1", 1,
		"Stück", "11",
		"", "pd1315284803.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/Triax-88.jpg",
		300, 167,
		"TRI-88", "Triax Satelliten-Spiegel 88 cm lichtgrau",
		"", "",
		"128", "21",
		"1", 1,
		"Stück", "5",
		"", "pd-604248720.htm",
		"", 1,
		"02", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/Triax-88.jpg",
		250, 139,
		"TRI-78", "Triax Satelliten-Spiegel 78 cm lichtgrau",
		"", "",
		"98", "11",
		"1", 1,
		"Stück", "5",
		"", "pd-1766389474.htm",
		"", 1,
		"02", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/monoblock-single.jpg",
		80, 69,
		"LNB-MB-1", "LNB Monoblock single Astra/Hotbird",
		"LNB Monoblock single, zum Empfang von Astra + HotBird (1 Teilnehmer)", "",
		"78", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd-2092287922.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/monoblock-twin.jpg",
		80, 60,
		"LNB-MB-2", "LNB Monoblock Twin Astra/Hotbird",
		"LNB Monoblock-Twin, zum Empfang von Astra + HotBird  (2 Teilnehmer)", "",
		"165", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd924012332.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/Satkabel.jpg",
		100, 98,
		"Kabel-075", "Sat. Kabel 0,75cm",
		"Spitzenqualität", "",
		"1.8", "0",
		"1", 1,
		"Meter", "15",
		"", "pd-1451111313.htm",
		"0::10::1.65;0::50::1.5;", 1,
		"10", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/gummituelle.jpg",
		50, 50,
		"LNB-GT", "Gummitülle",
		"Gummitülle", "",
		"1.8", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-554174150.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/F-stecker.jpg",
		70, 71,
		"FS-7MM", "F-Stecker 7mm",
		"F-Stecker 7mm", "",
		"1.1", "0.004",
		"1", 1,
		"Stück", "15",
		"", "pd1353116049.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/dynamiteplus.jpg",
		140, 80,
		"Dynamite+", "Dynamite +Plus Programmer",
		"", "",
		"65", "0.2",
		"1", 1,
		"Stück", "13",
		"", "pd-1085591890.htm",
		"", 1,
		"08", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/scart.jpg",
		165, 85,
		"SCART", "Scartkabel",
		"Scart Anschlusskabel 1,5m", "",
		"9.5", "0",
		"1", 1,
		"Stück", "15",
		"", "pd1110525570.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/Scart-2fach.jpg",
		85, 83,
		"SCART-2FACH", "Scart Verteiler 2fach",
		"", "",
		"18", "0",
		"1", 1,
		"Stück", "15",
		"", "pd1686591616.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/Scart-3fach.jpg",
		85, 103,
		"SCART-3FACH", "Scart Verteiler 3fach",
		"", "",
		"26", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-672533842.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/SAT-Dose-3loch.jpg",
		77, 80,
		"SATDOSE3L", "Antennendose 3 loch",
		"", "",
		"24", "0.17",
		"1", 1,
		"Stück", "15",
		"", "pd2069600461.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/Satanschlusskabel.jpg",
		150, 81,
		"ANSCHLUSSKABEL", "Sat-Anschlusskabel 1,5m",
		"", "",
		"12", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-33505341.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/freextv_dorcel.jpg",
		85, 64,
		"FREEXTV", "Free-X TV",
		"Free X-TV 1, Free X-TV 2,  X-Dream TV, INXTC und Dorcel TV", "Manufac",
		"118", "0.01",
		"1", 1,
		"Stück", "14",
		"", "pd1111656065.htm",
		"", 1,
		"09", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/monoblock-quadro.jpg",
		80, 72,
		"LNB-MB-4", "LNB Monoblock Quadro Astra/Hotbird",
		"LNB Monoblock-Quadro MAXIMUM, zum Empfang von Astra + HotBird  (4 Teilnehmer)", "",
		"228", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd1112544637.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/CMS-9_16.jpg",
		200, 129,
		"MULTISCH 9/16", "Multischalter 9/16",
		"für 2 Satelliten und 16 Teilnehmerausgängen ", "",
		"437", "1.9",
		"1", 1,
		"Stück", "8",
		"", "pd-801646481.htm",
		"", 1,
		"03.1", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/T-rex-cam.gif",
		110, 96,
		"T-REX-TWIN", "T-REX TWIN Common Interface",
		"", "",
		"140", "0.055",
		"1", 1,
		"Stück", "11",
		"", "pd1115373555.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/fun4.jpg",
		180, 53,
		"FUN4", "Smartcard FUN 4",
		"AVR-Karte mit AT90S8515 und EEPROM 24C256 (32 kByte)", "",
		"13", "0.01",
		"1", 1,
		"Stück", "12",
		"", "pd1099050287.htm",
		"", 1,
		"07", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/camping-set.jpg",
		180, 218,
		"SET-CAMPING", "Camping-Set 12V / 220V",
		"Satellitenantenne,LNB,Anschlusskabel mit F-Steker 15m,Digital-Receiver FTA 12V - 220V", "",
		"268", "5.1",
		"1", 1,
		"Stück", "9,5",
		"", "pd1116458416.htm",
		"", 1,
		"04,02", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/QUADREL 9_4.jpg",
		140, 150,
		"TBS 9x4 HQ", "Multischalter 9/4",
		"", "",
		"147", "1.9",
		"1", 1,
		"Stück", "8",
		"", "pd1116657795.htm",
		"", 1,
		"03.1", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/LNB-quad.jpg",
		80, 58,
		"NLB-QUAD", "LNB-Quadro Platinum",
		"für Multischalter 9/4 (Art.Nr.: TBS 9x4 HQ) geeignet.", "",
		"84", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd2107383401.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/LNB_quadro-Multi.jpg",
		80, 60,
		"LNB-UNI-QUAD", "LNB Universal Quadro, 0.3dB",
		"LNB Universal Quadro für Multischalter", "",
		"89", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd1117522089.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/cas3.jpg",
		150, 114,
		"CAS-3", "CAS Interface 3+",
		"", "",
		"128", "0.28",
		"1", 1,
		"Stück", "13",
		"", "pd1118871834.htm",
		"", 1,
		"08", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/anschlusset.jpg",
		150, 91,
		"ANSCHLUSSET", "Sat-Anschlusset 15m",
		"", "",
		"25", "0",
		"1", 1,
		"Stück", "15",
		"", "pd-95908569.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/Smart-MX-56.JPG",
		220, 83,
		"MX56", "Smart MX 56 Digital Terrestrisch Receiver",
		"Für Digital ausgestrahlten terrestrischen Programme ", "",
		"149", "1.8",
		"1", 1,
		"Stück", "4",
		"", "pd-1502343023.htm",
		"", 1,
		"011", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/fbuchsebuchse.jpg",
		70, 41,
		"F-BUCHSE", "Verbinder",
		"F-Buchse auf F-Buchse", "",
		"2.2", "0.004",
		"1", 1,
		"Stück", "15",
		"", "pd1125319327.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/Fensterduchfuehrung.jpg",
		220, 32,
		"FENSTERDURCHF", "Slim-Line-Flachkabel",
		"", "",
		"12", "0",
		"1", 1,
		"Stück", "15",
		"", "pd1129564501.htm",
		"", 1,
		"10", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/Bleiziegel.jpg",
		170, 136,
		"BLEIZIEGEL", "Dachbleiziegel",
		"", "",
		"48", "5.1",
		"1", 1,
		"Stück", "6",
		"", "pd-503471664.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/Dachsparrenhalter.jpg",
		104, 150,
		"DACHSPARREN", "Mast mit Dachsparrenhalter",
		"", "",
		"85", "11",
		"1", 1,
		"Stück", "6",
		"", "pd332700798.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/Gelaenderhalter.jpg",
		148, 93,
		"GELAENDERWH", "Geländerhalter für Wandhalter",
		"", "",
		"18", "2.1",
		"1", 1,
		"Stück", "6",
		"", "pd1906249436.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/gummimanschette_f._bleidachziegel.jpg",
		80, 148,
		"GUMMAN", "Gummimanschette für Bleidachziegel",
		"", "",
		"12.5", "0.5",
		"1", 1,
		"Stück", "6",
		"", "pd-18710422.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/mast_gelaender.jpg",
		110, 34,
		"MastG-500", "Mast für Geländer",
		"Mast für Geländer, 500mm lang", "",
		"35", "2.1",
		"1", 1,
		"Stück", "6",
		"", "pd1028506792.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/mast_gelaender.jpg",
		110, 34,
		"MastG-810", "Mast für Geländer",
		"Mast für Geländer, 810mm lang", "",
		"42", "2.1",
		"1", 1,
		"Stück", "6",
		"", "pd-1870013674.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/Mastschelle.jpg",
		150, 87,
		"Mastschelle", "Mastschelle 8-fach",
		"Mastschelle 8-fach", "",
		"18", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd-839528652.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/Wandhalter150.jpg",
		88, 150,
		"WH-150", "Wandhalter Alu 115x250x50mm",
		"Wandhalter Alu 115x250x50mm", "",
		"25", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd642095234.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/Wandhalter.jpg",
		147, 100,
		"WH-250", "Wandhalter Alu 250x250x50mm",
		"Wandhalter Alu 250x250x50mm", "",
		"30", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd666630784.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/Wandhalter.jpg",
		147, 100,
		"WH-350", "Wandhalter Alu 350x250x50mm",
		"Wandhalter Alu 350x250x50mm", "",
		"36", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd-1770560338.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/Wandhalter.jpg",
		147, 100,
		"WH-450", "Wandhalter Alu 450x250x50mm",
		"Wandhalter Alu 450x250x50mm", "",
		"38", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd-183905652.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/Wandhalter.jpg",
		147, 100,
		"WH-550", "Wandhalter Alu 550x250x50mm",
		"Wandhalter Alu 550x250x50mm", "",
		"45", "1.1",
		"1", 1,
		"Stück", "6",
		"", "pd39037850.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/Vogel-TVB4114.jpg",
		220, 173,
		"VOGELS-TVB4114", "TV Wandhalterung Vogel&rsquo;s TVB 4114",
		"für TV 33 bis 48 cm (13 - 19&rsquo;&rsquo;) anthrazit", "",
		"45", "2.7",
		"1", 1,
		"Stück", "10",
		"", "pd-631659688.htm",
		"", 1,
		"05", "0",
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/mct21.jpg",
		109, 75,
		"MCT21", "Multichannel Card mit 21 Sendern",
		"2 Sender auf einer Karte für 9 Monate", "",
		"368", "0.01",
		"1", 1,
		"Stück", "14",
		"", "pd1137146657.htm",
		"", 1,
		"09", "0",
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/Triax-88-braun.jpg",
		200, 218,
		"TRI-88-braun", "Triax Satelliten-Spiegel 88 cm braun",
		"", "",
		"146", "21",
		"1", 1,
		"Stück", "5",
		"", "pd1143723044.htm",
		"", 1,
		"02", "0",
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/Triax-88-braun.jpg",
		150, 164,
		"TRI-78-braun", "Triax Satelliten-Spiegel 78 cm braun",
		"", "",
		"116", "11",
		"1", 1,
		"Stück", "5",
		"", "pd-1332680974.htm",
		"", 1,
		"02", "0",
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/diablocam.jpg",
		110, 104,
		"DIABLO", "Diablo Cam light",
		"", "",
		"158", "0.055",
		"1", 1,
		"Stück", "11",
		"", "pd1176825661.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/multischalter9-8.jpg",
		200, 93,
		"MULTISCH 9/8", "Multischalter 9/8",
		"für 2 Satelliten und 8 Teilnehmerausgängen ", "",
		"298", "1.9",
		"1", 1,
		"Stück", "8",
		"", "pd1178008895.htm",
		"", 1,
		"03.1", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/Multifeed_Triax.jpg",
		210, 117,
		"LNBHALTER", "Multifeedhalterung Triax für Astra und Hotbird",
		"", "",
		"25", "0.2",
		"1", 1,
		"Stück", "6",
		"", "pd1135409990.htm",
		"", 1,
		"ANT-ZUBEH", "0",
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/x211s.jpg",
		220, 183,
		"VT-X211S", "Vantage VT-X211S BlindScan",
		"", "",
		"268", "3",
		"1", 1,
		"Stück", "1",
		"", "pd1183827062.htm",
		"", 1,
		"03-VA", "0",
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/alpha_light.jpg",
		110, 64,
		"ALPHA_LIGHT", "AlphaCrypt Light",
		"", "",
		"120", "0",
		"1", 1,
		"Stück", "11",
		"", "pd1191666552.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[49] = new Element(
		49, "assets/thumb/vantage-x22tsci-usb.jpg",
		220, 91,
		"VT-X221SCI-USB", "Vantage VT-X221SCI USB BlindScan",
		"", "",
		"318", "3",
		"1", 1,
		"Stück", "1",
		"", "pd1192104865.htm",
		"", 1,
		"03-VA", "0",
		 0)
	
		Entry[50] = new Element(
		50, "assets/thumb/LaCie500.jpg",
		200, 214,
		"LACIE1TB", "Harddisk Extern 1 TB für Vantage HD Receiver",
		"", "",
		"230", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1142435490.htm",
		"", 1,
		"ZUB", "0",
		 0)
	
		Entry[51] = new Element(
		51, "assets/thumb/LNB_quadro-Multi.jpg",
		80, 60,
		"LNB-UNI-DUAL", "LNB Universal Dual, 0.2dB",
		"", "",
		"72", "0.5",
		"1", 1,
		"Stück", "7",
		"", "pd1214993667.htm",
		"", 1,
		"03", "0",
		 0)
	
		Entry[52] = new Element(
		52, "assets/thumb/vantage-HD-8000-Blue.jpg",
		220, 124,
		"HD-8000s", "Vantage HD-8000 S - Twin PVR",
		"Twin HDTV PVR Receiver", "",
		"780", "6",
		"1", 1,
		"Stück", "2",
		"", "pd1216146166.htm",
		"", 1,
		"04-VAHD", "0",
		 0)
	
		Entry[53] = new Element(
		53, "assets/thumb/Vantage-HD7100.jpg",
		220, 73,
		"HD-7100s", "Vantage HD-7100 S - HDTV-Receiver",
		"", "",
		"590", "6",
		"1", 1,
		"Stück", "2",
		"", "pd1198155264.htm",
		"", 1,
		"04-VAHD", "0",
		 0)
	
		Entry[54] = new Element(
		54, "assets/thumb/Vantage-HD6000.jpg",
		220, 88,
		"HD-6000s", "Vantage HD-6000 S - HDTV-Receiver",
		"", "",
		"520", "6",
		"1", 1,
		"Stück", "2",
		"", "pd1198242062.htm",
		"", 1,
		"04-VAHD", "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();
			};
		};
