/*
On a form, certain textfields inexplicably turn yellow when viewed in
Internet Explorer. This is caused by having the Google Toolbar installed
and the AutoFill option enabled. AutoFill allows Google to remember
your personal information so that it can automatically populate form fields
for you, if you desire. Fields such as name, address and phone will all
turn yellow if AutoFill is turned on (which is the default setting). 
*/
  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 = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }

