if(window.attachEvent)
  window.attachEvent("onload",setListeners);

function setListeners(){
  inputList = document.getElementsByTagName("INPUT");
  for(i=0;i<inputList.length;i++){
    inputList[i].attachEvent("onpropertychange",restoreStyles);
    inputList[i].style.backgroundColor = "#FFFFA0";
  }
	areaList = document.getElementsByTagName("TEXTAREA");
  for(i=0;i<areaList.length;i++){
    areaList[i].attachEvent("onpropertychange",restoreStyles);
    areaList[i].style.backgroundColor = "#FFFFA0";
  }
  selectList = document.getElementsByTagName("SELECT");
  for(i=0;i<selectList.length;i++){
    selectList[i].attachEvent("onpropertychange",restoreStyles);
    selectList[i].style.backgroundColor = "#FFFFA0";
  }
	label = document.getElementsByTagName("LABEL");
  for(i=0;i<label.length;i++){
    //label[i].attachEvent("onpropertychange",restoreStyles);
    label[i].style.color = "#000";
  }
}

function restoreStyles(){
 /* if(event.srcElement.style.backgroundColor != "" || event.srcElement.style.backgroundColor != "#FFFFA0"){
    event.srcElement.style.backgroundColor = "#FFFFA0";*/ /* color of choice for AutoFill */
    /*document.all['googleblurb'].style.display = "block";
  }*/
	event.srcElement.style.backgroundColor = "#FFFFA0";
}