	// 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();
			location.href="orderform.htm";
			};
		};
// ** 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 + "=" + variants[i].split(";")[1] + "&"; 
			};
		variantString += "{EOL}";
		
		var addToBag = '<img src="assets/images/btnaddtobag.gif" width="99" height="24" 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=\"javascript:callpage('" + this.LnkAdress + "','" + variantString + "'," + 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 += ">";
			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=\"javascript:callpage('" + this.LnkAdress + "','" + variantString + "'," + 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/focusvisitint.gif",
		113, 80,
		"M1", "Focus Visitint",
		"Focus Visitint Monatslinse von Ciba Vision ", "Ciba Vision",
		"24", "0",
		"1", 1,
		"Stück", 0,
		"Dioptrie;+0,25@Durchmesser;14,0@Radius;8,6@", "pd-458460228.htm",
		"1::2::5;", 1,
		"1", 0,
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/focustoric.gif",
		109, 81,
		"M2", "Focus Toric",
		"Torische Monatslinse von Ciba Vision", "Ciba Vision",
		"45", "0",
		"1", 1,
		"Stück", 0,
		"Achse;10@Cylinder;-1,0@Dioptrie;+0,25@Durchmesser;14,5@Radius;8,9@", "pd1045852176.htm",
		"1::2::5;", 1,
		"1", 0,
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/surevue.gif",
		109, 75,
		"M3", "Surevue Monatslinse von Johnson und Johnson",
		"Surevue Monatslinse mit sehr guter Verträglichkeit", "Johnson&Johnson",
		"27", "0",
		"1", 1,
		"Stück", 0,
		"Dioptrie;+0,25@Durchmesser;14,0@Radius;8,4@", "pd1145357086.htm",
		"1::2::5;", 1,
		"1", 0,
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/contact30classic.gif",
		127, 66,
		"M4", "Contact Day 30",
		"Monatslinse von Zeiss", "Zeiss",
		"25.5", "0",
		"1", 1,
		"Stück", 0,
		"", "",
		"1::2::5;", 1,
		"1", 0,
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/focussoftcolor.gif",
		120, 75,
		"F1", "Focus softcolor",
		"Farbige Monatslinse von Ciba Vision", "Ciba Vision",
		"38", "0",
		"1", 1,
		"Stück", 2,
		"Dioptrie;+0,25@Durchmesser;14,0@Farbe;aquamarin@Radius;8,6@", "pd1687318545.htm",
		"1::4::3;", 1,
		"3", 0,
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/freshlookcolor.gif",
		128, 106,
		"F2", "Fresh Look Color Blens ",
		"Fresh Look Color Blends  Farbverändernde Monatskontaktlinse 2er Box", "",
		"28.5", "0",
		"1", 1,
		"Stück", 2,
		"Dioptrie;+0,25@Durchmesser;14,5@Farbe;aquamarin@Radius;Standardwert@", "pd1288285251.htm",
		"", 1,
		"3", 0,
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/biomedics55.gif",
		120, 74,
		"M 7", "Biomedics 55",
		"", "",
		"23", "0",
		"1", 1,
		"Stück", 0,
		"Dioptrie;+1,25@Durchmesser;14,2@Radius;8,6@", "pd-2133494883.htm",
		"", 1,
		"1", 0,
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/focusdailies.gif",
		134, 89,
		"T1", "Focus Dailies Tageslinse von Ciba Vision ",
		"Inhalt 30 STück /Box", "Ciba Vision",
		"26.5", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;+0,25@Durchmesser;13,8@Radius;8,6@", "pd-127642474.htm",
		"", 1,
		"2", 0,
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/focusdailies90er.gif",
		85, 76,
		"T2", "Focus Dailies Tageslinse von Ciba Vision",
		"Focus Dailies 90er Box", "Ciba Vision",
		"59.95", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;+0,25@Durchmesser;13,8@Radius;8,6@", "pd-392406512.htm",
		"", 1,
		"2", 0,
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/focusdailies180er.gif",
		85, 76,
		"T3", "Focus Dailies 180er Box ",
		"Tageslinse von Ciba Vision Inhalt 180 Stück/Box", "Ciba Vision",
		"104.95", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;-0,5@Durchmesser;13,8@Radius;8,6@", "pd1988922426.htm",
		"", 1,
		"2", 0,
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/1dayacuvue.gif",
		120, 40,
		"T4", "Acuvue 30er",
		"Tageslinse von Johnson &amp; Johnson Inhalt 30 Stück", "Johnson&Johnson",
		"27.95", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;+0,25@Durchmesser;14,2@Radius;8,5@", "pd1397365703.htm",
		"1::4::3;", 1,
		"2", 0,
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/1dayacuvue.gif",
		120, 40,
		"T5", "Acuvue 90er Box",
		"Tageslinse von Johnson&amp;Johnson ", "Johnson&Johnson",
		"75.95", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;+3,5@Durchmesser;14,2@Radius;9,0@", "pd-87956709.htm",
		"1::4::3;", 1,
		"2", 0,
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/weicon38e.gif",
		76, 94,
		"J3", "Weicon 38 E",
		"Jahreslinse von Ciba Vision", "Ciba Vision",
		"51.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+1,25@Durchmesser;14,6@Radius;ST@", "pd979472638.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/s75.jpg",
		33, 69,
		"L4", "S75",
		"Jahreslinse von Ciba", "Ciba Vision",
		"65", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+1,25@Durchmesser;14,5@Radius;8,5@", "pd-2022194006.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/pur.gif",
		161, 170,
		"A1", "Pur Kombilösung 360 ml",
		"Weichlinsenpflege vorwiegend für Tauschsysteme ALL in One", "",
		"7", "0",
		"1", 1,
		"Stück", 5,
		"", "pd1048278014.htm",
		"1::4::5;", 1,
		"W1", 0,
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/pur.gif",
		161, 170,
		"A2", "Pur Kochsalzlösung",
		"Kochsalzlösung ", "",
		"3.5", "0",
		"1", 1,
		"Stück", 5,
		"", "pd1519366748.htm",
		"1::4::5;", 1,
		"W1", 0,
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/OFX_de_280.jpg",
		280, 283,
		"A3", "Optifree 3 Monatspackung",
		"Premium Weichlinsenpflege für vorwiegend Tauschsysteme 2x 355ml", "",
		"19.9", "0",
		"1", 1,
		"Stück", 5,
		"", "pd-119418902.htm",
		"1::4::3;", 1,
		"W1", 0,
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/soflens90er.gif",
		147, 91,
		"A4", "Softlens Tageslinse",
		"Tageskontaktlinse von Bausch &amp; Lomb", "",
		"19.9", "0",
		"1", 1,
		"Stück", 1,
		"Dioptrie;+0,25@Durchmesser;14,2@Radius;8,6@", "pd1862967387.htm",
		"1::4::3;", 1,
		"2", 0,
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/freshlookcolor.gif",
		128, 106,
		"F3", "Fresh Look",
		"farbige Monatslinse von Ciba Vision Inhalt 2 Stück/Box", "Ciba Vision",
		"23", "0",
		"1", 1,
		"Stück", 2,
		"Dioptrie;+1,0@Durchmesser;12,5@Farbe;hazel@Radius;8,6@", "pd-916440349.htm",
		"1::2::3;", 1,
		"3", 0,
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/illusions01.jpg",
		249, 144,
		"F3", "Illusions",
		"farbige Jahreslinse von Ciba Vision ", "Ciba Vision",
		"49.95", "0",
		"1", 1,
		"Stück", 2,
		"Dioptrie;+0,25@Durchmesser;13,8@Farbe;amber@Radius;8,6@", "pd-237079440.htm",
		"", 1,
		"3", 0,
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/focus_1_2_week02.jpg",
		193, 176,
		"W1", "Focus 1-2 Wochen Linsen",
		"Focus Tauschlinse 6er/ Box", "Ciba Vision",
		"24.5", "0",
		"1", 1,
		"Stück", 3,
		"Dioptrie;+0,25@Durchmesser;14,0@Radius;8,4@", "pd2103369204.htm",
		"1::4::5;", 1,
		"4", 0,
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/cibasoft.gif",
		134, 89,
		"J1", "Ciba Soft Visitint",
		"Jahreslinse von Ciba Vision", "Ciba Vision",
		"37.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+0,25@Durchmesser;13,8@Radius;8,6@", "pd700397264.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/weiconce.gif",
		76, 94,
		"J2", "Weicon CE",
		"Jahreskontaktlinsen von Ciba Vision 1 Stück", "Ciba Vision",
		"51.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+1,25@Durchmesser;14,6@Radius;ST@", "pd-1379852313.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/zeiss.gif",
		45, 56,
		"A5", "Weflex 55 D",
		"Jahres Sportlinse von Wöhlk", "Zeiss",
		"39.9", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+0,25@Durchmesser;14,1@Radius;8,6@", "pd353543477.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/menicon.gif",
		155, 36,
		"A6", "Menicon Soft 72",
		"Jahreslinse von Menicon 72 % Wassergehalt", "",
		"78.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+1,25@Durchmesser;14,0@Radius;8,4@", "pd-1651933035.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/Alergancomfort.gif",
		211, 157,
		"A7", "Oxysept Comfort 3 Monatspack",
		"Pflegemittel für Weichlinsen Peroxid System von Allergan ", "",
		"41.5", "0",
		"1", 1,
		"Stück", 5,
		"", "pd921794610.htm",
		"1::3::4;", 1,
		"W1", 0,
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/menicon.gif",
		155, 36,
		"A8", "Menikon Soft MA",
		"Weiche Jahreslinse von Menikon", "",
		"59.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+0,25@Durchmesser;13,5@Radius;8,1@", "pd896284339.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/zeiss.gif",
		45, 56,
		"A9", "Weflex 55",
		"Weiche Jahreslinse von ", "",
		"50.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+0,25@Durchmesser;13,7@Radius;8,1@", "pd1970423983.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/w50_d.jpg",
		42, 56,
		"A10", "W 50 D",
		"Weiche Jahreslinse von Zeiss", "",
		"39.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+2,75@Durchmesser;14,1@Radius;8,9@", "pd1400340682.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[29] = new Element(
		29, "assets/images/nopicture.gif",
		77, 52,
		"A11", "Geaflex 70",
		"Weiche Jahreslinse von Zeiss  70% Wassergehalt", "",
		"59.5", "0",
		"1", 1,
		"Stück", 4,
		"Dioptrie;+0,25@Durchmesser;14,2@Radius;9,3@", "pd-257043342.htm",
		"", 1,
		"5", 0,
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/rb2015.jpg",
		250, 150,
		"A12", "Ray Ban 2015",
		"Ray Ban Mod 2015 schwarz", "",
		"89.5", "0",
		"1", 1,
		"Stück", 7,
		"", "pd1048607950.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/rb2016.jpg",
		600, 360,
		"A13", "Ray Ban 2016",
		"Ray Ban 2016 schwarz Gläser G15", "",
		"89.5", "0",
		"1", 1,
		"Stück", 7,
		"", "pd1048608160.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/rb2026.jpg",
		600, 360,
		"A14", "Ray Ban 2026 ",
		"Ray Ban 2026 schwarz Gläser grau", "",
		"89.5", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-1250699999.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/rb2027.jpg",
		600, 360,
		"A15", " Ray Ban 2027",
		"Ray Ban 2027", "",
		"89.5", "0",
		"1", 1,
		"Stück", 7,
		"", "pd1511529678.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/rb2030.jpg",
		600, 360,
		"A17", "Ray Ban 2030",
		"Ray Ban 2030 grau", "",
		"97", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-1216034635.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/paket focus.gif",
		312, 170,
		"A31", "Sparpaket Focus Visitint",
		"Paket bestehend aus 4 Boxen Focus Visitint und 2 x 3 Monatspack Solo Care, Comlete oder Optifree + 2 Kontaktlinsenbehälter", "",
		"129", "0",
		"1", 1,
		"Stück", 0,
		"Dioptrie ;+0,25@Durchmesser;14,0@Radius;8,6@", "pd-1479481180.htm",
		"", 1,
		"1", 0,
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/rb2031.jpg",
		600, 360,
		"A18", "Ray Ban 2031",
		"Ray Ban 2031 grün", "",
		"97", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-219552302.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/rb2045.jpg",
		600, 360,
		"A19", "Ray Ban 2045",
		"Ray Ban grau-silber", "",
		"78", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-1307045397.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/rb2116.jpg",
		600, 360,
		"A20", "Ray Ban 2116",
		"Ray Ban 2116 grün ", "",
		"96.8", "0",
		"1", 1,
		"Stück", 7,
		"", "pd303319120.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/rb3142.jpg",
		600, 360,
		"A21", "Ray Ban 3142",
		"Ray Ban 3142 grau", "",
		"115", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-360147439.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/rb3149.jpg",
		600, 360,
		"A22", "Ray Ban 3149",
		"Ray Ban 3149 orangeverspiegelt", "",
		"139", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-535451906.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/rb3154.jpg",
		600, 360,
		"A23", "Ray Ban 3154",
		"Ray Ban 3154 grau", "",
		"119", "0",
		"1", 1,
		"Stück", 7,
		"", "pd559320743.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/rb3176.jpg",
		600, 360,
		"A24", "Ray Ban 3176",
		"Ray Ban 3176 blauverlauf", "",
		"117", "0",
		"1", 1,
		"Stück", 7,
		"", "pd1193352540.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/rb4001.jpg",
		600, 360,
		"A25", "Ray Ban 4001",
		"Ray Ban 4001 grau ", "",
		"89", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-869084883.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/rb4002.jpg",
		600, 360,
		"A26", "Ray Ban 4002",
		"Ray Ban 4002 gau ", "",
		"89", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-1222823190.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/rb4010.jpg",
		600, 360,
		"A27", "Ray Ban 4010",
		"Ray Ban 4010 grau ", "",
		"94", "0",
		"1", 1,
		"Stück", 7,
		"", "pd341847843.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/rb4011.jpg",
		600, 360,
		"A28", "Ray Ban 4011",
		"Ray Ban 4011 grau-verspiegelt", "",
		"94", "0",
		"1", 1,
		"Stück", 7,
		"", "pd1493285672.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/rb4014.jpg",
		600, 360,
		"A29", "Ray Ban 4014",
		"RAy Ban 4014 orange-verspiegelt", "",
		"94", "0",
		"1", 1,
		"Stück", 7,
		"", "pd896783881.htm",
		"", 1,
		"W6", 0,
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/rb4026.jpg",
		600, 360,
		"A30", "Ray Ban 4026",
		"Ray Ban 4026 schwarz", "",
		"84", "0",
		"1", 1,
		"Stück", 7,
		"", "pd-1930906218.htm",
		"", 1,
		"W6", 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;
// ** 1111
	function SearchFor(Term,Mode){
	var foundItems = new Array();
	var itemPrice = 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"){
					if(xmlConfig.getFirstItem("SearchEngine").categoryIndex!="null"){
						matchCategory = (navigation[mySearchEngine.categoryIndex].categoryID == Entry[i].Category) ? true : false;
						if(matchCategory!=true){
							productCategory = getNavElementByCatID(Entry[i].Category);
							if(productCategory!=null){
								if(productCategory.parentID!=null){
									if(navigation[productCategory.parentID].categoryID==xmlConfig.getFirstItem("SearchEngine").categoryID){
										matchCategory=true;
										};
									};
								};
							};
						}
					else{
						matchCategory = true;
						};
					}
				else{
					matchCategory = true;
					};
				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;
		};
