Hi guys,

I've got a data scraping script that is not picking few html elements/fields that I need.

I can't get the following elements:

product title
price and
specification

It could be that the xpath is not correct since the website has a lots of div/tables without any id or class. Please look at the xpath and the source code of the html page to suggest correction.

cheers

HERE IS MY CODE FOR THE ABOVE

<?php

// go through each product
$products_nodes = $listing_xpath->query('//div/a[contains(@href, "item-details")]');

// get product details
$prod_title_node          = $xpath->query('//descendant::h1');            
$prod_price_node          = $xpath->query('//div[@class="details-subprice"]');
$prod_spec_nodes          = $xpath->query('//html/body/table/tbody/tr/td/table[2]/tbody/tr/td[3]/div[2]/table/tbody/tr/td[2]/table/tbody/tr[2]/td/table[2]/*');


            /* save specification records */
            $group      = '';
            foreach($prod_spec_nodes as $node)
            {
               if(preg_match('!h[1234]!i', $node->tagName)) {
                  $group      = $node->nodeValue;
               }

               $left         = $xpath->query('//td[@class="techspec"]', $node)->item(0);
               $right         = $xpath->query('//td[@class="techvalue"]', $node)->item(0);
               if ($left && $right )
               {
                  add_specs(array('productid' => $prodid, 'group' => $group, 'left' => $left->nodeValue, 'right' => $right->nodeValue) );
               }
            }
?>

here is the source code of the target page.

<?php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


 
<html>
<head>
<title>Allied Telesis Wireless ADSL 2 x WAN port Multi-po - chisd.co.uk</title>
<meta http-equiv="Content-Type" content="text/html" />
<link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="description" content="Allied Telesis Wireless ADSL 2 x WAN port Multi-po (AT-AR750S) at chisd.co.uk. See more technical specifications, photo galleries and customer reviews at chisd.co.uk."/>
<meta name="keywords" content="computer accessories, barebone kits, computer cases, computer parts, pc components, cpus, processors, computers, desktop pc, digital cameras, flash memory, hard drives, laptops, notebooks, cd dvd media, memory, monitors, lcd, motherboards, plasma tv, lcd tv, dlp tv, power protection, printers, projectors, removable storage, scanners, servers, software, usb flash memory, video cards, wireless networking"/>
<meta name="robots" content="index,follow"/>
<meta name="Author" content="SystemaxDEV, Web Development Team"/>
<meta name="copyright" content="©1989-2010 chisd. All rights reserved."/>
<meta name="manufacturer" content=""/>

<meta name="category" content="">
<meta name="MSSmartTagsPreventParsing" content="TRUE"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link href="/chisd-uk.xml" rel="search" type="application/opensearchdescription+xml" title="chisd UK" />
<link href='/css/site.css' rel='stylesheet' type='text/css'>
<link href="/css/i2contentv3.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript" src="/js/site.js"></script>
    
</head>
<body  >
<!-- #CoreMetrics Libraries Start# -->
<script language="javascript1.2" src="/applications/coremetrics/eluminate.js" type="text/javascript"></script>
<script language="javascript1.2" src="/applications/coremetrics/cmdatatagutils.js" type="text/javascript"></script>
<!-- #CoreMetrics Libraries End# -->


<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td>

<!-- UK HEADER -->
 <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr valign="top">
                <td class="blueGradStretch" width="1"><img src="http://img2.chisd.co.uk/images/spacer.gif" width="1" height="74" alt="" /></td>
                <td style="width:940px;" class="blueGradStretch">
                    <table cellpadding="0" cellspacing="0" border="0" style="width:940px; text-align:left">
                        <tr>

                            <td><a href="http://www.chisd.co.uk"><img src="http://img.chisd.co.uk/images/logo.gif" width="267" height="57" alt="chisd. The best deals on IT. Anywhere!" border="0"/><img src="http://img1.chisd.co.uk/images/masthead/padding.gif" width="20" height="57" alt="" /><img src="http://img.chisd.co.uk/images/phoneNo.gif" width="198" height="57" alt="FREEFONE order line: 0800 038 8880" style="text-align:left;" border="0"/></a></td>
                            <td style="padding-top:6px;" rowspan="2">
                            <a href="/content/epsonprinters/index.htm?sourceid=3536&cm_sp=epson-_-stylus_nov09-_-TROS"><img src="http://img3.chisd.co.uk/images/sitebanners/epsonstylus_300x60.jpg" width="300" height="60" alt="Accelerate your business with a new Epson Stylus office printer" border="0"></a>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="width:514px;" class="searchEngineText">Buy Computer Parts, Components, Laptop Computer Parts, Desktop Computers and Notebooks.</td>
                        </tr>

                    </table>
                </td>
                <td style="background-color:#02206b">&nbsp;</td>
            </tr>
            <tr valign="top">
                <td class="topMenuStretch"><img src="http://img.chisd.co.uk/images/spacer.gif" width="1" height="22" alt="" /></td>

                 <td class="topMenuStretch topMenu b">
                    <a href="http://www.chisd.co.uk" style="color:White;" title="Click Here to Return to the Home Page" class="mainframe">Home</a>

                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>
                    <a href="/content/about/contact.asp" style="color:White;" title="Click Here to Contact Us" class="mainframe">Contact Us</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>
                    <a href="/content/help/index.asp"  style="color:White;" title="Click Here to View the Help Centre" class="mainframe">Help &amp; FAQs</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>

                    <a href="/content/affiliate/chisdaffiliate.asp"  style="color:White;" title="Join our Affiliate Program" class="mainframe">Join our Affiliate Program</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>
                    <a href="http://www.chisd.tv"  style="color:White;" title="Visit chisd.tv" class="mainframe">chisd.tv</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>
                    
			            <a href="https://www.chisd.co.uk/secure/orderlogin.asp?PG=1"  style="color:White;" title="Click Here for My Account" class="mainframe">My Account</a>
                    
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>

                    
                    <a href="https://www.chisd.co.uk/cgisec/orderTrack.asp"  style="color:White;" title="Click Here for Order Tracking" class="mainframe">Order Tracking</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>

                     <a href="https://www.chisd.co.uk/applications/configurators/quickorder.asp"  style="color:White;" title="Click Here for Quick Order" class="mainframe">Quick Order</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>
                    <a href="/content/help/forms/cataloguerequest.asp" style="color:White;" title="Click Here to Request a Catalogue" class="mainframe">Request A Catalogue</a>
                    <span class="topMenuDivider">&nbsp;&nbsp;::&nbsp;&nbsp;</span>

                    <a href="/content/services/index.asp"  style="color:White;" title="Click here for chisd Solutions" class="mainframe">Solutions</a>
                </td>
                <td class="topMenuStretch">&nbsp;</td>
            </tr>
            <tr valign="top">
                <td class="searchBarStretch"><img src="http://img3.chisd.co.uk/images/spacer.gif" width="1" height="34" alt="" /></td>
                <td class="searchBarStretch">
                    <table cellpadding="0" cellspacing="0" border="0">

                        <tr valign="top" align="left">
                            <td style="padding-left:5px; padding-right:2px; text-align:left; padding-top:10px;" class="size13 b">Search</td>
                            <td style="padding-right:5px;"><img src="http://img1.chisd.co.uk/images/layout/header/searchBarSearchIcon.gif" width="32" height="34" alt="search" style="vertical-align:middle;" /></td>
                            <td style="padding-top:6px;" nowrap="nowrap">
						    
                                <form action="http://www.chisd.co.uk/applications/factfinder/search.asp" method="get">
                                    <input type="text" name="querytext" id="querytext" style="vertical-align: middle; width: 163px; font-family: Arial; font-size: 8pt; line-height: normal; height: 18px;" class="blueBorder" value=""/>
                                    <input src="http://img2.chisd.co.uk/images/layout/header/searchBarGo.gif" alt="Search here &amp; enter a chisd no. or keywords" id="Image1" name="image1" style="vertical-align: middle; padding-left: 7px;" type="image" />
                                </form>   
                            
                            </td>

                            <td style="padding-right:5px;padding-left:5px;"><img src="http://img.chisd.co.uk/images/layout/header/searchBarDivider.gif" width="2" height="34" alt="" style="padding-left:7px;padding-right:7px;" /></td>
                            <td style="padding-right:2px; text-align:left; padding-top:10px;" class="size13 b" nowrap="nowrap">Subscribe to eDeals</td>
                            <td style="padding-right:5px;"><img src="http://img.chisd.co.uk/images/layout/header/searchBarEmailIcon.gif" width="27" height="34" alt="Get Email Updates" style="vertical-align:middle;" /></td>
                            <td style="padding-top:6px;padding-right:5px;" nowrap="nowrap">
                                <form name="subscribe" method="post" action="http://www.chisd.co.uk/newsletter/details.asp">
				                    <script language="javascript" type="text/javascript">
					                    if (navigator.appName == "Netscape") {
					                    document.write("<input type=\"text\" name=\"emailaddress\" style=\"padding-left: 2px; padding-right: 2px; font: 8pt Arial; height: 18px; vertical-align: middle; width: 177px;\" class=\"blueBorder\" size=\"24\"")
					                    document.write(" onfocus=\"if(this.value=='Enter Your Email Address')this.value='';\" onblur=\"if(this.value=='')this.value='Enter Your Email Address';\"")
					                    document.write(" value=\"Enter Your Email Address\">")		
					                    } else {
					                    document.write("<input type=\"text\" name=\"emailaddress\" style=\"padding-left:2px; padding-right: 2px; font: 8pt Arial; vertical-align: middle; width: 177px; height: 18px;\"")
					                    document.write(" size=\"23\" class=\"blueBorder\" onfocus=\"if(this.value=='Enter Your Email Address')this.value='';\" onblur=\"if(this.value=='')this.value='Enter Your Email Address';\"")
					                    document.write(" value=\"Enter Your Email Address\">")		
					                    }
				                    </script>
				                    <input type="image" src="http://img2.chisd.co.uk/images/layout/header/searchBarGo.gif" alt="Subscribe" id="ImageSubscribe" name="imageSubscribe" style="vertical-align:middle;padding-left:7px;">

				                    <input type="hidden" name="from" value="header" />
			                    </form>
                            </td>
                            <td style="padding-right:5px;padding-left:5px;"><img src="http://img.chisd.co.uk/images/layout/header/searchBarDivider.gif" width="2" height="34" alt="" style="padding-left:7px;padding-right:7px;" /></td>
                            <td style="text-align:left;"><a href="http://www.chisd.co.uk/cgi-bin/shoppingcart.asp"><img src="/images/layout/header/searchBarBasketIcon.gif" width="28" height="34" alt="Basket Summary" style="vertical-align:middle;padding-right:3px;border:none 0px white;" /></a></td>
                            <td style="text-align:left;padding-top:7px;" nowrap="nowrap">
                               <div name="TopBasketDIV" id="TopBasketDIV">
                              <font class="size10" style="line-height:10px;">
                                <!--<div class="size10" style="line-height:10px;">-->

                                    
					                    0 
				                    &nbsp;items&nbsp;<a href="http://www.chisd.co.uk/cgi-bin/shoppingcart.asp" title="View Basket" style="color: Black;">(View Basket)</a>
				                <!--</div>-->
				                </font>
				                <BR>
				                <font class="size11 b red" style="line-height:11px;">
				                <!-- <div class="size11 b red" style="line-height:11px;"> -->
                                    Total: £0.00 ex VAT&nbsp;

					                <!-- </div> -->
                               </font>
                               <font class="size11 b" style="line-height:11px;">
                               <!-- <div class="size11 b" style="line-height:11px;"> -->
                                    £0.00 inc VAT
					                <!-- </div> -->
                               </font>
                            </div>
                            </td>

                            <td style="padding-top:8px;text-align:right;"></td>
                            <td style="padding-right:5px;padding-left:9px;"><img src="http://img.chisd.co.uk/images/layout/header/searchBarDivider.gif" width="2" height="34" alt="" style="padding-left:7px;padding-right:7px;" /></td>
                            <td style="text-align:left;padding-top:7px;" nowrap="nowrap">
                                <div class="size10" style="padding-left:2px; padding-right:2px; text-align:left; padding-top:3px;" >
		                        
                                </div>
                            </td>    
                        </tr>                    
                    </table>
                                        
                    </td>
                      <td class="searchBarStretch">&nbsp;</td>

                    </tr>
                    
                    
                   
                
        </table>

<!-- UK HEADER ENDS -->

  
  
  
    <script language="javascript"> 

    function xmlhttpPost(SKU, EDP, QTY) 
    {
    
    if (document.getElementById("TopBasketDIV"))
    {
        if(document.getElementById("TopBasketDIV").innerHTML.indexOf('Updating basket') > 0)
        {
        alert("Busy...... Please wait and try again");
        }
        else
        {
          RunBasketupdate(SKU, EDP, QTY) 
        }
    }
    else
    {
         RunBasketupdate(SKU, EDP, QTY) 
    }

    }


    
 function RunBasketupdate(SKU, EDP, QTY)
 {
        var xmlHttpReq = false;
        var self = this;
        var randomnumber=Math.floor(Math.random()*50)
        
            var FB = "P";
            var theparams = "linegroup=0&clicksource=ITD&AssocEdpNo=0&"+ SKU + "&linegroup=0&clicksource=ITW";
            var strURL = "/cgi-bin/order.asp?TD=" + randomnumber + "&FloatBasket=" + FB ; 
        
       
    
        // FireFox
        if (window.XMLHttpRequest) {
            self.xmlHttpReq = new XMLHttpRequest();
           
            updatepage("<div class=prodDescription><font color=red>Updating basket</font></div>","<div class=prodDescription><font color=red>Updating basket</font></div>");
            UpdateInBasket(EDP, '<div class=prodDescription><font color=red>Adding to basket</font></div>',0);
             
            if (SKU.indexOf("S=tab7") >= 0 )
            {   
                UpdateInBasket(document.getElementById("warrEdpNo").value, '<div class=prodDescription><font color=red>Adding to basket</font></div>',0);
            }
            self.xmlHttpReq.open("POST", strURL, true);            
            self.xmlHttpReq.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
            if (theparams != null){self.xmlHttpReq.setRequestHeader("Content-length", theparams.length);}
            self.xmlHttpReq.onreadystatechange = function() {
                if (self.xmlHttpReq.readyState == 4) {
                 
                    if (self.xmlHttpReq.status==200)
                    {                       
                        var Stxt = "";
                        Stxt = self.xmlHttpReq.responseText;
                         // alert(Stxt);
                        var s = new Array();                        
                        s = Stxt.split("||||||||||");                        
                        updatepage(s[0],s[1]);
                        
                        //alert(QTY);
                        //Max order qty check for error message
                        if (s[3].indexOf("##2##") >=0)
                           { 
                            alert("Quantity exceeded maximum quantity allowed for one of the items ordered and was set to the maximum quantity.");                                                        
                             UpdateInBasket(EDP, s[2], parseInt(s[4]));                             
                           }
                         else
                         {
                          UpdateInBasket(EDP, s[2], QTY);
                         }
                        
                        if (s[3].indexOf("##10##") >=0)
                            {
                              alert("!IMPORTANT MESSAGE! Sorry an item has dropped out of your basket as it is no longer available.");
                              UpdateInBasket(EDP, "", 9999999);
                            }
                        
                        //Warranty Checks
                        if (SKU.indexOf("S=tab") >= 0 )
                        {                                                
                        if (s[3].indexOf("##1##") >=0)
                            {
                            alert("This warranty have not been added to your basket");
                            UpdateInBasket(document.getElementById("warrEdpNo").value,"" ,0 );
                           }
                        else
                           { 
                            
                             if (SKU.indexOf("S=tab7") >= 0 )
                            //if (document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo")) )
                            {
                                if(QTY > 1)
                                {
                                    warcount = parseInt(document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo").value).attributes.CurrQTY.value) + parseInt(QTY);
                                }
                                else
                                {
                                    warcount = parseInt(document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo").value).attributes.CurrQTY.value) + 1;
                                }
                                sendHtm = "<table border='0'><tr><td align=center valign=top><img src='/images/shoppingcart/TrolleyAll.gif' ></td><td valign=middle class=prodDescription>" + (warcount) + " in basket</td></tr></table>";
                                UpdateInBasket(document.getElementById("warrEdpNo").value,sendHtm ,warcount );
                             }
                            }
                           
                        }
                    }
                    else
                    {
                        //error stuff
                         updatepage("ERROR");
                        
                    }
                }
            }
            self.xmlHttpReq.send(theparams);
        }
        // IE
        else if (window.ActiveXObject) {
            self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
            updatepage("<div class=prodDescription><font color=red>Updating basket</font></div>","<div class=prodDescription><font color=red>Updating basket</font></div>");
            UpdateInBasket(EDP, '<div class=prodDescription><font color=red>Adding to basket</font></div>',0);
           
            if (SKU.indexOf("S=tab7") > -1)
            {
                UpdateInBasket(document.getElementById("warrEdpNo").value, '<div class=prodDescription><font color=red>Adding to basket</font></div>',0);
            }
            self.xmlHttpReq.open('POST', strURL, true);            
            self.xmlHttpReq.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
            if (theparams != null){self.xmlHttpReq.setRequestHeader("Content-length", theparams.length);}
            self.xmlHttpReq.onreadystatechange = function() {
                if (self.xmlHttpReq.readyState == 4) {
                 
                    if (self.xmlHttpReq.status==200)
                    {                     
                        var Stxt = "";
                        Stxt = self.xmlHttpReq.responseText;
                      
                        var s = new Array();
                        s = Stxt.split("||||||||||");
                        updatepage(s[0],s[1]);
                       
                        //Max order qty check for error message
                        if (s[3].indexOf("##2##") >=0)
                           {
                            alert("Quantity exceeded maximum quantity allowed for one of the items ordered and was set to the maximum quantity.");                                                         
                            UpdateInBasket(EDP, s[2], parseInt(s[4]));                                                        
                           }
                         else
                         {
                          UpdateInBasket(EDP, s[2], QTY);
                         }
                        
                        if (s[3].indexOf("##10##") >=0)
                            {
                              alert("!IMPORTANT MESSAGE! Sorry an item has dropped out of your basket as it is no longer available.");
                            }
                        
                        //Warranty Check
                        
                       if (SKU.indexOf("S=tab") >= 0 )
                        {                                                
                        if (s[3].indexOf("##1##") >=0)
                            {
                            alert("This warranty have not been added to your basket");
                            UpdateInBasket(document.getElementById("warrEdpNo").value,"" ,0 );
                           }
                        else
                           {                                                                             
                             if (SKU.indexOf("S=tab7") >= 0 )
                            //if (document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo")) )
                            {
                                if(QTY > 1)
                                {
                                    warcount = parseInt(document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo").value).attributes.CurrQTY.value) + parseInt(QTY);
                                }
                                else
                                {
                                    warcount = parseInt(document.getElementById("VisBasketItem"+document.getElementById("warrEdpNo").value).attributes.CurrQTY.value) + 1;
                                }
                                sendHtm = "<table border='0'><tr><td align=center valign=top><img src='/images/shoppingcart/TrolleyAll.gif' ></td><td valign=middle class=prodDescription>" + (warcount) + " in basket</td></tr></table>";
                                UpdateInBasket(document.getElementById("warrEdpNo").value,sendHtm ,warcount );
                             }
                            }
                            
                        }
                    }
                    else
                    {
                        //error stuff
                         updatepage("ERROR","1");
                    }
                }
            }
            self.xmlHttpReq.send(theparams);
     //   }  
}     
   }

    function UpdateInBasket(EDP, theTxt, QTY)
    {        
        if(document.getElementById("VisBasketItem"+EDP))
        {           
            
           var currentQTY  = document.getElementById("VisBasketItem"+EDP).attributes.CurrQTY.value;
          // alert(currentQTY);                    
           var newQTY = parseInt(currentQTY) + parseInt(QTY);
           if (parseInt(QTY)==9999999)
           { newQTY = 0; }
          //alert(newQTY + '=' + currentQTY + '+' + QTY);
           theTxt = theTxt.replace(/##/, newQTY);
           document.getElementById("VisBasketItem"+EDP).attributes.CurrQTY.value = newQTY
           document.getElementById("VisBasketItem"+EDP).innerHTML = theTxt;
        }
    }      

    function updatepage(Topstr,Rightstr){
    if ( document.getElementById("TopBasketDIV"))
    {
        document.getElementById("TopBasketDIV").innerHTML = Topstr;
        if(document.getElementById("FloatBasketSide"))
            {
                if(document.getElementById("largebasketbis")){document.getElementById("largebasketbis").style.display='';}
                if (document.getElementById("largebasketbisZERO")){document.getElementById("largebasketbisZERO").style.display='none';}
                if (document.getElementById("FloatBasketSide")){document.getElementById("FloatBasketSide").innerHTML = Rightstr;}
                if (document.getElementById("itemdetailsCO1")){document.getElementById("itemdetailsCO1").style.display='';}
                if (document.getElementById("itemdetailsCO2")){document.getElementById("itemdetailsCO2").style.display='';}
        }
                
        if(document.getElementById("SideChkBut"))
            {document.getElementById("SideChkBut").style.display='';}
        
     }   
    }

    function VisBasket(SKU,EPD,QTY)
    {
       //gets Warranties
       var WARedpno,WARAss,WARQTY;
       if (document.getElementById("warrEdpNo"))
       {
        WARedpno = document.getElementById("warrEdpNo").value;
        WARQTY = document.getElementById("warrQty").value;
        WARAss = document.getElementById("warrAssoc").value;
        
            SKU = SKU + '&AssocEdpNo=' + WARAss + '&EdpNo='+WARedpno+'&Qty=' + WARQTY + '&S=tab6';
         
        // '&clicksource=ITW&linegroup=0';
        //&Warranty='+WARedpno
        
       }
       
       xmlhttpPost(SKU,EPD,QTY);
    }
 

    function UPsellsBuyNow(EPD)
    {
    //Gets qty before submiting to basket as QTY is set to 0 to being with
    if (document.getElementById("q_" + EPD).value==0)
    {
        upQTY = 1;        
    }
    else
    {
        upQTY = document.getElementById("q_" + EPD).value
    }
    
    SKU = 'EdpNo=' + EPD + '&QTY=' + upQTY  + '&Clicksource=ITU';
    
    xmlhttpPost(SKU,EPD,upQTY);
    
    }
    

</script>    


<!--include virtual="/include/liveprice.asp"-->

<!-- Center of front page begins -->
<img src="http://img1.chisd.co.uk/images/spacer.gif" alt=""  height="3" width="1"><br/>
<table width="956" border="0" cellpadding="0" cellspacing="0" class="maintbl">
  <tr> 
    <!-- Left Side navigation begins-->

    <td width="140" valign="top" bgcolor="">

<!--	<img src="http://img.chisd.co.uk/images/misc/pixel-clr.gif" height="5" width="1"/><br/>-->

<!--<img src="http://img2.chisd.co.uk/images/spacer.gif" width="1" height="1" />-->

   


<SCRIPT LANGUAGE="JavaScript">
function SetNav(val){
   if (val != '0'){
      window.location = "/applications/category/category_slc.asp?" + val + "&";
   }
}

function SetSort(val){

   window.location = "/applications/category/category_slc.asp?Recs=&Nav=&Sort=" + val;
}

function SetRecs(val){
   window.location = "/applications/category/category_slc.asp?Sort=&Nav=&Recs=" + val;   
}

</SCRIPT><div class="leftMenuHeader"><div style="padding-top:3px; padding-left: 5px;"><span style="color:#d1d3d4;">::</span>&nbsp;All Categories</div></div><div class="categories"><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=431" class="sidenav_grey" title="AV Cards / Accessories Category link">AV Cards / Accessories</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1482" class="sidenav_grey" title="Cables Category link">Cables</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=666" class="sidenav_grey" title="CD R / RW, DVD R / RW, Tapes Category link">CD R / RW, DVD R / RW, Tapes</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2500" class="sidenav_grey" title="Clearance Category link">Clearance</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2273" class="sidenav_grey" title="Communications / Telecoms Category link">Communications / Telecoms</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1" class="sidenav_grey" title="Computer Accessories Category link">Computer Accessories</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=220" class="sidenav_grey" title="Computer Components Category link">Computer Components</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=781" class="sidenav_grey" title="Computer Memory Category link">Computer Memory</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=7" class="sidenav_grey" title="Cooling Category link">Cooling</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2189" class="sidenav_grey" title="Datacoms Category link">Datacoms</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=54" class="sidenav_grey" title="Desktop PCs Category link">Desktop PCs</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=55" class="sidenav_grey" title="Digital Cameras & Camcorders Category link">Digital Cameras & Camcorders</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=292" class="sidenav_grey" title="Extended Warranties Category link">Extended Warranties</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=357" class="sidenav_grey" title="Flash Memory Category link">Flash Memory</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2495" class="sidenav_grey" title="Gaming Category link">Gaming</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2266" class="sidenav_grey" title="Hard Drives Category link">Hard Drives</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=84" class="sidenav_grey" title="Home Entertainment Category link">Home Entertainment</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2487" class="sidenav_grey" title="In-Car Category link">In-Car</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=462" class="sidenav_grey" title="Interactive Whiteboards Category link">Interactive Whiteboards</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=998" class="sidenav_grey" title="iPods & MP3 Players Category link">iPods & MP3 Players</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=482" class="sidenav_grey" title="Keyboard / Mice / Input Category link">Keyboard / Mice / Input</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=531" class="sidenav_grey" title="KVM Switches Category link">KVM Switches</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=602" class="sidenav_grey" title="Laptops / Notebooks Category link">Laptops / Notebooks</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2746" class="sidenav_grey" title="LCD & Plasma Commercial Displays Category link">LCD & Plasma Commercial Displays</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1363" class="sidenav_grey" title="Mobile Phones & PDAs Category link">Mobile Phones & PDAs</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=2945" class="sidenav_grey" title="Motherboards & Processors Category link">Motherboards & Processors</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=3299" class="sidenav_grey" title="Netbooks Category link">Netbooks</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1016" class="sidenav_grey" title="Networking Category link">Networking</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1265" class="sidenav_grey" title="Office Fax Machines Category link">Office Fax Machines</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=334" class="sidenav_grey" title="Office Supplies Category link">Office Supplies</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1873" class="sidenav_grey" title="Open Box Stock Category link">Open Box Stock</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1328" class="sidenav_grey" title="Optical Drives Category link">Optical Drives</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=6" class="sidenav_grey" title="PC Cases & Accessories Category link">PC Cases & Accessories</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1404" class="sidenav_grey" title="Power & Surge Protection Category link">Power & Surge Protection</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1175" class="sidenav_grey" title="Printers Category link">Printers</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1176" class="sidenav_grey" title="Projectors Category link">Projectors</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=3607" class="sidenav_grey" title="Refurbished Electronics Category link">Refurbished Electronics</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=700" class="sidenav_grey" title="Scanners Category link">Scanners</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=668" class="sidenav_grey" title="Security Products Category link">Security Products</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=633" class="sidenav_grey" title="Servers Category link">Servers</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=408" class="sidenav_grey" title="Software & licensing Category link">Software & licensing</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=750" class="sidenav_grey" title="Storage & Backup Category link">Storage & Backup</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=1382" class="sidenav_grey" title="Televisions Category link">Televisions</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=829" class="sidenav_grey" title="TFT / LCD Monitors Category link">TFT / LCD Monitors</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=306" class="sidenav_grey" title="USB Keys Category link">USB Keys</a></div><div class="catItem"><a href="/applications/category/category_tlc.asp?CatId=279" class="sidenav_grey" title="Wireless Networking Category link">Wireless Networking</a></div></div>

                        		
                        <div class="categories">
                            <div class="catItem"><a href="/content/glossary/index.asp" class="sidenav_grey" title="View A-Z products section">A-Z products</a></div>
                            <div class="catItem"><a href="/content/affiliate/chisdaffiliate.asp" class="sidenav_grey" title="View Affiliate Program section">Affiliate Program</a></div>
                            <div class="catItem"><a href="/go/av" class="sidenav_grey" title="View Audio Visual section">Audio Visual</a></div>
                            <div class="catItem"><a href="/go/finance/buynowpaylater " class="sidenav_grey" title="View Buy Now, Pay Later section">Buy Now, Pay Later</a></div>
                            <!--<div class="catItem"><a href="/content/cashback/index.asp" class="sidenav_grey" title="Click here to view Cashback Centre">Cashback Centre</a></div>-->
                            
                            <div class="catItem"><a href="/applications/cashback/index.asp" class="sidenav_grey" title="View Cashback Centre section">Cashback Centre</a></div>

                            <!--div class="catItem"><a href="/content/promos/ittraining/default.asp?sourceid=2270" class="sidenav_grey" title="View Computer Learning Centre section">Computer Learning Centre</a></div-->
                            <div class="catItem"><a href="/applications/configurators/configurators.asp" class="sidenav_grey" title="View Configurators section">Configurators</a></div>
                            <div class="catItem"><div style="width:110px;"><img align='right' alt='RSS feed icon' src='http://img3.chisd.co.uk/images/rss/icon_rss.gif' /><a class="sidenav_grey" title="View RSS Deal Alerts section" href='/content/help/rssfeeds.asp' >Deal Alerts via</a></div></div>
                            <div class="catItem"><a href="/newsletter/deals.asp" class="sidenav_grey" title="View eDeal archive section">eDeal archive</a></div>
                            <div class="catItem"><a href="/content/promos/jargonbuster/default.asp" class="sidenav_grey" title="View the Jargon Buster section">Jargon Buster</a></div>
                            <div class="catItem"><a href="/microsites/esp/" class="sidenav_grey" title="View chisd Enterprise Solutions section">chisd Enterprise Solutions</a></div>

                            <div class="catItem"><a href="/go/scotland" class="sidenav_grey" title="View chisd Scotland section">chisd Scotland</a></div>
                            <div class="catItem"><a href="/content/onlineguides/guides.asp" class="sidenav_grey" title="View chisd's Specialist Stores">chisd's Specialist Stores</a></div>
                            <div class="catItem"><a href="/content/podcast/index.htm" class="sidenav_grey" title="View chisd Video Podcast">chisd Video Podcast</a></div>
							<div class="catItem"><a href="/content/accreditation/index.htm" class="sidenav_grey" title="View Partner Accreditations section">Partner Accreditations</a></div>
							<div class="catItem"><a href="/content/services/specialists/premier.asp" class="sidenav_grey" title="View Premier Accounts section">Premier Accounts</a></div>
                            <div class="catItem"><a href="/microsites/press/" class="sidenav_grey" title="View Press Centre section" target="_blank">Press Centre</a></div>

                            <div class="catItem"><a href="/microsites/publicsector/" class="sidenav_grey" title="View Public Sector section">Public Sector</a></div>
                            <div class="catItem"><a href="http://www.chisd.co.uk/content/videoclips/index.htm" class="sidenav_grey" title="View the Video Zone section">Video Zone</a></div>
                            <div class="catItem"><a href="/content/accreditations/index.htm" class="sidenav_grey" title="View Website Accreditations">Website Accreditations</a></div>
                            <div class="catItem"><a href="/content/help/weeepolicy.asp" class="sidenav_grey" title="View the WEEE directive section">WEEE Directive</a></div>
                        </div>
                        
                        <!--div class="categories"><a href="/microsites/vodafone/"><img src="http://img.chisd.co.uk/images/misc/hdr_vodafone.gif" width="143" height="30" alt="Vodafone" border="0"/></a>
                        </div-->

                        <div class="categories"><a href="/microsites/apple/default.aspx?sourceid=2957"><img src="http://img1.chisd.co.uk/images/misc/apple_143x30.gif" width="143" height="30" alt="The latest Apple products" border="0"/></a>
                            <div class="catItem"><a href="/microsites/apple/content/accessories.aspx?sourceid=2957" class="sidenav_grey" title="View Apple Accessories section">Apple Accessories</a></div>
                            <div class="catItem"><a href="/microsites/apple/content/ipods.aspx?sourceid=2957" class="sidenav_grey" title="View Apple iPods section">Apple iPods</a></div>
                            <div class="catItem"><a href="/microsites/apple/content/desktops.aspx?sourceid=2957" class="sidenav_grey" title="View Apple Mac Desktops section">Apple Mac Desktops</a></div>
                            <div class="catItem"><a href="/microsites/apple/content/portables.aspx?sourceid=2957" class="sidenav_grey" title="View Apple Mac Notebooks section">Apple Mac Notebooks</a></div>
                            <div class="catItem"><a href="/microsites/apple/content/software.aspx?sourceid=2957" class="sidenav_grey" title="View Apple Software section">Apple Software</a></div>

                        </div>
	                        <!--<a href="/newsletter/details.asp?sourceid=2098"><img src="http://img3.chisd.co.uk/images/sitebanners/subwin_november_135x50.gif" width="135" height="50" alt="Sign up to chisd prize draw and a chance of winning the chisd Christmas giveaway" border="0"></a>-->

 <a href="/newsletter/details.asp?sourceid=2098"><img src="http://img3.chisd.co.uk/images/sitebanners/subwin_January_135x50.gif" width="135" height="50" alt="Sign up to chisd prize draw and a chance of winning a Sharp 32&quot; LCD TV and 4GB iPod shuffle" border="0"></a><br>

<img src="http://img3.chisd.co.uk/images/spacer.gif" width="1" height="3" alt="" />




    </td>
    <td width="5" rowspan="2"><img src="http://img2.chisd.co.uk/images/misc/pixel-clr.gif" alt="" width="5" height="1"></td>

    <!-- Side navigation ends-->
    <td rowspan="2" valign="top"> 
    <div id="dhtmltooltip"></div>

<script type="text/javascript">

/***********************************************
* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip

</script>
<style type="text/css">
h1 {
   font-size: 12px;
   color: #015EBA;
   font-weight: bold;
   margin: 0px;
}
</style>

<script type='text/javascript' src='/include/video/swfobject.js'></script> 

<script src="/javascript/b2b.js"></script>


<script Language="Javascript">
//Reviews [PL] moved from Listreview.asp 28-09-07
function postReview(){
   var url = "/applications/reviews/reviews.asp?EdpNo=246506&desc=Allied Telesis Wireless ADSL 2 x WAN port Multi-port Router";
   window.open(url,'displayWindow','menubar=no,scrollbars=yes,status=yes,width=617,height=550');
}
</script>

<script language="JavaScript">
//[sp] comment out these since not used anywhere...

//Coding for the branded popup windows
var win = "";
//var brand_tag = '<a href="http://www.chisd.co.uk/" target="_new">';
//
//var img_tag = 'http://images.tigerdirect.com/masthead/hdr-tiger.gif';
//
//brand_tag = brand_tag + '<img src="' + img_tag + '" border="0"></a>';

function TG_openBRWindow(theURL,winName,features){
   //win = window.open(theURL,winName,"toolbar=no,menubar=no,scrollbars=no,width=500,height=575");
   win = window.open(theURL,winName,features);
   setTimeout("getContent()", 100);
}

function getContent(){

   var html = "";
   if ( !win.closed ){
        win.document.body.innerHTML = brand_tag + win.document.body.innerHTML;
        }
   else {
     setTimeout("getContent()", 100); }
}
</script>

<script>

function validate1()
{

if (document.survey.customer_email.value =='')
    {
    alert ('Please enter your email address');
    
    document.survey.customer_email.focus();
    return false;
    }
else
{
    if (echeck (document.survey.customer_email.value))
        return true;
    else
        return false;
}
}

function echeck(str) {

		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
		   alert("Please Enter a Valid E-mail Address")
		   return false
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   alert("Please Enter a Valid E-mail Address")
		   return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    alert("Please Enter a Valid E-mail Address")
		    return false
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    alert("Please Enter a Valid E-mail Address")
		    return false
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    alert("Please Enter a Valid E-mail Address")
		    return false
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    alert("Please Enter a Valid E-mail Address")
		    return false
		 }
		
		 if (str.indexOf(" ")!=-1){
		    alert("Please Enter a Valid E-mail Address")
		    return false
		 }

 		 return true					
	}



function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/*function validateForm( frm ) {
   for(var i=0; i < frm.elements.length; i++){
      if (frm.elements[i].name == "Qty" ) {
        var charpos = frm.elements[i].value.search("[^0-9]"); 
        if(frm.elements[i].value.length > 0 &&  charpos >= 0) 
        { 
          var strError = frm.elements[i].name+": Only digits allowed "; 
          alert(strError + "\n [Error character position " + eval(charpos+1)+"]"); 
          frm.elements[i].focus();
          frm.elements[i].select();
          return false; 
        }
      }
   }
   return true;
}
function SetWarranty( warrEdpNo, EdpNo, unSet) {
   if( unSet) {
      document.getElementById("warrEdpNo").value = 0;
      document.getElementById("warrAssoc").value = 0;
   }
   else {
      document.getElementById("warrEdpNo").value = warrEdpNo;
      document.getElementById("warrAssoc").value = EdpNo;
   }
}
function SetWarrantyQty( unSet ) {
   if( document.getElementById("warrQty") ) {
      if( unSet) document.getElementById("warrQty").value = 0;
      else       document.getElementById("warrQty").value = document.getElementById("mainQty").value;
   }
}
*/
function validateForm( frm ) {
   for(var i=0; i < frm.elements.length; i++){
      if (frm.elements[i].name == "Qty" ) {
        var charpos = frm.elements[i].value.search("[^0-9]");
        if (frm.elements[i].id =='warrQty')
            {frm.elements[i].value=document.getElementById("mainQty").value;}            
        //frm.elements[i].value = document.getElementById("warrQty").value;
        //alert(frm.elements[i].id + ':' + frm.elements[i].value + '-' + document.getElementById("mainQty").value);
        if(frm.elements[i].value.length > 0 &&  charpos >= 0) 
        { 
          var strError = frm.elements[i].name+": Only digits allowed "; 
          alert(strError + "\n [Error character position " + eval(charpos+1)+"]"); 
          frm.elements[i].focus();
          frm.elements[i].select();
          return false; 
        }
      }
   }
   return true;
}
 
function SetWarranty( warrEdpNo, EdpNo, unSet) {
   if( unSet) {
      document.getElementById("warrEdpNo").value = 0;
      document.getElementById("warrAssoc").value = 0;
   }
   else {
      document.getElementById("warrEdpNo").value = warrEdpNo;
      document.getElementById("warrAssoc").value = EdpNo;      
   }
}
function SetWarrantyQty( unSet ) {
   if( document.getElementById("warrQty") ) {
      if( unSet) {document.getElementById("warrQty").value = 0;}
      else { document.getElementById("warrQty").value = document.getElementById("mainQty").value;      
      }
   }
}
 





function UpdateMode(mode){
   document.getElementById('AddDelProd').value=mode;
   document.b2b.submit();     
}
//-->
</script>

 
            <b><a href='../Category/category_tlc.asp?CatId=1016' class='idBreadCrumb mainframe'>Networking</a>&nbsp;<img src='http://img2.chisd.co.uk/images/itemdetails/gray1_arrow.gif' width='10' height='10' >&nbsp;<a href='../Category/category_slc.asp?Nav=|c:1016||c:1237|' class='idBreadCrumb mainframe'>Wireless Networking</a>&nbsp;<img src='http://img3.chisd.co.uk/images/itemdetails/gray1_arrow.gif' width='10' height='10' >&nbsp;<a href='../Category/category_slc.asp?Nav=|c:1016||c:1237||c:1261|' class='idBreadCrumb mainframe'>Wireless Routers</a>&nbsp;<img src='http://img3.chisd.co.uk/images/itemdetails/gray1_arrow.gif' width='10' height='10' >&nbsp;<a href='../Category/category_slc.asp?Nav=|c:1016||c:1237||c:1261||c:3059|' class='idBreadCrumb mainframe'>ADSL Routers</a>
<!--<br>-->
 </b>

         

            <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr >
                <td>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                        <td width="8"><img src="http://img2.chisd.co.uk/images/itemdetails/det_toplft1.gif" width="8" height="7" alt=""></td>
                        <td background="http://img2.chisd.co.uk/images/itemdetails/det_top.gif"><img src="http://img.chisd.co.uk/images/misc/pixel-clr.gif" width="1" height="7" alt=""></td>
                        <td width="8"><img src="http://img.chisd.co.uk/images/itemdetails/det_toprght1.gif" width="8" height="7" alt=""></td>
                    </tr>

                    </table>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" background="http://img3.chisd.co.uk/images/itemdetails/det_mid.gif" height="20">
                    <tr>
                        <td width="8" background="http://img.chisd.co.uk/images/itemdetails/det_midlft.gif"><img src="http://img.chisd.co.uk/images/misc/pixel-clr.gif" width="8" height="1" alt=""></td> 
                        <td align="left">
                            <h1>Allied Telesis Wireless ADSL 2 x WAN port Multi-port Router</h1>
                        </td>
                        
                        <td width="8" background="http://img1.chisd.co.uk/images/itemdetails/det_midrght.gif"><img src="http://img3.chisd.co.uk/images/misc/pixel-clr.gif" width="8" height="1" alt=""></td> 
                    </tr>

                    </table>
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr> 
                        <td width="8"><img src="http://img.chisd.co.uk/images/itemdetails/det_btmlft1.gif" width="8" height="12" alt=""></td>
                        <td background="http://img1.chisd.co.uk/images/itemdetails/det_btm.gif"><img src="http://img3.chisd.co.uk/images/misc/pixel-clr.gif" width="1" height="12" alt=""></td>
                        <td width="385"><img src="http://img1.chisd.co.uk/images/itemdetails/det_btmrght3.gif" width="395" height="12" alt=""></td>
                    </tr>
                    </table> 

                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr> 
                        <td nowrap align="left">

                            
                                <a href="javascript:MM_openBrWindow('http://img.chisd.co.uk/images/uploadedimages/large/246506.jpg','LargeImage','scrollbars=no,width=350,height=350')" class="details"> 
                                <img src="/images/itemdetails/icon-enlarge.gif" border="0" alt="" align="absmiddle" hspace="0"></a>
                                <!--<img src="http://img.chisd.co.uk/images/misc/pixel-clr.gif" width="2" height="1" alt="">-->
                            
                                <a href="/applications/email/emailafriend.asp"> <img src="/images/itemdetails/icon-email.gif"  border="0" alt="" align="absmiddle" hspace="6"></a><a href='http://www.chisd.co.uk/applications/SearchTools/item-details-print.asp?EdpNo=246506&Sku=104914'><img src="/images/itemdetails/icon-print.gif" border="0" align="absmiddle" hspace="4" alt=""></a> 
                            
                        </td>
                        <td width="44" align="right" valign="top"><img src="http://img3.chisd.co.uk/images/itemdetails/itemtitle_yellowleft.gif" width="44" height="24" alt=""></td>
                        <td width="340" valign="middle" style="background-image: url('

too daunting guys?

not yet looked into HTML of the title and specification, but I don't find anything wrong with the price's node with the class name as 'details-subprice'.
Just try to change the double quotes to the single quotes for the class name as -

$xpath->query('//div[@class='details-subprice']')

i tried but get Parse error: syntax error, unexpected T_STRING in on line 90.

i tried but get Parse error: syntax error, unexpected T_STRING in on line 90.

$xpath->query('//div[@class=\'details-subprice\']')
$xpath->query('//div[@class=\'details-subprice\']')

Good catch..!!

I think the $prod_spec_nodes got wrong after

//html/body/table/tbody/tr/td/table[2]/tbody/tr/td[3]/div[2]/table/tbody/tr/td[2]

this, because the table inside this <TD> only has single <TR> and 'tr[2]' can not be found.
Check if its the below <TD> i meant and the td[2] from your xpath expression as below -

<td valign="top" align="left">

      
<!-- Xpath here //html/body/table/tbody/tr/td/table[2]/tbody/tr/td[3]/div[2]/table/tbody/tr/td[2] Compare this deal begin -->

<!-- Compare this deal end -->
      
      <br /><span style="text-align: left"></span>
        <!-- Begin I2 HTML content -->
      <div class="i2htmlcontent"><span style="text-align: left">
<div class="subheader" style="margin-bottom:10px;margin-top:20px;">
Allied Telesyn AT-AR750S - VPN router
 
</div><br>
<span class="normal">
The AT-AR750S has been designed with the needs of small to medium enterprises/businesses (SME/SMB) or branch office businesses in mind. The AT-AR750S offers significant advances in processing performance, Quality of Service, routing, remote connectivity, and security.
<br><br>
The AT-AR750S provides extensive IPSec-based VPN capability, allowing the interconnection of offices, remote tele-workers, and other users who require secure access to a corporate network. The AT-AR750S comes complete with integrated hardware acceleration to maximize encryption throughput and removing the need to purchase a hardware upgrade package. The AT-AR750S is compatible with industry standard IPSec VPN clients.


<br><br>
In addition to hardware-based encryption, the AT-AR750S comes with other advanced security features, such as traffic filtering with event logging. Traffic filtering uses the source and destination address, port, protocol and TCP packet type to provide control over traffic that passes through the AT-AR750S. A Stateful Inspection firewall provides an increased level of security and compliments the packet filtering function. HTTP and SMTP proxies on the AT-AR750S provide improved control over web and mail communications.
<br><br>
Allied Telesyn's QoS implementation enables the AT-AR750S to dynamically identify high priority voice, video and application traffic, so that appropriate service levels can be maintained in congested networks. Advanced QoS allows voice, video, and data traffic to have QoS applied within individual IPSec tunnels, over GRE, as well as IPv6 to IPv4 tunnels.
<br><br>
The AT-AR750S provides superior performance over other secure VPN routers in this market space. While most secure routers have stateful firewalls with NAT, QoS, and IPsec VPN termination capability, very few can perform all three functions and still fill the WAN with the small sized packets that occur in real networks. The AT-AR750S has been designed to meet real network needs.
<br><br>
The AT-AR750S comes with a comprehensive suite of management features and is also compatible with SNMP-based management packages. An extensive command set is available via the Command Line Interface (CLI), and a browser-based Graphical User Interface (GUI) is also provided to simplify the AT-AR750S' configuration and management. The GUI provides access to default set-ups in key management areas and provides access to regional settings. Allied Telesyn's SNMP support extends to SNMPv3 to provide secure management.


</span>


<div class="subheader" style="clear:both;margin-bottom:10px;margin-top:20px;">
Main Specifications
</div>

<div class="normal">
	<table cellspacing="0" cellpadding="4" border="0" width="100%" class="table5pxPadLightGreyBottomBorder">

		<tr>
			<td width="250"><b>Product Description</b></td>
			<td>Allied Telesyn AT-AR750S - VPN router</td>
		</tr>
		<tr>
			<td><b>Device Type</b></td>
			<td>Router + 5-port switch (integrated)</td>

		<tr>
		
		<tr>
			<td><b>Form Factor</b></td>
			<td>External</td>
		<tr>
			<td><b>RAM</b></td>
			<td>64 MB</td>

			
			<tr>
			<td><b>Flash Memory</b></td>
			<td>16 MB</td>
			
		<tr>
		
			<td><b>Data Link Protocol</b></td>
			<td>Ethernet, Fast Ethernet</td>
		</tr>

		
		<tr>
			<td><b>Dimensions (WxDxH)</b></td>
			<td>30 cm x 19 cm x 4.3 cm</td>
		</tr>
		<tr>
			<td><b>Weight</b></td>
			<td>1.9 kg</td>

		</tr>
		<tr>
			<td><b>Features</b></td>
			<td>Firewall protection, NAT support, VPN, IGMP snooping, manageable, IP address filtering</td>
		</tr>
		
		<tr>
			<td><b>Network / Transport Protocol</b></td>

			<td>AppleTalk, DECnet, UDP/IP, L2TP, VoIP, IP/IPX, IPSec</td>
		</tr>
		<tr>
			<td><b>Remote Management Protocol  </b></td>
			<td>SNMP 3, HTTP</td>
		</tr>
		<tr>

			<td><b>Digital Signaling Protocol </b></td>
			<td>ADSL2, ADSL2+ </td>
		</tr>
		<tr>
			<td><b>Processor</b></td>
			<td>533 MHz</td>
		</tr>

		<tr>
			<td><b>Warranty</b></td>
			<td>2 years</td>
		</tr>
	</table>
</div>


<br><br>
<div class="subheader">A Closer Look</div>

<div align="center" style="margin-bottom:20px;">
	<img alt="Allied Telesyn AT-AR750S - VPN router" src="http://www.systemaxdev.com/productmedia/htmlimages/cten/Networking/104914.jpg">
	</div></span></div>
        <!-- End I2 HTML content -->
   
     
		<span style="text-align: left"></span><br>

      <!-- /font -->

		   


         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>                                 
               <td><td>                        
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">

                     <tr>                              
                        <td width="60">                                 
                           
                       </td>
                     </tr>                                                                  
                  </table>
					</td>
            </tr>                                      
         </table>
         
<br /><br />
<a name="feedback"></a>
<div class="size16" style="border: 1px solid rgb(169, 169, 169); padding: 5px; color: rgb(109, 109, 109); background-color: rgb(239, 239, 239);"><b>Any questions or need more product information?</b></div><br>

    <span class="size13">
If you have any questions about this product or have any feedback about
this page please complete the form below and one of our Technical
agents will get back to you as soon as possible.<br><br>
    	Alternatively if you need an immediate answer you can telephone our Technical Support agents for <strong>free</strong> on 0800 294 4516.<br><br>
    	Please see our <a href="http://www.chisd.co.uk/content/help/contactus.asp" class="infobutton">contact us section</a> for opening times or if you require customer service assistance.<br>
    </span><br>

    <input name="Page Feedback_multiple_answers" value="one" type="hidden">
    <div style="margin-left: 10px;">

<form name="survey" action="item-details.asp?edpno=246506&IsFeedBack=true#feedback" onsubmit ="return validate1();" method="POST">
    <input type="hidden" name="Desc" id="Desc" value="Allied Telesis Wireless ADSL 2 x WAN port Multi-port Router" />
    <input id="refno" type="hidden" name="refno" value="53736">
    <input name="Page Feedback_multiple_answers" value="one" type="hidden">
    <span class="size11">
				Please select the reason for contacting us*:<br>

        <select id="feedbackOpt" tabindex="1" name="feedbackOpt">
        <option value="1" checked="checked">I have a question or need more information about this product</option>
        <option value="2">The information above is incorrect or conflicting</option>
        <option value="3">This page has misspellings and/or bad grammar</option>
        <option value="4">This page did not load correctly on my browser or generated an error</option>
        <option value="5">The cashback information is incorrect</option>

        </select>
    </span><br><br>
    <span class="size11">Please enter details of the information you require or provide an example of any missing or incorrect information*.<br>
        <span class="size13">
            <textarea id="feedbackText" tabindex="2" name="feedbackText" cols="50" rows="3" wrap="soft" class="blueBorder"></textarea><br />
            <br>
        </span> 
    </span>

    <span class="size11 b" >* mandatory field</span>
    <span class="size11 b" style="color: #e90236;"></span><br><br />
    <div>
        <img id="theImg" src="/Images/JpegImage.aspx?code=53736" align="left" style="margin-right: 20px;">
        <div style="float: left; clear: left;">
            <span class="size11"><a href="#feedback" onClick="MM_openBrWindow('/content/help/helpCaptcha.asp','help','scrollbars=yes,width=540,height=250')">More Info</a></span>
        </div>
        <div>

            <span class="size11">* Enter the code shown:</span><br />
            <input tabindex="3" id="CodeNumberTextBox" name="CodeNumberTextBox" class="blueBorder" />
        </div>
    </div>
    <input type="hidden" name="sku_freetext" value="104914">
    <input type="hidden" name="page_url" value="http://www.chisd.co.uk/applications/SearchTools/item-details.asp?EdpNo=246506&CatId=0" />   
    <div style="clear: both;"><br />
        <span class="size11">* Email Address:</span><br>

        <input id="customer_email" tabindex="4" name="customer_email" size="50" maxlength="100" class="blueBorder" value="">&nbsp; 
        <input type="image" style="border: 0px; vertical-align: middle;" title="Submit" alt="Submit" src="http://img3.chisd.co.uk/images/common/btn_submitsmall.gif"  name="button_save_changes"   >
    </div>
</form>
</div>
<br><img src='http://img3.chisd.co.uk/images/itemdetails/gfx_whatuknow.gif' width='457' height='33' vspace='2'><br><div class="contentBlock">	<a href="javascript<b></b>:miniHelp('http://www.chisd.co.uk/content/module/networking/what-is-RouterHubSwitch.htm','routerhubswitch',482,575)"><b>What is a Router/Hub/Switch?</b></a>	<br>Routers, hubs and switches are the hardware that form the basis of computer networks.  Find out what each of these do to connect computers together, and what you need for your own home or business network.</div><div class=normal style="PADDING-TOP: 10px"><a href="javascript<b></b>:miniHelp('http://www.chisd.co.uk/content/module/Networking/WirelessDe-Mystified.htm','WirelessDeM',482,575)"><img style="FLOAT: left;border:0;" alt="Guide To Flash Media Cards" src="http://www.systemaxdev.com/productmedia/htmlimages/cten/contentmodules/Wireless Networking Guide Logo.jpg"></a><div style="PADDING-LEFT: 115px"><a href="javascript<b></b>:miniHelp('http://www.chisd.co.uk/content/module/Networking/WirelessDe-Mystified.htm','WirelessDeM',482,575)"><b>Wireless De-Mystified. What You Need To Know.</b></a><br>Wireless is the hottest technology in the business right now, but setting up and properly configuring (and protecting) your wireless network can be confusing. Here's a simplified, step-by-step approach, compiled by our editors.</div></div><div style="CLEAR: both; PADDING-BOTTOM: 10px; BORDER-BOTTOM: #d1d3d4 1px solid"></div>
         <br>                                 
         <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#FFF8C6">                                          
            <tr>                     
               <td width="50%" valign="top">

<font face='Verdana, Helvetica, sans-serif' size='1'>Manufactured by: <b>Allied Telesis</b><br>Mfg Part No: <b>AT-AR750S</b><br>UPC No: <b>Not Available</b><br>Shipping Weight: <b>1.9 Kg</b><br></font>
              <!-- <p style="font-family: verdana; font-size: 10px;"><img src="http://img3.chisd.co.uk/images/itemDetails/icon-manual.gif" width="18" height="18">Do you have a manual, brochure or other relevant materials that you'd like to share with us and other users? -->


<!--<a href="#" onClick="MM_openBrWindow('http://www.tigeruploads.com/index.php?edp=246506&wid=td','TigerUploads','width=415,height=340')" class="lnk">Click here</a>-->

<!--<a href="#" onClick="MM_openBrWindow('http://www.tigeruploads.com/index.php?edp=246506&wid=td','TigerUploads','width=415,height=340')" class="lnk">Click here</a>-->

<!--<a href="#" onClick="MM_openBrWindow('http://www.tigeruploads.com/index.php?edp=246506&wid=dk','TigerUploads','width=415,height=340')" class="lnk">Click here</a>-->

<!--<a href="#" onClick="MM_openBrWindow('http://www.tigeruploads.com/index.php?edp=246506&wid=gb','TigerUploads','width=415,height=340')" class="lnk">Click here</a>-->
					
					
					<!-- to upload it to us.</p>-->
					</td>
					<td valign="top"><!--
					[sp] uncomment out when address of where to send is got from kerry and add adress to...
					
					<font face="verdana, Helvetica, sans-serif" size="1">
					<b>Manufacturer Warranty: </b>A full 
					text version of the manufacturer's warranty may be obtained 
               by mailing a self addressed, stamped envelope to the address below 
               and requesting the warranty for item number: <b>104914</b><br>
                  </font>-->
                  
                  
                  <p>                           
                     
					<!--	<font size="1"><strong><font face="Verdana, Helvetica, sans-serif">TigerDirect.ca<br>
						<em>Warranty Information</em></font></strong>
						<font face="Verdana, Helvetica, sans-serif"><br>
						8401 Woodbine Ave.<br>
						Markham, Ontario<br>
						Canada, L3R 2P4<br></font></font>-->
                     
						<!--<font size="1">
						<strong><font face="Verdana, Helvetica, sans-serif">TigerDirect.com<br>
						<em>Warranty Information</em></font></strong>
						<font face="Verdana, Helvetica, sans-serif"><br>
						7795 W. Flagler St. Suite 35<br>
						Miami, FL. 33144<br></font></font>-->
                     
		</p>

		</td>
            </tr>
         </table>
		      
      </td>
      <td width="160" valign="top">
      



   
        <table width="100%" border="0" cellspacing="0" cellpadding="1">
            <tr> 
                <td width="9"><img src="http://img2.chisd.co.uk/images/misc/pixel-clr.gif" width="9" height="1" alt=""></td>
                 
            </tr>

        </table>




        <table width="100%" border="0" cellspacing="0" cellpadding="1">
            <tr> 
                <td width="9"><img src="http://img3.chisd.co.uk/images/misc/pixel-clr.gif" width="9" height="1" alt=""></td>
                  
                <td>
                    <table width="100" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="navHDR" style="background-image: url(/images/layout/tabBg.gif); color: White;" height="22" align="center">May We Recommend</td>

                    </tr>                     
                    <tr> 
                      <td background="http://img1.chisd.co.uk/images/itemdetails/mayrecommend_bg.gif">                    
                     
                        <!-- repeat cell -->
                         <form method="post" name="upsell_274476" action="/cgi-bin/order.asp">
                             <table width="100%" height="173" border="0" cellpadding="5" cellspacing="0">
                                 <tr> 
                                   <td align="center">
                                     <input type="hidden" name="EdpNo" value="274476">
                                     <input type="hidden" name="clicksource" value="ITU">
                                   </td>

                                 </tr>
                                 <tr> 
                                   <td align="center"><a href="/applications/SearchTools/item-details.asp?EdpNo=274476" >
                                     <img src="http://img.chisd.co.uk/images/uploadedimages/small/20070412115135.gif" width="87" height="87" border="0" title="Add chisd @ Home Install Wireless Router installation to Basket" alt="More Info on chisd @ Home Install Wireless Router installation" onError="this.src='http://img2.chisd.co.uk/images/SearchTools/no_image-sm.jpg'"></a>
                                   </td>
                                 </tr>
                                 <tr> 
                                   <td align="center" class="textblacksm" style="padding-left: 2px; padding-right: 2px;">chisd @ Home Install Wireless Router installation</td>
                                 </tr>

                                 <tr> 
                                   <td height="20" align="center"><span class='prodPriceMain b'>£54.04 ex VAT</span><br><span class='prodPriceSecondary'>£63.50 inc VAT</span>
                                     <br><span class="size12">Order Qty&nbsp;</span><input name="Qty" type="text" value="0" size="2" maxlength="3" id="q_274476" class="blueBorder">
                                     <div id="VisBasketItem274476" name="VisBasketItem274476" CurrQTY="0"></div>
                                     <br />
                                     </td>
                                     
                                 </tr>
                                 <tr> 
                                   <td align="center">

                                   
                                            <a href="javascript<b></b>:void(0);" onclick="UPsellsBuyNow('274476');" class="buy">
                                            <img src="http://img3.chisd.co.uk/images/main/buynow_md.gif" border="0" />
                                            </a>
                                    
                                   </td>
                                 </tr>
                               </table>
                           </form>
									
                           <!-- repeat cell -->
                        
                        </td>

                    </tr>                      
                    <tr> 
                      <td><img src="http://img.chisd.co.uk/images/itemdetails/mayrecommend_bottom1.gif" width="151" height="9" alt=""></td>
                    </tr>
                   </table>
                   <!-- Upsells End-->

					  <img src="http://img2.chisd.co.uk/images/misc/pixel-clr.gif" height="5" width="1" alt=""><br>
					  <div align="right" class="font_size2">
	<!-- [sp] email to friend already present in item-detail page   <a href="/applications/email/emailafriend.asp?price=<span class='prodPriceMain b'>£589.99 ex VAT</span><br><span class='prodPriceSecondary'>£63.50 inc VAT</span>&desc=Allied Telesis Wireless ADSL 2 x WAN port Multi-port Router">Email This Page<img src="http://img1.chisd.co.uk/images/itemdetails/gfx-email.gif" align="absmiddle" border="0" hspace="4" vspace="4"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>-->

               
               
          
       
                     </td>
                   </tr>
                 </table>
               </td>
            </tr>
         </table>
 
</div>
      <br>

  
     </td>

thank you for the replies guys, let me try these and i'll come back to you.

thanks for taking time out to help.

okay so the backslashes didn't make any difference. still trying different things.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.