﻿// Archivo JScript
function iniCambio(){
if(this.Cambio.value=='') PantComp()}

function Pant(){
if(this.Cambio.value=='1'){PantNorm();}
else {PantComp();}
}

function PantComp(){
Vieja0=window.self;
Vieja0.opener=window.self;
Ancho=screen.availWidth;
Alto=screen.availHeight;
Dir=window.location;
Nueva0=window.open(Dir, '', 
'toolbar=no,location=no,directories=no,status=no,menubar=no,'+
'scrollbars=1,resizable=no,copyhistory=1,width='+Ancho+','+
'height='+Alto+',top=0,left=0','replace');
Nueva0.Cambio.value='1';
Vieja0.close();
}

function PantNorm(){
Vieja1=window.self;
Vieja1.opener=window.self;
Dir=window.location;
Nueva1=window.open(Dir, '', 
'toolbar=1,location=1,directories=1,status=1,menubar=1,'+
'scrollbars=1,resizable=1,copyhistory=1');
Nueva1.Cambio.value='0';
Vieja1.close();
}

/* La variable Dir puede ser reemplazada por la ruta 
del documento si el script se utiliza para una sola página. */


/*  Name: fullscreen                                                               */
/*  Function: this is going to cause IE to go into a kind of fullscreen mode       */
/*  Call: fullscreen()                                                             */
/*  Supported Browsers: IE5.x,IE6.x                                                */
/*  Author: Dimitris Anoyatis                                                      */
/*  E-Mail(s):dosida@hotmail.com,dosida@softhome.net                               */
/*  Version: 1.0.3                                                                 */
/*  Status: Freeware (Actually Mentionware; just mention me on your webpage)       */
/*  Requirements: Just keep this with the script please... Not 2 much 2 ask is it? */
/*                                                                                 */
/*                   Hope you find this script useful :)                           */
/* ================================================================ */

function fullscreen(){
	var hdiff;
	window.resizeTo(screen.width/2,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 restore(){
	window.moveTo(-4,-4);
	window.resizeTo(screen.width+8,screen.availHeight+8);
}
-->

