[font=courier new]¿Así?
Código HTML:
<html>
<head>
<title>Untitled</title>
<script>
var campo1=null;
var campo2=null;
function unoEs(este){
if(campo2){
campo1=campo2;
campo2=este;}
else{campo2=este}
}
function suma(){
if(campo1 && campo2){
valor=0;
if(campo1.value<campo2.value){
valor=100-parseFloat(campo2.value)+parseFloat(campo1.value);
}
else{
valor=100-parseFloat(campo1.value)+parseFloat(campo2.value);
}
for(a=0;a<3;a++){
campo3=document.forms[0].elements[a]
if(campo3!=campo1 && campo3!=campo2){
campo3.value=valor;break
}
}}}
</script>
</head>
<body>
<form action="index.php" method="post" name="formulario" id="formularo">
SI: <input name="SI" type="text" maxlength="8" id="SI"
onkeyup="suma()" onfocus="unoEs(this)">
NO: <input name="NO" type="text" maxlength="8" id="NO"
onkeyup="suma()" onfocus="unoEs(this)">
OTRO: <input name="OTRO" type="text" maxlength="8" id="OTRO"
onkeyup="suma()" onfocus="unoEs(this)">
</form>
<div id="pepe"></div>
</body>
</html>