
function ahah(url, target) {
  document.getElementById(target).innerHTML = ' Fetching data...';
  if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
  } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
  }
  if (req != undefined) {
    req.onreadystatechange = function() {ahahDone(url, target);};
	req.open("GET", url, true);
    req.send("");
  }
}  

function ahahDone(url, target) {
  if (req.readyState == 4) { // only if req is "loaded"
    if (req.status == 200) { // only if "OK"
      document.getElementById(target).innerHTML = req.responseText;
    } else {
      document.getElementById(target).innerHTML=" AHAH Error:\n"+ req.status + "\n" +req.statusText + "\n" + req.responseText;
    }
  }
}

function load(name, div) {
	ahah(name,div);
	return false;
}


document.write('<table width="970" height="225" style="height: 225px; overflow: hidden">');
document.write('<tr>');
document.write('<td width="249"><img src="images/link_01.jpg" border="0" width="249" height="25"></td>');
document.write('<td width="250"><img src="images/link_02.jpg" border="0" width="250" height="25"></td>');
document.write('<td width="248"><img src="images/link_03.jpg" border="0" width="248" height="25"></td>');
document.write('<td width="223"><img src="images/link_04.jpg" border="0" width="223" height="25"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="249"><img src="images/link_05.jpg" border="0" width="249" height="99"></td>');
document.write('<td width="250"><img src="images/link_06.jpg" border="0" width="250" height="99"></td>');
document.write('<td width="248"><img src="images/link_07.jpg" border="0" width="248" height="99"></td>');
document.write('<td width="223" background="#ffffff"><img src="images/link_08.jpg" border="0" width="223" height="51">');
document.write('<center><a href="https://secure.worldwidebookservices.co.uk" target="_new" title="Click here to access the WBS Track & Trace"><img src="images/login.png" border="0"></a></center></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="249" height="101" background="images/link_09.jpg" border="0" valign="top">');
document.write('<p class="homeBox">');
document.write('Using the tracking number given by your publisher / carrier ');
document.write('you can see if we have received your parcel here at our ');
document.write('warehouse. ');
document.write('<br>');
document.write('<a href="https://secure.worldwidebookservices.co.uk/consignment_search.asp" target="_new">Click Here</a>');
document.write('</p>');
document.write('</td>');
document.write('<td width="250" height="101" background="images/link_10.jpg" border="0" valign="top">');
document.write('<p class="homeBox">');
document.write('A unique and wide range of activities, see what we can do for you.');
document.write('<br>');
document.write('<a href="services.html">Click Here</a>');
document.write('</p>');
document.write('</td>');
document.write('<td width="248" height="101" background="images/link_11.jpg" border="0" valign="top">');
document.write('<p class="homeBox">');
document.write('Keep up to date with WBS latest new projects, schemes and all the current market information.');
document.write('<br>');
document.write('<a href="news.html">Click Here</a>');
document.write('<br>');
document.write('</p>');
document.write('</td>');
document.write('<td width="223" height="101" background="images/link_12.jpg" border="0" valign="top">');

document.write("<p class='homeBox'>");
document.write("we currently hold information on ");
document.write("<strong><font size='3'><span class='homeBox' id='recordcount'></span></font></strong>");

document.write(" consignments for our");
document.write(" customers in the WBS online system");
document.write("</p>");

document.write('</p>');
document.write('</tr>');
document.write('</table>');

load('config/track.php','recordcount');



document.write('<div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">');
document.write('var script = document.createElement("script");script.type="text/javascript";');
document.write('var src = "https://secure.worldwidebookservices.co.uk/livezilla/server.php?request=track&output=jcrpt&nse="+Math.random();'); 
document.write('setTimeout("script.src=src;document.getElementById(\'livezilla_tracking\').appendChild(script)",1);');
document.write('</script>');

