// Cambio de estilo de un elementofunction mySwapStyle(id_elemento, estilo){	document.getElementById(id_elemento).className = estilo;}function OpenWindow(URL, ancho, alto) {   var availHeight = screen.availHeight;   var availWidth = screen.availWidth;   var x = 0, y = 0;    if (document.all) {        x = window.screenTop;         y = window.screenLeft;   }   else if (document.layers) {          x = window.screenX;        y = window.screenY;   }    availWidth = (availWidth - ancho)/2;    availHeight = (availHeight - alto)/2;   var arguments = 'resizable=no,maximize=no,toolbar=0,location=0,directories=0,addressbar=0,scrollbars=no,status=0,menubar=0,top=0,left=0,top='+availHeight+',left='+availWidth+',width='+ancho+',height='+alto;   var newWindow = window.open(URL,'newWindow',arguments);}var timer_id;function scroll_iframe(frm,inc,dir) {  if (timer_id) clearTimeout(timer_id);  if (window.frames[frm]) {    if (dir == "v") window.frames[frm].scrollBy(0, inc);    else window.frames[frm].scrollBy(inc, 0);    timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);  }}function stopScroll() { if (timer_id) clearTimeout(timer_id); }