


//-----------------------------------------------------------------------------------------------
function AbreVentana( ruta, ancho, alto ) {
	var ventana = window.open(ruta,"popup","width="+ancho+",height="+alto+",location=no,directories=no,status=no,menubar=no,resizable=no,top=0,left=0" );
	ventana.focus();
}


function PopUp( ruta, ancho, alto, foto ) {
	var vent = window.open(ruta,"popup","width="+ancho+",height="+alto+",location=no,directories=no,status=no,menubar=no,resizable=no,top=0,left=0" );
	vent.document.write("<head><title>REFRESCOS DEL ATLANTICO - ZOOM</title></head>");
	vent.document.write("<body bgcolor='#FFFFFF' leftmargin='0' topmargin='0' marginheight='0' marginwidth='0'>");
	vent.document.write("<table border=0 cellpadding=0 cellspacing=0 align=center'>");
	vent.document.write("<TR>");
	vent.document.write("<TD align=center valign=middle>");
	vent.document.write("<a href='#' onclick='window.close(); return true;'>");
	vent.document.write("<img src=\"./images/"+foto+"\" alt='Cerrar' border=\"0\"></a>");
	vent.document.write("</TD>");
	vent.document.write("</TR>");
	vent.document.write("</TABLE></body>");
	vent.focus();
}

//-----------------------------------------------------------------------------------------------
function Volver( cad ) {
	window.location=cad;
}


function ampliaFoto( img, x, y ) {
	LeftPosition = "0";
	TopPosition = "0";
	vent=open("","","top="+TopPosition+",left="+LeftPosition+",toolbar=no,directories=no,menubar=no,width="+x+",height="+y+"");
	vent.document.write("<head><title>REFRESCOS DEL ATLANTICO - ZOOM</title></head>");
	vent.document.write("<body leftmargin='0' topmargin='0' bottommargin='0' rightmargin='0'>");
	vent.document.write("<table bordercolor=#000000 border=0 cellpadding=0 cellspacing=0 align=center>");
	vent.document.write("<TR>");
	vent.document.write("<TD bgcolor=white align=center>");
	vent.document.write("<a href=\"javascript:window.close()\">");
	vent.document.write("<img src='"+img+"' border=\"0\" alt='Cerrar'></a>");
	vent.document.write("</TD>");
	vent.document.write("</TR>");
	vent.document.write("</TABLE></body>");
}