	// 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.html?" + 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/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C54", "Notebook TERRA ANIMA 2100 iCM-360 15&quot; free DOS, Aktion solange Vorrat",
		"15&quot; Notebook, Intel Celeron M 360,256MB, 40GB HDD, DVD/CDRW Combo, freeDOS", "Wortmann",
		"899", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-1693338577.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/images/nopicture.gif",
		75, 50,
		"C55", "TS Garantie ANIMA Notebook auf 36 M. inkl. Pickup",
		"Erweiterung der Gewährleistung für Terra ANIMA Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:0049 5744 944 594 Fax: 0049 5744 944 370 • Mail:Vor-Ort-Service@terra.de", "",
		"109", "0",
		"1", 1,
		"Stück", "4",
		"", "pd594514421.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/images/nopicture.gif",
		75, 50,
		"C56", "TS Garantie TERRA Notebook auf 60 M. inkl. Pickup",
		"Erweiterung der Gewährleistung für Terra Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:0049 5744 944 594 Fax: 0049 5744 944 370 • Mail:Vor-Ort-Service@terra.de", "",
		"449", "0",
		"1", 1,
		"Stück", "4",
		"", "pd205323563.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/images/nopicture.gif",
		75, 50,
		"C57", "TS Garantie TERRA Notebook auf 48 M. inkl. Pickup",
		"Erweiterung der Gewährleistung für Terra Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:0049 5744 944 594 Fax: 0049 5744 944 370 • Mail:Vor-Ort-Service@terra.de", "",
		"274", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1593510718.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/images/nopicture.gif",
		75, 50,
		"C58", "TS NB Aura/Anima Blitzreparatur-Service 12 Monate",
		"Erweiterung der Gewährleistung für Terra Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:05744/944-594 Fax:05744/944-370 • Mail:Vor-Ort-Service@terra.de", "",
		"89", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-32963987.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/images/nopicture.gif",
		75, 50,
		"C59", "TS NB Aura/Anima Blitzreparatur-Service 36 Monate",
		"Erweiterung der Gewährleistung für Terra Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:05744/944-594 Fax:05744/944-370 • Mail:Vor-Ort-Service@terra.de", "",
		"259", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1328356712.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/images/nopicture.gif",
		75, 50,
		"C60", "TS NB Aura/Anima Blitzreparatur-Service 24 Monate",
		"Erweiterung der Gewährleistung für Terra Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:05744/944-594 Fax:05744/944-370 • Mail:Vor-Ort-Service@terra.de", "",
		"174", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1500186977.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/Notebook TERRA-ANIMA-1750.jpg",
		75, 63,
		"C61", "Notenook TERRA ANIMA M 1750 iPM-740 17&quot; WXGA, Win XP Home",
		"17&quot; Centrino Notebook, M740 1.73GHz,1GB DDR2, 80GB SATA,VGA 256 MB ATI X800", "Wortmann",
		"2479", "4400",
		"1", 1,
		"Stück", "2",
		"", "pd1147161439.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/Notebook TERRA-ANIMA-1750.jpg",
		75, 63,
		"C63", "Notenook TERRA ANIMA M 1750 iPM-750 17&quot; WXGA, Win XP Home",
		"17&quot; Centrino Notebook, M740 1.86GHz,2GB DDR2,100GB HDD,VGA 256 MB ATI X800", "Wortmann",
		"2649", "4400",
		"1", 1,
		"Stück", "2",
		"", "pd-1210582577.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C64", "Notebook TERRA ANIMA 2100 iCM-360 15&quot; XP Home, Aktion solange Vorrat",
		"15&quot; Notebook, Intel Celeron M 360,256MB, 40GB HDD, DVD/CDRW Combo, WIN XP Home", "Wortmann",
		"919", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-1891121273.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C65", "Notebook TERRA ANIMA M 2100 iCM-360 15&quot; Win XP Home",
		"15&quot; Notebook, Intel Celeron M 360, 512MB, 80GB HDD, WLAN, DVD±RW WIN XP Home", "Wortmann",
		"1199", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd1378313279.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C66", "Notebook TERRA ANIMA M 2100 iCM-360 15&quot; Win XP Prof",
		"15&quot; Notebook, Intel Celeron M 360, 512MB, 80GB HDD, WLAN, DVD±RW WIN XP Prof.", "Wortmann",
		"1249", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-1691635721.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C67", "Notebook TERRA ANIMA M 2100 iPM-715 15&quot; WIN XP Home",
		"15&quot; Notebook, Intel Pentium M 715, 512MB, 60GB HDD, DVD±RW WIN XP Home", "Wortmann",
		"1299", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd168135343.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/Notebook TERRA-ANIMA-2100.jpg",
		75, 69,
		"C68", "Notebook TERRA ANIMA M 2100 iPM-715 15&quot; WIN XP Home, Aktion solange Vorrat",
		"15&quot; Notebook, VIA C7-M CPU, 512MB, 80GB HDD, DVD±RW DL", "Wortmann",
		"1099", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-1897802649.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/Notebook TERRA-ANIMA-3300.jpg",
		75, 74,
		"C69", "Notebook TERRA ANIMA M 3300 AS-3000+ 15&quot; WIN XP Home",
		"15&quot; Notebook, AMD Sempron 3000+, 512MB RAM, 80GB SATA, DVD±RW dual L.", "Wortmann",
		"1249", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-1511428833.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/Notebook TERRA-ANIMA-3300.jpg",
		75, 74,
		"C70", "Notebook TERRA ANIMA M 3300 TURION64 ML-34 XP Prof.",
		"15&quot; Notebook, AMD TURION ML-34, 1GB RAM, 100GB SATA, DVD±RW dual L., XP Prof.", "Wortmann",
		"1599", "2800",
		"1", 1,
		"Stück", "2",
		"", "pd-2101267241.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/Notebook TERRA-AURA-1200.jpg",
		75, 67,
		"C71", "Notenook TERRA AURA M 1200 iCM360, 12.1&quot; XGA, XP Prof.",
		"12,1&quot; Celeron M 360 1.4GHz, 512MB 60GB HDD, Intel 915GM", "Wortmann",
		"1849", "1700",
		"1", 1,
		"Stück", "3",
		"", "pd738855823.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/images/nopicture.gif",
		75, 50,
		"C72", "TS Garantie AURA Notebook auf 36 M. inkl. Pickup",
		"Erweiterung der Gewährleistung für Terra AURA Notebooks inklusiv Verlängerung des Pickupservice. • Hotline:0049 5744 944 594 Fax: 0049 5744 944 370 • Mail:Vor-Ort-Service@terra.de", "",
		"109", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-2032086713.html",
		"", 1,
		"35", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C73", "Notebook TERRA ANIMA M 4200 iPM-740 15&quot; WIN XP Home",
		"15&quot; Centrino Notebook,Intel Pentium M 740 1.73GHz,512MB, 80GB HDD, DVD±RW dual", "Wortmann",
		"1439", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd1147193559.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C74", "Notebook TERRA ANIMA M 4200 iPM-740 15&quot; WIN XP Prof",
		"15&quot; Centrino Notebook,Intel Pentium M 740 1.73GHz,512MB, 80GB HDD, DVD±RW dual", "Wortmann",
		"1579", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd1505763215.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C75", "Notebook TERRA ANIMA M 4200 iPM-740 15&quot; *Glare* XP Home ",
		"15&quot; Centrino Notebook,Intel Pentium M 740 1.73GHz,1024MB, 80GB HDD, DVD±RW dual", "Wortmann",
		"1679", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd-1677892281.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C76", "Notebook TERRA ANIMA M 4200 iPM-750 15&quot; WIN XP Home, Aktion solange Vorrat",
		"15&quot; Centrino Notebook,Intel Pentium M 750 1.86GHz,1GB RAM,100GB HDD, DVD±RW dual", "Wortmann",
		"1599", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd-1003390465.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C77", "Notebook TERRA ANIMA M 4201 iCD-T2300 15&quot; WIN XP Home",
		"15&quot; Notebook, Intel Core Duo T2300, 512MB RAM,100GB ATA, DVD±RW dual L.", "Wortmann",
		"1679", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd-1863238217.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/Notebook TERRA-ANIMA-4200.jpg",
		75, 64,
		"C78", "Notebook TERRA ANIMA M 4201 iCD-T2300 15&quot; WIN XP Prof.",
		"15&quot; Notebook, Intel Core Duo T2300, 512MB DDR2 RAM,100GB ATA, DVD±RW dual L.", "Wortmann",
		"17679", "3000",
		"1", 1,
		"Stück", "2",
		"", "pd-1580363665.html",
		"", 1,
		"37", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/Notebook TERRA-AURA-1200.jpg",
		75, 67,
		"C79", "Notenook TERRA AURA M 1200 iPM740, 12.1&quot; XGA, XP Prof.",
		"12,1&quot; Centrino Notebook, M740,1,73GHz,512MB 80GB HDD, Intel 915GM", "Wortmann",
		"2259", "1700",
		"1", 1,
		"Stück", "3",
		"", "pd1121145383.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/Notebook TERRA-AURA-7100.jpg",
		75, 66,
		"C80", "Notenook TERRA AURA M 7100 iPM740, 15.4&quot; WXGA, XP Pro.",
		"15.4&quot; Centrino Notebook, M740 1.73GHz, 512MB, 80GB HDD, VGA ATI X700 128MB", "Wortmann",
		"1999", "3600",
		"1", 1,
		"Stück", "3",
		"", "pd671834847.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/Notebook TERRA-AURA-1770.jpg",
		75, 63,
		"C81", "Notenook TERRA AURA M 1770 iPM760, 17&quot; WUXGA, XP Pro",
		"17&quot; Centrino Notebook, M760 2.0GHz, 1GB RAM, 100GB, VGA: Quadro FX1400 Go 256MB", "Wortmann",
		"3899", "4400",
		"1", 1,
		"Stück", "3",
		"", "pd1147207515.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/Notebook TERRA-AURA-7100.jpg",
		75, 66,
		"C82", "Notenook TERRA AURA M 7100 iPM740, 15.4&quot; WXGA, XP Pro.",
		"15.4&quot; Centrino Notebook, M740 1.73GHz, 1GB DDR2, 80GB SATA, VGA 128 ATI X700", "Wortmann",
		"2199", "3600",
		"1", 1,
		"Stück", "3",
		"", "pd-1729299821.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/Notebook TERRA-AURA-8300.jpg",
		75, 71,
		"C83", "Notenook TERRA AURA M 8300 iPM740, 15.4&quot; WXGA, XP Pro.",
		"15.4&quot; Business Centrino Notebook, M740 1,73GHz,512MB,100GB HDD,VGA 128 MB Nvidia", "Wortmann",
		"1979", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd1879700683.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/Notebook TERRA-AURA-8300.jpg",
		75, 71,
		"C84", "Notenook TERRA AURA M 8300 iPM750, 15.4&quot; WXGA, XP Pro.",
		"15.4&quot; Business Centrino Notebook, M750 1.86GHz,1GB RAM,100GB HD,VGA 128 MB", "Wortmann",
		"2179", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd-578630141.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/Notebook TERRA-AURA-8300.jpg",
		75, 71,
		"C85", "Notenook TERRA AURA M 8300 iPM760, 15&quot; SXGA+,XP Pro.***",
		"15&quot; Business Centrino Notebook, M760 2.0GHz,1GB RAM, 100GB HD,VGA 128 MB nVIDIA", "Wortmann",
		"2249", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd1792960059.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/Notebook TERRA-AURA-8300S.jpg",
		75, 71,
		"C86", "Notenook TERRA AURA M 8300S iCM-360,15.4&quot;,XP Pro,2.Akku ***",
		"15&quot; Notebook,Celeron M360 1.4Hz, 512MB 100GB HDD, Intel 915GM,Multibay", "Wortmann",
		"1649", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd987733363.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/Notebook TERRA-AURA-8300.jpg",
		75, 71,
		"C87", "Notenook TERRA AURA MWS 8300 iPM740, 15.4&quot; WXGA, XP Pro.***",
		"15,4&quot; Business Centrino Notebook, M740,1,73GHz, 512MB 60GB HDD,VGA 128 MB Nvidia", "Wortmann",
		"1949", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd486888363.html",
		"", 1,
		"38", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/Notebook TERRA-AURA-8300.jpg",
		75, 71,
		"C88", "Notenook TERRA AURA MWS 8300 iPM760,15&quot; SXGA+, XP Pro. ***",
		"15&quot; Business Centrino Notebook, M760,2.0GHz, 1GB, 80GB SATA, VGA 128 MB Nvidia", "Wortmann",
		"2299", "3100",
		"1", 1,
		"Stück", "3",
		"", "pd-1861588765.html",
		"", 1,
		"38", "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.html?" + 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();
			};
		};
