	// 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="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=\"" + 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/AQU Air thumb.jpg",
		66, 155,
		"AQU-22030", "Aqualung Air",
		"", "Aqualung",
		"14.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd1666823161.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/AQU Air Vent thumb.jpg",
		79, 155,
		"AQU-22032", "Aqualung Air Vent",
		"", "Aqualung",
		"29.95", "0",
		"1", 1,
		"Stück", "1",
		"", "pd-900759857.htm",
		"", 1,
		"06", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/Libra Lady Thumb.jpg",
		107, 169,
		"052121-1", "Wateroroof Libra Lady",
		"Eisweste mit Kopfhaube", "Waterproof",
		"149", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-1545607106.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/POS DRei Thumb.jpg",
		77, 131,
		"P14004", "Poseidon Dreifingerhandschuh",
		"6,5 mm Neopren", "Poseidon",
		"36", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-415629621.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/ARIES_WOMAN.JPG",
		135, 240,
		"001", "Waterproof Aries Lady ",
		"7mm Halbtrockenanzug", "Waterproof",
		"369", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1161958060.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/ARIES_WOMAN.JPG",
		135, 240,
		"002", "Waterproof Lynx Lady",
		"5 mm Halbtrockenanzug", "Waterproof",
		"319", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1650689203.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/ARIES_MAN.JPG",
		126, 240,
		"001-1-1", "Waterproof Aries Herren ",
		"7mm Halbtrockenanzug", "Waterproof",
		"369", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-494076433.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/ARIES_MAN.JPG",
		126, 240,
		"001-1-2", "Waterproof Lynx Herren ",
		"5mm Halbtrockenanzug", "Waterproof",
		"319", "0",
		"1", 1,
		"Stück", "0",
		"", "pd806023605.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/Wat crux tropic.jpg",
		240, 240,
		"1510", "Waterproof Crux Tropen Handschuh",
		"1,5 mm Neopren mit Klettverschluß", "Waterproof",
		"39", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1162023255.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/CRUX 5-FINGER 5MM.JPG",
		156, 160,
		"1550-1", "Waterproof Crux 5 Finger Handschuh",
		"Sehr warmer Handschuh trotzdem sehr leicht zum anziehen !", "Waterproof",
		"55", "0",
		"1", 1,
		"Stück", "8",
		"", "pd2115490653.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/Wat crux 3-finger 5mm.jpg",
		240, 238,
		"1650-1", "Waterproof Crux 3 Finger Handschuh 5 mm",
		"", "Waterproof",
		"55", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-1669350189.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/WAT Crux 7mm.JPG",
		239, 240,
		"1670-1", "Waterproof Crux 3 Finger Handschuh 7 mm ",
		"mit Doppelmanschette - ideal zum Trocki !", "Waterproof",
		"65", "0",
		"1", 1,
		"Stück", "8",
		"", "pd1485757241.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/WAT Orion.JPG",
		240, 238,
		"1370", "Waterproof Orion",
		"Füßling 6,5 mm", "Waterproof",
		"55", "0",
		"1", 1,
		"Stück", "8",
		"", "pd-1568802801.htm",
		"", 1,
		"8", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/LIbra MAN.jpg",
		128, 235,
		"001-1-1-1", "Waterproof Libra Herren ",
		"Eisweste mit Kopfhaube", "Waterproof",
		"149", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1185478869.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/Sedna_woman.jpg",
		144, 240,
		"005-1", "Waterproof Sedna Lady ",
		"Trockentauchanzug Neopren", "Waterproof",
		"1199", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1067877712.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/Sedna_man_1.jpg",
		147, 240,
		"005-1-2", "Waterproof Sedna Herren ",
		"Trockentauchanzug Neopren", "Waterproof",
		"1199", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-1757861284.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/Draco_woman.jpg",
		122, 240,
		"005-1-1", "Waterproof Draco Lady ",
		"Trockentauchanzug Neopren", "Waterproof",
		"1299", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-1438241794.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/Draco_man.jpg",
		135, 240,
		"005", "Waterproof Draco Herren ",
		"Trockentauchanzug Neopren", "Waterproof",
		"1299", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-1600428519.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/Jets Thumb.jpg",
		111, 187,
		"4510", "Poseidon Unisuit ",
		"Trockentauchanzug Neopren", "Poseidon",
		"1249", "0",
		"1", 1,
		"Stück", "9",
		"", "pd910245220.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/POS Jetsuit Technika.jpg",
		123, 250,
		"4660", "Poseidon Jetsuit Technica",
		"Neoprentrockentauchanzug", "Poseidon",
		"1186", "0",
		"1", 1,
		"Stück", "9",
		"", "pd1161947590.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/Wat bodyzor.jpg",
		186, 288,
		"6100", "Waterproof Body Zor",
		"Funktionsunterwäsche", "Waterproof",
		"149", "0",
		"1", 1,
		"Stück", "3",
		"", "pd1060388619.htm",
		"", 1,
		"20", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/WAT Hydra nur oben.JPG",
		112, 112,
		"06", "Waterproof Hydra",
		"Kopfhaube 5/7 mm", "Waterproof",
		"55", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-729282582.htm",
		"", 1,
		"20", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/Oct XTX40 Th.jpg",
		111, 92,
		"10482", "Apeks Octopus XTX 40",
		"Kaltwassertauglich", "",
		"170", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-2052296065.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/ds4 thumb.jpg",
		131, 122,
		"10099", "Apeks 1. Stufe DS4",
		"", "Aqualung",
		"169", "0",
		"1", 1,
		"Stück", "4",
		"", "pd665913393.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/xtx 100 thumb.jpg",
		181, 100,
		"10465", "Apeks XTX 100",
		"Balancierter Kaltwasseregler", "",
		"559", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1093087801.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/xtx 200 th.jpg",
		136, 70,
		"10470", "Apeks XTX 200",
		"Balancierter Kaltwasserregler", "Aqualung",
		"599", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1606965939.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/legen th.jpg",
		178, 108,
		"10243", "Aqualung Legend LX Supreme",
		"1. und 2. Stufe", "",
		"499", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1743727657.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/POS JET OCT.jpg",
		190, 162,
		"2970", "Poseidon Jetstream Oktopus",
		"gelb mit 90 cm Schlauch", "",
		"199", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-1189771607.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/POS JET THUMB.jpg",
		183, 147,
		"3960-DIN", "Poseidon Jetstream",
		"1. und 2. Stufe", "",
		"399", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1986860739.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/POS Cycl Okt.jpg",
		155, 162,
		"2981", "Poseidon Cyclon Oktopus",
		"", "",
		"223", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1893206058.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/POS Cyclon Thumb.jpg",
		147, 178,
		"3950-DIN", "Poseidon Cyclon",
		"1. und 2. Stufe", "",
		"399", "0",
		"1", 1,
		"Stück", "4",
		"", "pd588398748.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/POS XTREAM OCT Thumb.jpg",
		131, 114,
		"4792", "Poseidon XSTREAM  Oktopus",
		"mit 90 cm Schlauch", "",
		"199", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1161942989.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/POS XSTREAM THUMB.jpg",
		183, 123,
		"00000", "Poseidon XSTREAM  Deep 90",
		"für Preßluft und Helium", "",
		"449", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1142968134.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/POS Bleitth.jpg",
		123, 65,
		"000-47", "Poseidon BeSea Bleitasche QR",
		"bis 4,5 Kg Blei", "Poseidon",
		"49.9", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-1621299141.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/POS Bleitth.jpg",
		123, 65,
		"000-47-1", "Poseidon BeSea Bleitasche QR ",
		"Größe L bis 8 kg", "Poseidon",
		"57", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-1684546335.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/POS W 100 th.jpg",
		122, 152,
		"000-36", "Poseidon BeSea Wing W 100",
		"", "Poseidon",
		"578", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-562861591.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/POS W50.jpg",
		249, 375,
		"000-38-1", "Poseidon BeSea Wing W 50",
		"", "Poseidon",
		"562", "0",
		"1", 1,
		"Stück", "5",
		"", "pd201725955.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/POS ADV TH.jpg",
		112, 167,
		"000-80-1", "Poseidon BeSea Harness Advanced",
		"sehr robustes und komfartables Tech-Tragesystem", "Poseidon",
		"280", "0",
		"1", 1,
		"Stück", "5",
		"", "pd1559759239.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/POS SPRING Th.jpg",
		253, 73,
		"P081101", "Poseidon Metallflossenband Spring Strap",
		"zum verschrauben an der Flosse", "Poseidon",
		"79", "0",
		"1", 1,
		"Stück", "6",
		"", "pd-2082289711.htm",
		"", 1,
		"23", "0",
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/POS Apollo Flosse Th.jpg",
		150, 158,
		"P080100", "Poseidon Flosse",
		"Apollo BIO FIN PRO", "Poseidon",
		"159", "0",
		"1", 1,
		"Stück", "6",
		"", "pd-930079115.htm",
		"", 1,
		"23", "0",
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/Blades th.jpg",
		178, 106,
		"24664", "Aqualung Flosse Blades",
		"", "",
		"79", "0",
		"1", 1,
		"Stück", "6",
		"", "pd-1834827653.htm",
		"", 1,
		"23", "0",
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/POS 4F Th.jpg",
		215, 142,
		"P04022", "4 Fenster Maske Unidive",
		"ideal für kleine Gesichter", "Poseidon",
		"19.9", "0",
		"1", 1,
		"Stück", "7",
		"", "pd2039158375.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/POS Wide View Th.jpg",
		191, 140,
		"P070001", "Unidive Wide View",
		"Zweifenstermaske mit besonders großem Blickfeld", "Poseidon",
		"35", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1627481971.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/POS MB Thumb.jpg",
		158, 142,
		"3709", "Poseidon Maskenband",
		"", "",
		"13.8", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1059359919.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/POS Maskent Th.jpg",
		184, 133,
		"13003", "Poseidon Maskentasche",
		"für Masken - innen gepolstert", "",
		"6.9", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1566508761.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/POS Technika Thumb.jpg",
		149, 98,
		"8700-1", "Poseidon Thechnika",
		"Zweifenstermaske", "Poseidon",
		"48", "0",
		"1", 1,
		"Stück", "7",
		"", "pd220898557.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/Threed Th.jpg",
		184, 130,
		"8700", "Poseidon Threedee",
		"Zweifenstermaske", "Poseidon",
		"59", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1514697207.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/AQU Look clear thumb.jpg",
		155, 101,
		"AQU-20066", "Aqualung Look Silikon (div. Farben)",
		"", "Aqualung",
		"59", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1065359251.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/zoop_front_s.jpg",
		107, 111,
		"81173", "ZOOP Suunto",
		"", "",
		"229", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1294568402.htm",
		"", 1,
		"07", "0",
		 0)
	
		Entry[49] = new Element(
		49, "assets/thumb/d6_s.jpg",
		107, 111,
		"80140", "D6 Suunto mit Elastomer Armband",
		"", "",
		"699", "0",
		"1", 1,
		"Stück", "2",
		"", "pd1294570413.htm",
		"", 1,
		"07", "0",
		 0)
	
		Entry[50] = new Element(
		50, "assets/thumb/vyper_s.jpg",
		107, 111,
		"80708", "Vyper Suunto",
		"", "",
		"299", "0",
		"1", 1,
		"Stück", "2",
		"", "pd-445729373.htm",
		"", 1,
		"07", "0",
		 0)
	
		Entry[51] = new Element(
		51, "assets/thumb/teknika_s.jpg",
		135, 90,
		"20124", "Teknika Aqualung",
		"", "",
		"59.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd-823148407.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[52] = new Element(
		52, "assets/thumb/favola_s.jpg",
		135, 90,
		"20127", "Favola Aqualung",
		"", "",
		"54.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1294571084.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[53] = new Element(
		53, "assets/thumb/look2_s.jpg",
		135, 90,
		"20123", "Look2 Aqualung",
		"", "",
		"59.95", "0",
		"1", 1,
		"Stück", "7",
		"", "pd1294571454.htm",
		"", 1,
		"24", "0",
		 0)
	
		Entry[54] = new Element(
		54, "assets/thumb/kronos_sprm.jpg",
		480, 230,
		"10220", "Aqualung Kronos Supreme ",
		"", "",
		"399", "0",
		"1", 1,
		"Stück", "4",
		"", "pd-2019494693.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[55] = new Element(
		55, "assets/thumb/xtx50.jpg",
		432, 252,
		"10460", "Apeks XTX 50 ",
		"", "",
		"509", "0",
		"1", 1,
		"Stück", "4",
		"", "pd1243214465.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[56] = new Element(
		56, "assets/images/nopicture.gif",
		77, 52,
		"10434", "Apeks Flight",
		"", "",
		"449", "0",
		"1", 1,
		"Stück", "4",
		"", "pd878379159.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[57] = new Element(
		57, "assets/thumb/xtx50_octo.jpg",
		331, 254,
		"10484", "Apeks Octopus XTX 50",
		"", "",
		"289", "0",
		"1", 1,
		"Stück", "4",
		"", "pd2097566877.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[58] = new Element(
		58, "assets/thumb/tek3.jpg",
		300, 225,
		"10085", "Apeks TEK3 1. Stufe (Paar)",
		"", "",
		"669", "0",
		"1", 1,
		"Stück", "4",
		"", "pd707915897.htm",
		"", 1,
		"21", "0",
		 0)
	
		Entry[59] = new Element(
		59, "assets/thumb/w1_big.jpg",
		180, 240,
		"010121", "Waterproof W1 5mm Overall Damen",
		"", "",
		"399", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1913648225.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[60] = new Element(
		60, "assets/thumb/w1_big.jpg",
		180, 240,
		"011121", "Waterproof W1 7mm Overall Damen",
		"", "",
		"439", "0",
		"1", 1,
		"Stück", "0",
		"", "pd812406135.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[61] = new Element(
		61, "assets/thumb/w1_ice_west_big.jpg",
		222, 240,
		"012121", "Waterproof W1 Eisweste 5mm Herren",
		"", "",
		"229", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1552888957.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[62] = new Element(
		62, "assets/thumb/w2_big.jpg",
		143, 240,
		"020121", "Waterproof W2 5mm Overall Damen",
		"", "",
		"349", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1422295795.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[63] = new Element(
		63, "assets/thumb/w2_big.jpg",
		143, 240,
		"021121", "Waterproof W2 7mm Overall Damen",
		"", "",
		"389", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-114848167.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[64] = new Element(
		64, "assets/thumb/w2_overvest_big.jpg",
		219, 240,
		"022121", "Waterproof W2 Eisweste 5mm Damen",
		"", "",
		"170", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-1093771217.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[65] = new Element(
		65, "assets/thumb/taurus_combat_big.jpg",
		128, 240,
		"622122", "Waterproof Taurus Combat 7mm Halbtrocken",
		"", "",
		"629", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-562271957.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[66] = new Element(
		66, "assets/thumb/taurus_big.jpg",
		149, 240,
		"621121", "Waterproof Taurus 7mm Halbtrocken",
		"", "",
		"529", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-1808154799.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[67] = new Element(
		67, "assets/thumb/octans_big.jpg",
		585, 924,
		"601021", "Waterproof Warmtec 200g Unterzieher",
		"", "",
		"199", "0",
		"1", 1,
		"Stück", "3",
		"", "pd-575416420.htm",
		"", 1,
		"20", "0",
		 0)
	
		Entry[68] = new Element(
		68, "assets/thumb/octans_big.jpg",
		585, 924,
		"602021", "Waterproof Warmtec HD 300g Unterzieher",
		"", "",
		"255", "0",
		"1", 1,
		"Stück", "3",
		"", "pd47150890.htm",
		"", 1,
		"20", "0",
		 0)
	
		Entry[69] = new Element(
		69, "assets/thumb/EvolutionX_Trock_4b03b56da64ca.jpg",
		302, 600,
		"0261", "Poseidon Evolution X Trockentauchanzug",
		"", "",
		"1374", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-37316248.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[70] = new Element(
		70, "assets/thumb/a3baa086064be503d3d337f8a0a5bb1e.jpg",
		429, 768,
		"0241", "Poseidon Flexisuit Trockentauchanzug",
		"", "",
		"1249", "0",
		"1", 1,
		"Stück", "9",
		"", "pd-1976975914.htm",
		"", 1,
		"Trockis", "0",
		 0)
	
		Entry[71] = new Element(
		71, "assets/thumb/w1_ice_west_big.jpg",
		222, 240,
		"012121-1", "Waterproof W1 Eisweste 5mm Damen",
		"", "",
		"229", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1294592374.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[72] = new Element(
		72, "assets/thumb/w1_big.jpg",
		180, 240,
		"010121-2", "Waterproof W1 5mm Overall Herren",
		"", "",
		"399", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1294593839.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[73] = new Element(
		73, "assets/thumb/w1_big.jpg",
		180, 240,
		"011121-1", "Waterproof W1 7mm Overall Herren",
		"", "",
		"439", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1942897909.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[74] = new Element(
		74, "assets/thumb/w2_big.jpg",
		143, 240,
		"020121-1", "Waterproof W2 5mm Overall Herren",
		"", "",
		"349", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1193732139.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[75] = new Element(
		75, "assets/thumb/w2_big.jpg",
		143, 240,
		"021121-1", "Waterproof W2 7mm Overall Herren",
		"", "",
		"389", "0",
		"1", 1,
		"Stück", "0",
		"", "pd-1845209519.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[76] = new Element(
		76, "assets/thumb/w2_overvest_big.jpg",
		219, 240,
		"022121-1", "Waterproof W2 Eisweste 5mm Herren",
		"", "",
		"170", "0",
		"1", 1,
		"Stück", "0",
		"", "pd695290087.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[77] = new Element(
		77, "assets/thumb/sirius_shorty_big.jpg",
		147, 240,
		"251221", "Waterproof Sirius Shorty Damen",
		"", "",
		"149", "0",
		"1", 1,
		"Stück", "0",
		"", "pd1294596739.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[78] = new Element(
		78, "assets/thumb/sirius_shorty_big.jpg",
		147, 240,
		"251221-1", "Waterproof Sirius Shorty Herren",
		"", "",
		"149", "0",
		"1", 1,
		"Stück", "0",
		"", "pd468979817.htm",
		"", 1,
		"04", "0",
		 0)
	
		Entry[79] = new Element(
		79, "assets/thumb/BCJ-7000C.jpg",
		240, 240,
		"0", "TUSA BCJ-7000C Conquest",
		"", "",
		"479", "0",
		"1", 1,
		"Stück", "5",
		"", "pd1294599816.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[80] = new Element(
		80, "assets/thumb/BCJ_5960.jpg",
		240, 240,
		"02", "TUSA BCJ-5960 Imprex Pro Cubic",
		"", "",
		"459", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-940871690.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[81] = new Element(
		81, "assets/thumb/BCJ_3860.jpg",
		240, 240,
		"03", "TUSA BCJ-3860 Evolution Platina",
		"", "",
		"415", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-766972140.htm",
		"", 1,
		"22", "0",
		 0)
	
		Entry[82] = new Element(
		82, "assets/thumb/BCJ_3200.jpg",
		240, 240,
		"04", "TUSA BCJ-3200 Liberator",
		"", "",
		"349", "0",
		"1", 1,
		"Stück", "5",
		"", "pd-592364702.htm",
		"", 1,
		"22", "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();
			};
		};
