// JavaScript Document
var DHTML = (document.getElementById || document.all || document.layers);
function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function invi(flag,d)
{
var dh = d;
	if (!DHTML) return;
	var x = new getObj(dh);
	x.style.background = (flag) ? '#ffffff url(images/agguide_website_NEW_slic-11.png) no-repeat' : '#ffffff url(images/agguide_website_slic-11-h.png) no-repeat'
	x.style.color = (flag) ? '#FFFFFF' : '#EFEFEF'
}
