Código:
Su ayuda seria bienvenida<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cerrar</title>
</head>
<script language="JavaScript">
function cierrame() {
event.returnValue = "Escribe el texto a mostrar ";
}
</script>
<body onBeforeUnload="cierrame()">
<div align="center"><strong>Contenido</strong></div>
</body>
</html>


