// this function finds the 'contenttrans' element in my HTML and replaces its background
/*
	thanks to http://www.clubbedtodeath.net/ for this javacript!
*/

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('contenttrans').runtimeStyle) 
	{
      // delete current background
      		document.getElementById('contenttrans').style.backgroundImage = 'none';
		document.getElementById('contenttrans').style.backgroundColor = '#ffffff';
		document.getElementById('contenttrans').style.filter = "alpha(opacity=80)";
// Removed until it works properly!
//      document.getElementById('contenttrans').style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='whitebg.png',sizingMethod='scale')";
	}
  }
}


