ho trovato questo script che consente di fare funzionare il focus ache se IE

window.onload=function(){
if(document.getElementsByTagName)
Focus();
}

function Focus(){
var inp=document.getElementsByTagName("input");
for(i=0;i<inp.length;i++){
inp[i].onfocus=function(){this.style.backgroundColor="#F FC"};
inp[i].onblur=function(){this.style.backgroundColor="#FF F"};
}
}


io però vorrei avere l'effetto non sullo sfondo ma sul colore dei bordi, però non mi accetta "border-color"
in un altro thread ho visto usare delle classi, come posso fare?