	// 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="83" height="24" alt="Note item" 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>Before:&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>Now only:&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 += "Price on demand";
			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/stitched grape.jpg",
		58, 80,
		"VJA0001", "River Bank Grape",
		"from original watercolour artwork by Wendy Brockman", "",
		"25", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd1814089660.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[1] = new Element(
		1, "assets/thumb/virgcreeppic.jpg",
		50, 80,
		"VJA0002", "Virginia Creeper",
		"from original watercolour artwork by Wendy Brockman", "",
		"25", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd310488138.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[2] = new Element(
		2, "assets/thumb/stitched Onions.jpg",
		67, 80,
		"VJA0003", "Red and Yellow Onions",
		"from original watercolour artwork by Wendy Brockman", "",
		"15", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd1079179974.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[3] = new Element(
		3, "assets/thumb/stitched Peas & Carrots.jpg",
		52, 80,
		"VJA0004", "Carrots and Peas",
		"from original watercolour artwork by Wendy Brockman", "",
		"12.5", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd-1898138012.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[4] = new Element(
		4, "assets/thumb/newiristilepic.jpg",
		70, 80,
		"VJA0006", "Art Nouveau Iris Tile - D1",
		"Beautiful colours to cheer you up!", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1081617252.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[5] = new Element(
		5, "assets/thumb/anlily2.jpg",
		54, 80,
		"VJA0007", "Art Nouveau Iris Tile - D2",
		"Wonderfully colourful", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1269941451.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[6] = new Element(
		6, "assets/thumb/jagpic2.jpg",
		181, 80,
		"VJA0005", "Jaguar Car",
		"an interpretation of the famous Jaguar car", "",
		"15", "0",
		"1", 1,
		"Pieces", "11",
		"", "pd1081530597.htm",
		"", 1,
		"7", "0",
		 0)
	
		Entry[7] = new Element(
		7, "assets/thumb/redtractorpic.jpg",
		103, 80,
		"VJA0027", "Little Red Tractor",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "12",
		"", "pd1081958032.htm",
		"", 1,
		"The Farm", "0",
		 0)
	
		Entry[8] = new Element(
		8, "assets/thumb/bluetractorpic.jpg",
		95, 80,
		"VJA0012", "Little Blue Tractor",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "12",
		"", "pd561358654.htm",
		"", 1,
		"The Farm", "0",
		 0)
	
		Entry[9] = new Element(
		9, "assets/thumb/whiteflowerpic.jpg",
		80, 80,
		"VJA0013", "White Wonder",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1081959588.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[10] = new Element(
		10, "assets/thumb/BM003pic.jpg",
		17, 80,
		"VJA0016", "Blue &amp; White Bookmark BM03",
		"Makes a lovely present, stitched or as a kit", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd-1585979762.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[11] = new Element(
		11, "assets/thumb/BM002pic.jpg",
		17, 80,
		"VJA0015", "Blue &amp; White Bookmark BM02",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd839506272.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[12] = new Element(
		12, "assets/thumb/BM004pic.jpg",
		17, 80,
		"VJA0017", "Blue &amp; White Bookmark BM04",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1040867180.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[13] = new Element(
		13, "assets/thumb/BM0001apic.jpg",
		18, 80,
		"VJA0014", "Blue &amp; White Bookmark BM01",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1715372922.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[14] = new Element(
		14, "assets/thumb/Baseball Glove & Ballpic.jpg",
		86, 80,
		"VJA0019", "Baseball Glove and Ball",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1082166556.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[15] = new Element(
		15, "assets/thumb/pasqueflowerpic.jpg",
		80, 80,
		"VJA0028", "Pasque Flower",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1082167242.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[16] = new Element(
		16, "assets/thumb/blackeyed Susan shortpic.jpg",
		55, 80,
		"VJA0020", "Black Eyed Susan",
		"from original watercolour artwork by Wendy Brockman ", "",
		"15", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd894165768.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[17] = new Element(
		17, "assets/thumb/wildirispic.jpg",
		37, 80,
		"VJA0021", "Wild Iris",
		"from original watercolour artwork by Wendy Brockman ", "",
		"15", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd2135072886.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[18] = new Element(
		18, "assets/thumb/Columbine Tile pic.jpg",
		80, 80,
		"VJA0022", "Columbine Tile",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd2057671572.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[19] = new Element(
		19, "assets/thumb/dino2pic.jpg",
		89, 80,
		"VJA0009", "Dinosaur - D2",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "15",
		"", "pd1353199495.htm",
		"", 1,
		"Dinosaurs", "0",
		 0)
	
		Entry[20] = new Element(
		20, "assets/thumb/dino4pic.jpg",
		121, 80,
		"VJA0011", "Dinosaur - D4",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "15",
		"", "pd1446288899.htm",
		"", 1,
		"Dinosaurs", "0",
		 0)
	
		Entry[21] = new Element(
		21, "assets/thumb/dino3pic.jpg",
		135, 80,
		"VJA0010", "Dinosaur - D3",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "15",
		"", "pd-995828467.htm",
		"", 1,
		"Dinosaurs", "0",
		 0)
	
		Entry[22] = new Element(
		22, "assets/thumb/dino1.1pic.jpg",
		119, 80,
		"VJA0008", "Dinosaur - D1",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "15",
		"", "pd-1366752271.htm",
		"", 1,
		"Dinosaurs", "0",
		 0)
	
		Entry[23] = new Element(
		23, "assets/thumb/Baseball Player - Female pic.jpg",
		80, 80,
		"VJA0024", "Female Baseball Player - DF1",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd665750397.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[24] = new Element(
		24, "assets/thumb/Baseball Game - Femalepic.jpg",
		86, 80,
		"VJA0026", "Female Baseball Game - DF2",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1082458443.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[25] = new Element(
		25, "assets/thumb/Rugby Player Design 1 Card pic.jpg",
		74, 80,
		"VJA0029-1", "Rugby Player Birthday Card - DM1",
		"", "",
		"6", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1448072134.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[26] = new Element(
		26, "assets/thumb/Football Player - Design 1pic.jpg",
		55, 80,
		"VJA0031", "Football Player - DM1",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1082559252.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[27] = new Element(
		27, "assets/thumb/daffodils2pic.jpg",
		48, 80,
		"VJA0032", "Daffodil Bowl",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1082560624.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[28] = new Element(
		28, "assets/thumb/Basketball Player pic.jpg",
		57, 80,
		"VJA0033", "Basketball Player",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1083146313.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[29] = new Element(
		29, "assets/thumb/Baseball Hats pic.jpg",
		105, 80,
		"VJA0035", "Baseball Helmets",
		"", "",
		"10", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1749156763.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[30] = new Element(
		30, "assets/thumb/Dinosaur - D5 pic.jpg",
		80, 80,
		"VJA0038", "Dinosaur - D5",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "15",
		"", "pd1083169293.htm",
		"", 1,
		"Dinosaurs", "0",
		 0)
	
		Entry[31] = new Element(
		31, "assets/thumb/Purple Dawn pic.jpg",
		84, 80,
		"VJA0039", "Purple Dawn Tile",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd696559743.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[32] = new Element(
		32, "assets/thumb/Female Football Player - DF3.jpg",
		70, 80,
		"VJA0040", "Female Football Player  - DF3",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1087353961.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[33] = new Element(
		33, "assets/thumb/Pears pic.jpg",
		91, 80,
		"VJA0041", "Pears",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "4",
		"", "pd1083579877.htm",
		"", 1,
		"123", "0",
		 0)
	
		Entry[34] = new Element(
		34, "assets/thumb/tn_grape301.jpg",
		80, 80,
		"VJA0018", "Purple Grape",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "4",
		"", "pd1082166165.htm",
		"", 1,
		"123", "0",
		 0)
	
		Entry[35] = new Element(
		35, "assets/thumb/Yellow Rose card pic.jpg",
		77, 80,
		"VJA0034", "Yellow Rose Card",
		"", "",
		"6", "0",
		"1", 1,
		"Pieces", "13",
		"", "pd57629940.htm",
		"", 1,
		"5765474567", "0",
		 0)
	
		Entry[36] = new Element(
		36, "assets/thumb/Rugby Player Design 1 Card pic.jpg",
		74, 80,
		"VJA0029", "Rugby Player Birthday Card - DM1",
		"", "",
		"6", "0",
		"1", 1,
		"Pieces", "13",
		"", "pd1082537757.htm",
		"", 1,
		"5765474567", "0",
		 0)
	
		Entry[37] = new Element(
		37, "assets/thumb/Football Card - Design 1pic.jpg",
		81, 80,
		"VJA0030", "Football Player Card - DCM1",
		"", "",
		"6", "0",
		"1", 1,
		"Pieces", "13",
		"", "pd1082540109.htm",
		"", 1,
		"5765474567", "0",
		 0)
	
		Entry[38] = new Element(
		38, "assets/thumb/Horse - D2 pic.jpg",
		79, 80,
		"VJA0037", "Horse - D2",
		"", "",
		"10", "0",
		"1", 1,
		"Pieces", "8",
		"", "pd1083152053.htm",
		"", 1,
		"67676", "0",
		 0)
	
		Entry[39] = new Element(
		39, "assets/thumb/Horse - D1 pic.jpg",
		92, 80,
		"VJA0036", "Horse - D1",
		"", "",
		"10", "0",
		"1", 1,
		"Pieces", "8",
		"", "pd-1276877714.htm",
		"", 1,
		"67676", "0",
		 0)
	
		Entry[40] = new Element(
		40, "assets/thumb/Chickenpic.jpg",
		80, 80,
		"VJA0023", "Chicken",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "8",
		"", "pd1222669282.htm",
		"", 1,
		"67676", "0",
		 0)
	
		Entry[41] = new Element(
		41, "assets/thumb/Tiggypic.jpg",
		60, 80,
		"VJA0042", "Tiggy",
		"", "",
		"15", "0",
		"1", 1,
		"Pieces", "6",
		"", "pd1086606284.htm",
		"", 1,
		"12345", "0",
		 0)
	
		Entry[42] = new Element(
		42, "assets/thumb/Art Nouveau Lily  pic- Design 1.jpg",
		86, 80,
		"VJA0025", "Art Nouveau Lily Tile - D1",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1086789120.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[43] = new Element(
		43, "assets/thumb/Resize of 01_19_66_a5 prodpic.jpg",
		53, 80,
		"VJA0044", "Swan at Sunset",
		"What could be nicer than a beautiful sunset", "",
		"25", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd1087643491.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[44] = new Element(
		44, "assets/thumb/owl2.jpg",
		63, 80,
		"VJA0045", "The Owl",
		"", "",
		"25", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd1087802968.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[45] = new Element(
		45, "assets/thumb/paintedladiespic.jpg",
		90, 80,
		"VJA0046", "&rsquo;Painted Ladies&rsquo; Butterflies",
		"", "",
		"25", "0",
		"1", 1,
		"Pieces", "1",
		"", "pd1088263325.htm",
		"", 1,
		"001", "0",
		 0)
	
		Entry[46] = new Element(
		46, "assets/thumb/Batterpic.jpg",
		92, 80,
		"VJA0047", "Batter",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "9",
		"", "pd1409101945.htm",
		"", 1,
		"9", "0",
		 0)
	
		Entry[47] = new Element(
		47, "assets/thumb/BM005 Thistle Bookmarkpic.jpg",
		20, 80,
		"VJA0048", "Thistle Bookmark BM11",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1088324998.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[48] = new Element(
		48, "assets/thumb/BM006 Pinkpic.jpg",
		20, 80,
		"VJA0049", "Pink Geometrics BM06",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1088335451.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[49] = new Element(
		49, "assets/thumb/BM007 Bluepic.jpg",
		20, 80,
		"VJA0050", "Blue Geometrics Bookmark  BM07",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd751060993.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[50] = new Element(
		50, "assets/thumb/BM009pic.jpg",
		22, 80,
		"VJA0052", "Blue and White Bookmark BM09",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd-506829165.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[51] = new Element(
		51, "assets/thumb/BM008pic.jpg",
		22, 80,
		"VJA0051", "Blue and White Bookmark BM08",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1089197853.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[52] = new Element(
		52, "assets/thumb/WillowCardpic.jpg",
		148, 80,
		"VJA0053", "Willow Card",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "13",
		"", "pd424984015.htm",
		"", 1,
		"5765474567", "0",
		 0)
	
		Entry[53] = new Element(
		53, "assets/thumb/4 tiles Blue and Whitepic.jpg",
		96, 80,
		"VJA0054", "Blue and White 4-tiles",
		"", "",
		"15", "0",
		"1", 1,
		"Pieces", "4",
		"", "pd1089210741.htm",
		"", 1,
		"123", "0",
		 0)
	
		Entry[54] = new Element(
		54, "assets/thumb/BM010 - Plum bookmark.jpg",
		17, 80,
		"VJA0055", "Plum Bookmark - BM10",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "10",
		"", "pd1090046644.htm",
		"", 1,
		"12", "0",
		 0)
	
		Entry[55] = new Element(
		55, "assets/thumb/Victorian Flower Tile VT02pic.jpg",
		80, 80,
		"VJA0057", "Victorian Flower Tile",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "3",
		"", "pd-2145927528.htm",
		"", 1,
		"435345", "0",
		 0)
	
		Entry[56] = new Element(
		56, "assets/thumb/Victorian Floor Tile VT01.jpg",
		84, 80,
		"VJA0056", "Victorian Floor Tile",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "3",
		"", "pd1094722778.htm",
		"", 1,
		"435345", "0",
		 0)
	
		Entry[57] = new Element(
		57, "assets/thumb/CO02 Coaster.jpg",
		80, 80,
		"VJA058", "Coaster Kit CO02",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "14",
		"", "pd1100798470.htm",
		"", 1,
		"8888", "0",
		 0)
	
		Entry[58] = new Element(
		58, "assets/thumb/CO01 Coaster.jpg",
		80, 80,
		"VJA059", "Coaster Kit CO01",
		"", "",
		"8", "0",
		"1", 1,
		"Pieces", "14",
		"", "pd1664143317.htm",
		"", 1,
		"8888", "0",
		 0)
	
		Entry[59] = new Element(
		59, "assets/thumb/daisypic.jpg",
		57, 80,
		"VJA060", "Wildflowers",
		"", "",
		"12", "0",
		"1", 1,
		"Pieces", "2",
		"", "pd1101634913.htm",
		"", 1,
		"896", "0",
		 0)
	
		Entry[60] = new Element(
		60, "assets/thumb/stitched grape.jpg",
		58, 80,
		"VJC1", "River Bank Grape Chart",
		"Full charted instructions for &rsquo;River Bank Grape&rsquo;", "",
		"10", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd40596951.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[61] = new Element(
		61, "assets/thumb/virgcreeppic.jpg",
		50, 80,
		"VJC2", "Virginia Creeper Chart",
		"Full charted instructions for &rsquo;Virginia Creeper&rsquo;", "",
		"10", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd-2097624099.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[62] = new Element(
		62, "assets/thumb/owl2.jpg",
		63, 80,
		"VJC3", "The Owl Chart",
		"Full charted instructions for &rsquo;The Owl&rsquo;", "",
		"10", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd-1550096045.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[63] = new Element(
		63, "assets/thumb/Resize of Resize of 01_19_66_a5.jpg",
		53, 80,
		"VJC4", "Swan at Sunset Chart",
		"Full charted instructions for &rsquo;Swan at Sunset&rsquo;", "",
		"10", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd78928825.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[64] = new Element(
		64, "assets/thumb/blackeyed Susan shortpic.jpg",
		55, 80,
		"VJC5", "Black Eyed Susan Chart",
		"Full charted instructions for &rsquo;Black Eyed Susan&rsquo;", "",
		"10", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd1267821711.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[65] = new Element(
		65, "assets/thumb/stitched Onions.jpg",
		67, 80,
		"VJC6", "Red and Yellow Onions Chart",
		"Full charted instructions for &rsquo;Red and Yellow Onions&rsquo;", "",
		"8", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd-1280605867.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[66] = new Element(
		66, "assets/thumb/stitched Peas & Carrots.jpg",
		52, 80,
		"VJC7", "Carrots and Peas Chart",
		"Full charted instructions for &rsquo;Carrots and Peas&rsquo;", "",
		"8", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd260832139.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[67] = new Element(
		67, "assets/thumb/BM0001apic.jpg",
		18, 80,
		"VJC8", "Blue Bookmark Chart BM01",
		"Full charted instructions for Blue Bookmark BM01", "",
		"4", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd2108758193.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[68] = new Element(
		68, "assets/thumb/BM002pic.jpg",
		17, 80,
		"VJC9", "Blue Bookmark Chart BM02",
		"Full charted uinstructions for Blue Bookmark BM02", "",
		"4", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd227103303.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[69] = new Element(
		69, "assets/thumb/BM04-2pic Green.jpg",
		13, 80,
		"VJC10", "Green Bookmark Chart BM02-2",
		"Full charted instructions for Green Bookmark BM02-2", "",
		"4", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd1314766285.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[70] = new Element(
		70, "assets/thumb/BM02-1pic  Brown.jpg",
		13, 80,
		"VJC11", "Brown Bookmark Chart BM02-1",
		"Full charted instructions for &rsquo;Brown Bookmark BM02-1&rsquo;", "",
		"4", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd-1245483837.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[71] = new Element(
		71, "assets/thumb/pink tulip pic.jpg",
		57, 80,
		"VJC12", "Pink Tulip",
		"Full charted instructions for &rsquo;Pink Tulip&rsquo; - Finished design size approx 7&quot; x 10&quot;", "",
		"6", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd1112703534.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[72] = new Element(
		72, "assets/thumb/welsh dragonpic.jpg",
		128, 80,
		"VJC13", "Welsh Dragon",
		"Full charted instructions for Welsh Dragon ", "",
		"8", "0",
		"1", 1,
		"Pieces", "17",
		"", "pd1112776193.htm",
		"", 1,
		"444", "0",
		 0)
	
		Entry[73] = new Element(
		73, "assets/thumb/resize of 3d card.jpg",
		60, 80,
		"VJA061", "3d Card  VJA3DC001",
		"NEW PRODUCT   3d Cross Stitch Card", "",
		"7", "0",
		"1", 1,
		"Pieces", "16",
		"", "pd1117631176.htm",
		"", 1,
		"5767", "0",
		 0)
	
		Entry[74] = new Element(
		74, "assets/thumb/welsh bookmark 002.jpg",
		17, 80,
		"VJA062", "Welsh Bookmark",
		"", "",
		"4", "0",
		"1", 1,
		"Pieces", "0",
		"", "pd1129400261.htm",
		"", 1,
		"1", "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>Sorry, no matching product was found. Please try again...</TD></TR>"
				else return("");
				};
			};
		if(mySearchEngine.init=="false") return "<TR><TD colspan=\"2\" class=\"PROVIEWBODY\" nowrap>You did not enter any search criteria. Please enter your search term.</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();
			};
		};