// this function finds the 'transTable' element in my HTML and replaces its background

function pngInit() 
{
  // is the browser competent with the DOM?
  if(document.getElementById) 
  {
    // is the browser capable of managing runtimeStyle?
    // (this would mean, basically, "hey, I'm IE")
    if(document.getElementById('transTable').runtimeStyle) 
	{
      // delete current background
      	document.getElementById('transTable').style.backgroundImage = 'none';
		document.getElementById('transTable').style.backgroundColor = '#eeeeee';
		document.getElementById('transTable').style.filter = "alpha(opacity=75)";
//		Removed until it works properly!
//      document.getElementById('transTable').style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/whitebg.png',sizingMethod='scale')";
	}
  }
}

