function resetStyles(){
    unGoogle('INPUT');
    unGoogle('SELECT');
}

function unGoogle(eleType){
    var t=document.getElementsByTagName(eleType);
    for(var i=0;i<t.length;i++){
        //t[i].attachEvent('onpropertychange',resetCSS);
        $(t[i]).bind('propertychange',resetCSS);
        t[i].style.backgroundColor='';
    }
}

function resetCSS(){
    var s=event.srcElement.style;
    if(s.backgroundColor!='')s.backgroundColor='';
} 

$(document).ready(function(){resetStyles();});