function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400');");
}

function centrar() {
    iz=(screen.width-document.body.clientWidth) / 2;
    de=(screen.height-document.body.clientHeight) / 2;
    moveTo(iz,de);
}

puchtit="  -CETELMIM GLOBAL MINING-   ";
letrero1="  - En Mineria y construccion en el Perú ";
letrero2=" Formando - Técnicos - Lideres -";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",50);
function scroll()
{
	aux1=letrero1.charAt(ultimo1-1);
	letrero1=aux1+letrero1.substring(0,ultimo1-1);
	aux2=letrero2.charAt(0);
	letrero2=letrero2.substring(1,ultimo2+1)+aux2;
	window.status="(" + letrero2 + puchtit + letrero1 + ")";
	tiempo=setTimeout("scroll()",50);
	return true;
}

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();
}
MM_reloadPage(true);


