function googletoolbar_override(color) {
	if(window.attachEvent)
		window.attachEvent("onload",setListeners(color));
}
  
function setListeners(color){
	inputList = document.getElementsByTagName("INPUT");
    	for(i=0;i<inputList.length;i++){
      	//	inputList[i].attachEvent("onpropertychange",restoreStyles(color,inputList[i]));
      	//inputList[i].addEventListener("onpropertychange",restoreStyles(color,inputList[i]),false);
      	inputList[i].onpropertychange=restoreStyles(color,inputList[i]);
		//inputList[i].style.backgroundColor = "";
	}
	selectList = document.getElementsByTagName("SELECT");
	for(i=0;i<selectList.length;i++){
      	//	selectList[i].attachEvent("onpropertychange",restoreStyles(color,selectList[i]));
      	//    selectList[i].addEventListener("onpropertychange",restoreStyles(color,selectList[i]),false);
      	    selectList[i].onpropertychange=restoreStyles(color,selectList[i]);
      	//	selectList[i].style.backgroundColor = "";
    	}
}

function restoreStyles(color,elem){
	if(elem.style.backgroundColor != "" && elem.style.backgroundColor != "#a0d0ff"){
		elem.style.backgroundColor = color; /* color of choice for AutoFill */
      		//document.all['googleblurb'].style.display = "block";
   	}
}
