<script>
function aa(obj){
obj.style.backgroundColor="0000FF";
obj.style.color="FFFFFF"
}
function bb(obj){
obj.style.backgroundColor="";
obj.style.color=""
}
</script>
<input type=button value="asdfd" id="aaa" onmouseover="aa(this)" onmouseout="bb(this)">