<!--

// ******************************
// LAUNCH WINDOW FUNCTIONS
// ******************************

// launchRemote function launches a new window with specific attributes. launch function supports.
function launch(newURL, newName, newFeatures) {
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
		remote.opener = window;
	return remote;
}

function launchRemote(pageName, uniqueName, winHeight, winWidth) {
	myRemote = launch(pageName, uniqueName, "height=" + winHeight + ",width=" + winWidth +",screenX=100,left=100,screenY=100,top=100,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0");
}


// ******************************
// CONFIRM FUNCTIONS
// ******************************

// ConfirmDelete function adds confirmation box to any deletions

function ConfirmDelete(url) {
	if (confirm('¿Estás seguro que quieres borrar este elemento?')) {
		document.location = url;
	}		
}
	
// -->
