function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function uno(src,c1) { 
    src.bgColor=c1; 
	src.style.cursor='default';
} 
function dos(src,c2) { 
    src.bgColor=c2; 
	src.style.cursor='default';
}

function desplegar( desplegable ) {
	if( desplegable.style.display == "block" ) {
		desplegable.style.display = "none";
	} else {
		desplegable.style.display = "block";
	}
}

function NovaFinestra2(URLStr, nom, left, top, width, height) {
	window.open(URLStr,nom,'menubar=no,scrollbars=yes,status=yes,dependent=yes,resizable=yes,toolbar=no,height='+height+',width='+width+',left='+left+',top='+top);
}

function sf(nomform, nominput) {
	eval('document.'+nomform+'.'+nominput+'.focus()');
}

