<!-- Paste this code into an external JavaScript file named: outsmartGoogleToolbar.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Jon Jensen :: http://code.jenseng.com/google/
 */

 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 != "#a0d0ff"){
   event.srcElement.style.backgroundColor = "#a0d0ff"; /* color of choice for AutoFill */
   document.all['googleblurb'].style.display = "block";
 }
}