// JavaScript Document
	var xmlDoc=null;
	var xmld=null;
	var xmldv=null;
	var xmlser=null;
	if (window.ActiveXObject)
		{// code for IE
		xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
		xmld=new ActiveXObject("Microsoft.XMLDOM");
		xmldv=new ActiveXObject("Microsoft.XMLDOM");
		xmlser=new ActiveXObject("Microsoft.XMLDOM");
		}
		else if (document.implementation.createDocument)
		{// code for Firefox, Mozilla, Opera, etc.
		xmlDoc=document.implementation.createDocument("","",null);
		xmld=document.implementation.createDocument("","",null);
		xmldv=document.implementation.createDocument("","",null);
		xmlser=document.implementation.createDocument("","",null);
		}
		else
		{
		alert('Your browser cannot handle this script');
		}
		if (xmlDoc!=null)
		{
		xmlDoc.async=false;
		xmlDoc.load("cooking.xml");
		}
		if (xmld!=null)
		{
		xmld.async=false;
		xmld.load("laundry.xml");
		}
		if (xmldv!=null)
		{
		xmldv.async=false;
		xmldv.load("vacuum.xml");
		}
		if (xmlser!=null)
		{
		xmlser.async=false;
		xmlser.load("search.xml");
		}

function display(n)
			{
				var tot=0
var x=xmlDoc.getElementsByTagName("product");
			var tx=n.toUpperCase()
			document.write('<link rel="stylesheet" type="text/css" href="teststyle.css">')
			document.write('<link rel="stylesheet" type="text/css" href="imagepopup.css">')
			document.write('<script src="search.js" type="text/javascript" charset="utf-8"></script>')
			document.write('<body>')
			document.write('<div align="center"><div class="logo"></div></div>')
			document.write('<div align="center"><div class="navboxtop" title="topnavbar"><div class="navbox" title="navbox"><a href="index.htm"><img border="0" src="images/icons/home.png" width="61" height="110"></a><p><a href="index.htm">Home</a></p></div><div class="navbox" title="navbox"><a href="vacuumhome.htm"><img border="0" src="images/icons/vaccyicon.jpg" width="61" height="110"></a><p><a href="vacuumhome.htm">Floor Care Spares</a></div><div class="navbox" title="navbox"><a href="vacuumpages/dysonhome.htm"><img border="0" src="images/icons/dysonicon.jpg" width="61" height="110"></a><p><a href="vacuumpages/dysonhome.htm">Dyson Spares</a></div><div class="navbox" title="navbox"><a href="laundryhome.htm"><img border="0" src="images/icons/washericon.jpg" width="61" height="110"></a><p><a href="laundryhome.htm">Laundry Spares</a></div><div class="navbox" title="navbox"><a href="cookinghome.htm"><img border="0" src="images/icons/cookericon.JPG" width="61" height="110"></a><p><a href="cookinghome.htm">Cooking Spares</a></div><div class="navbox" title="navbox"><a href="dishwasherhome.htm"><img border="0" src="images/icons/dishwashericon.JPG" width="61" height="110"></a><p><a href="dishwasherhome.htm">Dishwasher Spares</a></div><div class="navbox" title="navbox"><a href="fridgehome.htm"><img border="0" src="images/icons/fridgeicon.jpg" width="61" height="110"></a><p><a href="fridgehome.htm">Fridge & Freezer Spares</a></div><div class="navbox" title="navbox"><a href="smallapphome.htm"><img border="0" src="images/icons/prsr1icon.jpg" width="61" height="110"></a><p><a href="smallapphome.htm">Small Appliance Spares</a></div><div class="navbox" title="navbox"><a href="securityhome.htm"><img border="0" src="images/icons/bellbox.gif" width="61" height="110"></a><p><a href="securityhome.htm">Home Security</a></div><div class="navbox" title="navbox"><a href="leadhome.htm"><img border="0" src="images/icons/audioicon.jpg" width="61" height="110"></a><p><a href="leadhome.htm">Audio Video Leads</a></div></div></div>')
			document.write('<div align="center">')
			document.write('<div class="outerbox">')
			document.write('<h2>Search Results For Model '+tx+'</h2>')
			document.write('<p align="center"><a href="index.htm">Return Home</a></p>')
			document.write('<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_cart" /><input type="hidden" name="display" value="1" /><input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" /><input type="hidden" name="business" value="info@das-uk.net" /><input type="hidden" name="receiver_email" value="info@das-uk.net" /><input type="hidden" name="mrb" value="R-3WH47588B4505740X" /><input type="hidden" name="pal" value="ANNSXSLJLYR2A" /><input type="image" name="submit" src="http://images.paypal.com/images/view_cart.gif" border="0" alt="Make payments with PayPal - its fast, free and secure!" /></form>')
			for (var i=0;i<x.length;i++)
				{
				if (x[i].getElementsByTagName("models")[0].childNodes[0].nodeValue.match(tx))
					{
						tot++
					document.write('<div class="searchbox">')
					document.write('<div align="canter"')
					document.write('<a class="thumbnail" href="#thumb"><img src= '+ x[i].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +'  width="100px" height="135px" border="0" align="center" /><span><img src='+ x[i].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +' /><br />' + x[i].getElementsByTagName("desc")[0].childNodes[0].nodeValue + '</span></a>')
					document.write("</div>")
					document.write('<h2>')
					document.write(x[i].getElementsByTagName("partno")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write(x[i].getElementsByTagName("desc")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write("Price £ "+x[i].getElementsByTagName("price")[0].childNodes[0].nodeValue+" including VAT");
					document.write("</h2>")
					var btn=x[i].getElementsByTagName("partno")[0].childNodes[0].nodeValue+x[i].getElementsByTagName("desc")[0].childNodes[0].nodeValue;
					var prc=x[i].getElementsByTagName("price")[0].childNodes[0].nodeValue;
					document.write('<p align="center">')
					document.write('<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
					document.write('<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">')
					document.write('<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">')
					document.write('<input type="hidden" name="add" value="1">')
					document.write('<input type="hidden" name="cmd" value="_cart">')
					document.write('<input type="hidden" name="business" value="info@das-uk.net">')
					document.write('<input type="hidden" name="item_name" value='+x[i].getElementsByTagName("ppdesc")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="item_number" value='+tx+' />')
					document.write('<input type="hidden" name="amount" value='+prc+'>')
					document.write('<input type="hidden" name="shipping" value='+x[i].getElementsByTagName("dprice")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="no_note" value="1">')
					document.write('<input type="hidden" name="currency_code" value="GBP">')
					document.write('<input type="hidden" name="lc" value="GB">')
					document.write('<input type="hidden" name="bn" value="PP-ShopCartBF">')
					document.write('</form>')
					document.write('</p>')
					document.write('</div>')
					}
				}
var l=xmld.getElementsByTagName("product");
			for (var c=0;c<l.length;c++)
				{
				if (l[c].getElementsByTagName("models")[0].childNodes[0].nodeValue.match(tx))
					{
						tot++
					document.write('<div class="searchbox">')
					document.write('<div align="canter"')
					document.write('<a class="thumbnail" href="#thumb"><img src= '+ l[c].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +'  width="100px" height="135px" border="0" align="center" /><span><img src='+ l[c].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +' /><br />' + l[c].getElementsByTagName("desc")[0].childNodes[0].nodeValue + '</span></a>')
					document.write("</div>")
					document.write('<h2>')
					document.write(l[c].getElementsByTagName("partno")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write(l[c].getElementsByTagName("desc")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write("Price £ "+l[c].getElementsByTagName("price")[0].childNodes[0].nodeValue+" including VAT");
					document.write("</h2>")
					var btn=l[c].getElementsByTagName("partno")[0].childNodes[0].nodeValue+l[c].getElementsByTagName("desc")[0].childNodes[0].nodeValue;
					var prc=l[c].getElementsByTagName("price")[0].childNodes[0].nodeValue;
					document.write('<p align="center">')
					document.write('<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
					document.write('<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">')
					document.write('<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">')
					document.write('<input type="hidden" name="add" value="1">')
					document.write('<input type="hidden" name="cmd" value="_cart">')
					document.write('<input type="hidden" name="business" value="info@das-uk.net">')
					document.write('<input type="hidden" name="item_name" value='+l[c].getElementsByTagName("ppdesc")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="item_number" value='+tx+' />')
					document.write('<input type="hidden" name="amount" value='+prc+'>')
					document.write('<input type="hidden" name="shipping" value='+l[c].getElementsByTagName("dprice")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="no_note" value="1">')
					document.write('<input type="hidden" name="currency_code" value="GBP">')
					document.write('<input type="hidden" name="lc" value="GB">')
					document.write('<input type="hidden" name="bn" value="PP-ShopCartBF">')
					document.write('</form>')
					document.write('</p>')
					document.write('</div>')
					}
				}
var f=xmldv.getElementsByTagName("product");
			for (var g=0;g<f.length;g++)
				{
				if (f[g].getElementsByTagName("models")[0].childNodes[0].nodeValue.match(tx))
					{
						tot++
					document.write('<div class="searchbox">')
					document.write('<div align="canter"')
					document.write('<a class="thumbnail" href="#thumb"><img src= '+ f[g].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +'  width="100px" height="135px" border="0" align="center" /><span><img src='+ f[g].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +' /><br />' + f[g].getElementsByTagName("desc")[0].childNodes[0].nodeValue + '</span></a>')
					document.write("</div>")
					document.write('<h2>')
					document.write(f[g].getElementsByTagName("partno")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write(f[g].getElementsByTagName("desc")[0].childNodes[0].nodeValue);
					document.write("</h2>")
					document.write('<h2>')
					document.write("Price £ "+f[g].getElementsByTagName("price")[0].childNodes[0].nodeValue+" including VAT");
					document.write("</h2>")
					var btn=f[g].getElementsByTagName("partno")[0].childNodes[0].nodeValue+f[g].getElementsByTagName("desc")[0].childNodes[0].nodeValue;
					var prc=f[g].getElementsByTagName("price")[0].childNodes[0].nodeValue;
					document.write('<p align="center">')
					document.write('<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
					document.write('<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">')
					document.write('<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">')
					document.write('<input type="hidden" name="add" value="1">')
					document.write('<input type="hidden" name="cmd" value="_cart">')
					document.write('<input type="hidden" name="business" value="info@das-uk.net">')
					document.write('<input type="hidden" name="item_name" value='+f[g].getElementsByTagName("ppdesc")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="item_number" value='+tx+' />')
					document.write('<input type="hidden" name="amount" value='+prc+'>')
					document.write('<input type="hidden" name="shipping" value='+f[g].getElementsByTagName("dprice")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="no_note" value="1">')
					document.write('<input type="hidden" name="currency_code" value="GBP">')
					document.write('<input type="hidden" name="lc" value="GB">')
					document.write('<input type="hidden" name="bn" value="PP-ShopCartBF">')
					document.write('</form>')
					document.write('</p>')
					document.write('</div>')
					}
				}
				var m=xmlser.getElementsByTagName("product");
				for (var h=0;h<m.length;h++)
				{
					var sca=m[h].getElementsByTagName("desc")[0].childNodes[0].nodeValue.toUpperCase()
					var scb=m[h].getElementsByTagName("models")[0].childNodes[0].nodeValue.toUpperCase()
				if (sca.match(tx)
							  ||
					scb.match(tx))
				{
					tot++
					document.write('<div class="searchbox">')
					document.write('<div align="canter"')
document.write('<a class="thumbnail" href="#thumb"><img src= '+ m[h].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +'  width="100px" height="135px" border="0" align="center" /><span><img src='+ m[h].getElementsByTagName("imgurl")[0].childNodes[0].nodeValue +' /><br />' + m[h].getElementsByTagName("desc")[0].childNodes[0].nodeValue + '</span></a>')
					document.write("</div>")
					document.write('<h2>'+m[h].getElementsByTagName("connectordercode")[0].childNodes[0].nodeValue+'</h2>');
					document.write('<h2>'+m[h].getElementsByTagName("brand")[0].childNodes[0].nodeValue+'</h2>')
					document.write('<h2>'+m[h].getElementsByTagName("desc")[0].childNodes[0].nodeValue+'</h2>');
					var btna=m[h].getElementsByTagName("connectordercode")[0].childNodes[0].nodeValue+"."+m[h].getElementsByTagName("desc")[0].childNodes[0].nodeValue;
					var btn=btna.replace(/\s/g, '.');
					var prc=m[h].getElementsByTagName("price")[0].childNodes[0].nodeValue;
					document.write('<h2>Price &#163; ' + m[h].getElementsByTagName("price")[0].childNodes[0].nodeValue + ' Inc. VAT</h2>')
					document.write('<p align="center">')
					document.write('<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">')
					document.write('<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">')
					document.write('<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">')
					document.write('<input type="hidden" name="add" value="1">')
					document.write('<input type="hidden" name="cmd" value="_cart">')
					document.write('<input type="hidden" name="business" value="info@das-uk.net">')
					document.write('<input type="hidden" name="item_name" value='+btn+'>')
					document.write('<input type="hidden" name="amount" value='+prc+'>')
					document.write('<input type="hidden" name="shipping" value='+m[h].getElementsByTagName("dprice")[0].childNodes[0].nodeValue+'>')
					document.write('<input type="hidden" name="item_number" value='+tx+' />')
					document.write('<input type="hidden" name="no_note" value="1">')
					document.write('<input type="hidden" name="currency_code" value="GBP">')
					document.write('<input type="hidden" name="lc" value="GB">')
					document.write('<input type="hidden" name="bn" value="PP-ShopCartBF">')
					document.write('</form>')
					document.write('</p>')
					document.write('</div>')
					}
				}
			document.write('</div></div>')
			document.write('<p align="center"><h2>Total Matching Items Found '+tot+'</h2></p>')
			document.write('<p align="center"><a href="contactus.htm">Click Here if you can not find the parts you need and we WILL.</a></p>')
			}
