function getBrowserStats()
{
  if (document.all)
   { var txTypebrowser = "recognises.all"; }
	else if (document.layers)  
   { var txTypebrowser = "recognises.layers"; }
  else
   { var txTypebrowser = "other"; }
	 
  amScreenWidth = screen.width
  amScreenHeight = screen.height
	 
  if (screen.pixelDepth)
    { amScreenDepthColour = screen.pixelDepth }
	else
    { amScreenDepthColour = screen.colorDepth }
	
  if (window.innerWidth)
	  amWindowWidth = window.innerWidth
	else if (document.body.offsetWidth)
	  amWindowWidth = document.body.offsetWidth

  if (window.innerHeight)
	  amWindowHeight = window.innerHeight
	else if (document.body.offsetHeight)
	  amWindowHeight = document.body.offsetHeight

  txReferer = document.referrer	  

  document.writeln ('<div><img src="/stat/stats.gif?txTypebrowser='+txTypebrowser+'&amp;amScreenWidth='+amScreenWidth+'&amp;amScreenHeight='+amScreenHeight+'&amp;amScreenDepthColour='+amScreenDepthColour+'&amp;txReferer='+txReferer+'&amp;amWindowWidth='+amWindowWidth+'&amp;amWindowHeight='+amWindowHeight+'" width="1" height="1" alt=""></div>')
	
}