///<SCRIPT src="panchi.js"> <//SCRIPT>///
function newtamaño(ancho,alto) {
resizeTo(ancho,alto);
}
function centrar(ancho,alto){
LeftPosition = (screen.availwidth) ? (screen.availwidth-(ancho))/2 : 0;
TopPosition = (screen.availheight) ? (screen.availheight-(alto))/2 : 0;
win=window.moveTo(LeftPosition,TopPosition)
}
        function batir_xy(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(0,i);
                        self.moveBy(i,0);
                        self.moveBy(0,-i);
                        self.moveBy(-i,0);
                    	}
              	}
        }
        }

        function batir_x(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(i,0);
                        self.moveBy(-i,0);
                    	}
              	}
        }
        }

        function batir_y(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(0,i);
                        self.moveBy(0,-i);
                    	}
              	}
        }
        }
        function batir_xyP(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(0,i);
                        self.moveBy(i,0);
                        self.moveBy(0,-i);
                        self.moveBy(-i,0);
                    	}
              	}
        }
salipanchi1();
        }
function noww(){
window.open('index2.htm','_parent','width=800,height=600,top=0,left=0,toolbar=0,location=0,directories=0,status=yes,menubar=no,scrollbars=yes,resizable=yes,titlebar=no'); 
}
function ubicis(){
window.open('ubics.htm','_blank','width=480,height=444,top=0,left=0,toolbar=0,location=0,directories=0,status=no,menubar=no,scrollbars=no,resizable=no,titlebar=no'); 
}
function intern() {
        refresco=setTimeout("noww()",espera);}
function ventanaP(){ window.open('index2.htm','Panchi','width=800,height=600,toolbar=0,location=0,directories=0,status=yes,menubar=no,scrollbars=yes,resizable=yes,titlebar=no'); 
}
function internP() {
        refresco=setTimeout("ventanaP()",espera);}
function superfullsPanchi(){
	var hdiff;
	window.resizeTo(screen.width/2+10,screen.height/2)
	window.moveTo(0,10)

	hdiff=window.screenTop;
	window.moveTo(-6,-hdiff+6);
	window.resizeTo(screen.width+13,screen.height+hdiff+26)
}
function restorePanchi(){
	window.moveTo(-4,-4);
	window.resizeTo(screen.width+8,screen.availHeight+8);
}
function salipanchi1(){
internP();
restorePanchi();
}
function aindex(pagesopen){
window.open(pagesopen,'centro'); 
}
function iaindex(telopaso) {
        refresco=setTimeout("aindex('"+telopaso+"')",espera);
		}
function ventanaP(){ window.open('index2.htm','Panchi','width=800,height=600,toolbar=0,location=0,directories=0,status=yes,menubar=no,scrollbars=yes,resizable=yes,titlebar=no'); 
}