I am showing a div with a message when the user is submitting the form. I want this message to stay always in the same position, even if the user scrolls. The code is:

window.onbeforeunload=new Function("Procesando.style.visibility='visible';");

window.onblur=new Function("Procesando.style.visibility='hidden';");
//window.onfocus=new Function("Procesando.style.visibility='hidden';");

document.write('<div style="position:absolute; top:160; left:313; visibility:hidden; overflow:hidden; background-color:#CCCCCC; clip:rect(12,177,50,3); " id="Procesando">\n'+
'<select size=4 name="cbEspera" class="TextoTablaIzq" style="background-color:#CCB8E0; font-Weight:bold;">\n'+
'<option>&nbsp;</option>\n'+
'<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Procesando su petici'+unescape("%F3")+'n. &nbsp;</option>\n'+
'<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Espere por favor...&nbsp;</option>\n'+
'<option>&nbsp;</option>\n'+
'</select></div>\n');

Any help would be really appreciated.

Thanks a lot.

Jordi