//Specify optional button target: "_new" for new window, or name of FRAME target (ie "myframe")

var buttontarget=""



function change(e, color){

var el=window.event? event.srcElement: e.target

if (el.tagName=="INPUT"&&el.type=="submit"){

el.style.backgroundColor=color ;

el.style.borderColor=color;

el.style.borderWidth="1px";

}



if (el.tagName=="INPUT"&&el.type=="reset"){

el.style.backgroundColor=color;

el.style.borderColor=color;

el.style.borderWidth="1px";



}



if (el.tagName=="INPUT"&&el.type=="button"){

el.style.backgroundColor=color;

el.style.borderColor=color;

el.style.borderWidth="1px";



}



}
