﻿// JScript File


function pop(id, Ancho, Alto, ScrBar)
{
	if(ScrBar)
		WinPopUp = window.open("pop.aspx?id=" + id, "WinPopUp", "height=" + Alto + ",width=" + Ancho + ",scrollbars=yes,screenX=" + (screen.width-Ancho) / 2 + ",screenY=" + (screen.height-Alto) / 2 + ",left=" + (screen.width-Ancho) / 2 + ",top=" + (screen.height-Alto) / 2);
	else
		WinPopUp = window.open("pop.aspx?id=" + id, "WinPopUp", "height=" + Alto + ",width=" + Ancho + ",scrollbar=false,screenX=" + (screen.width-Ancho) / 2 + ",screenY=" + (screen.height-Alto) / 2 + ",left=" + (screen.width-Ancho) / 2 + ",top=" + (screen.height-Alto) / 2);
}

