// JavaScript Document
//funcion q genera popups
function generaPop(name,vinculo,x,y)
{
if (vinculo==""){vinculo="#";}
herramientas1 = "'titlebar=no,directories=no,hotkeys=no,menubar=no,location=no,personalbar=no,";
herramientas2 = "personalbar=no,scrollbars=no,status=no,toolbar=no,resizable=no,width="+x+",height="+y+"'";
var generator=window.open('','name',herramientas1 + herramientas2);
  generator.document.write('<html><head><title>MUNDO BEBE</title>');
  generator.document.write('<meta http-equiv="imagetoolbar" content="no">');
  generator.document.write('</head><body rightmargin="0" leftmargin="0" topmargin="0" bottommargin="0">');
  generator.document.write('<img src="cont/img/popup/'+name+'" border="0" class="img2" onClick="window.close();">');
  generator.document.write('</body></html>');
  generator.document.close();
}

