

<!--
var cont=0;


function imagen(file,ancho,alto){

// si (funciona screen.width) entonces (posicion inicial respecto lado izquierdo = centrada) sino (será 70)

LeftPosition = (screen.width) ? (screen.width-ancho)/2 : 70;

// 18=nombre window; 44= barra tareas --> centro verticalmente la imagen, sin tener en cuenta la altura de la barra de tareas (normalmente se muestra) y la "linea azul" donde se muestra el <title> de la pagina

TopPosition = (screen.height) ? 18+((screen.height-18-44-alto)/2) : 18; 


//	alto+=10; //le sumamos 10 pixels de la altura del texto "haz clic en la imagen para cerrar..."

	cont++;
	if (alto>525) { 
		newwindow=window.open('',"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,leftmargin=0,rightmargin=0,menubar=no,width="+(ancho+16)+",height=416,top="+TopPosition+",left="+LeftPosition);
	} else {
		newwindow=window.open('',"w"+cont,"resizable=no,scrollbars=no,toolbar=no,directories=no,status=no,location=no,menubar=no,width="+ancho+",height="+alto+",top="+TopPosition+",left="+LeftPosition);
	}


	HTMLstring='<HTML>\n';
	HTMLstring+='<HEAD>\n';
	HTMLstring+='<script language="JavaScript 1.2" src="../imgs/lib/imagenes.js"></script>'
	HTMLstring+='<TITLE>guiadelcomic.com</TITLE>\n';
	HTMLstring+='</HEAD>\n';
	HTMLstring+='<BODY leftMargin=0 topMargin=0 marginheight=0 marginwidth=0>\n';

	HTMLstring+='<table bgcolor=silver cellpadding=0 cellspacing=0 border=0 width=100%><tr><td align=right style="font-family:verdana,arial,helvetica;font-size:10px">haz clic en la imagen para errar la ventana&nbsp;</td></tr></table>'

//	HTMLstring+='<a href="javascript:window.close()"><img src="'+file+'" border=0 alt="haz clic para cerrar la ventana"></a>';
	HTMLstring+='</BODY>\n';
	HTMLstring+='</HTML>';

	//alert(HTMLstring);

	// newwindow=window.open();
	newdocument=newwindow.document;
	newdocument.write(HTMLstring);
	newdocument.close();


}



// *************************************************************************




function miniventana(file,ancho,alto){

// si (funciona screen.width) entonces (posicion inicial respecto lado izquierdo = centrada) sino (será 70)

LeftPosition = (screen.width) ? (screen.width-ancho)/2 : 70;

// 18=nombre window; 44= barra tareas --> centro verticalmente la imagen, sin tener en cuenta la altura de la barra de tareas (normalmente se muestra) y la "linea azul" donde se muestra el <title> de la pagina

TopPosition = (screen.height) ? 18+((screen.height-18-44-alto)/2) : 18; 


//	alto+=10; //le sumamos 10 pixels de la altura del texto "haz clic en la imagen para cerrar..."

	cont++;
		newwindow=window.open(file,"w"+cont,"resizable=yes,scrollbars=no,toolbar=no,directories=no,status=no,location=no,leftmargin=0,rightmargin=0,menubar=no,width="+(ancho+16)+",height="+alto+",top="+TopPosition+",left="+LeftPosition);


}


// *************************************************************************

function novedad(file) {

	newwindow=window.open(file,"novedad_400x400","resizable=no,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,leftmargin=0,rightmargin=0,menubar=no,width=400,height=400,top=0,left=0");
	newwindow.focus();


}


// *************************************************************************





function ponerframe(){
	if (parent.location.href == self.location.href) {
		var framevar= "../menu.htm?" + self.location.href;
		window.location.href = framevar; 
	}
}


// *************************************************************************

function ampliarhtml(file,ancho){

	// ancho + 16 (scrollbar) + 22 (10 pixels de margen a cada lado + 2 pixels del border=1)
	if (ancho==null) { ancho = 660 } else { ancho = ancho + 16 + 20 }

	anchopantalla = screen.width
	margenizquierdo = (anchopantalla-ancho)/2
	altopantalla = screen.height
	altopantalla = altopantalla-58

	cont++;
	newwindow=window.open(file,"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,menubar=no, width="+ancho+",height="+altopantalla+",top=0,left="+margenizquierdo);

}

// *************************************************************************

function ampliar(file,ancho){

	// ancho + 16 (scrollbar) + 52 (10 pixels de margen a cada lado+2 pixels del border=1 +30 borde tabla)
	if (ancho==null) { ancho = 660 } else { ancho = ancho + 16 + 20 + 30 }

	anchopantalla = screen.width
	margenizquierdo = (anchopantalla-ancho)/2
	altopantalla = screen.height
	altopantalla = altopantalla-58

	cont++;
	newwindow=window.open('../autores/xxxampliar.htm?imagen='+file,"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,menubar=no, width="+ancho+",height="+altopantalla+",top=0,left="+margenizquierdo);

}

// *************************************************************************

function ampliarn2(file,ancho){

	// ancho + 16 (scrollbar) + 52 (10 pixels de margen a cada lado+2 pixels del border=1 +30 borde tabla)
	if (ancho==null) { ancho = 660 } else { ancho = ancho + 16 + 20 + 30 }

	anchopantalla = screen.width
	margenizquierdo = (anchopantalla-ancho)/2
	altopantalla = screen.height
	altopantalla = altopantalla-58

	cont++;
	newwindow=window.open('../../../autores/xxxampliar.htm?imagen='+file,"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,menubar=no, width="+ancho+",height="+altopantalla+",top=0,left="+margenizquierdo);



}


function ampliar300(file){

	anchopantalla = screen.width
	altopantalla = screen.height

	cont++;
	newwindow=window.open('xxxampliar.htm?imagen='+file,"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,menubar=no, width=400,top=0,left=130");

}




// *************************************************************************

function ampliar_norula(file){

	anchopantalla = screen.width
	altopantalla = screen.height

	cont++;
	newwindow=window.open('',"w"+cont,"resizable=yes,scrollbars=yes,toolbar=no,directories=no,status=no,location=no,menubar=no, width=660,top=0,left=130");

	HTMLstring='<HTML>\n';
	HTMLstring+='<HEAD>\n';
 	HTMLstring+='<scr'+'ipt language="JavaScript1.2" src="../imgs/lib/imagenes.js"></scr'+'ipt>'
	HTMLstring+='<TITLE>guiadelcomic.com<\/TITLE>\n';
	HTMLstring+='<\/HEAD>\n';
	HTMLstring+='<BODY leftMargin=0 topMargin=0 marginheight=0 marginwidth=0><center>\n';

//incluyo el banner de publi de Dreamers

	HTMLstring+='<table bgcolor=silver cellpadding=0 cellspacing=0 border=0 width=100%><tr><td align=center><script type="text/javascript" src="http://dreamers.com/publicidad/codigo.cgi?jas"><\/script><\/td><\/tr><\/table>';

	HTMLstring+='<font color=gray style="font-family:verdana,arial,helvetica;font-size:12px">Haz clic en la imagen para cerrar la ventana<br><\/font>';
	HTMLstring+='<a href="javascript:window.close()"><img src="'+file+'" border=1></a>';

	HTMLstring+='<\/center><\/BODY>\n';
	HTMLstring+='<\/HTML>';

	newdocument=newwindow.document;
	newdocument.write(HTMLstring);
	newdocument.close();

}

// *************************************************************************

function links_secciones(nivel) {




	if (nivel==1)	HTMLstring='<center><font color="#666666">[ <a href="../index.htm">portada</a> | <a href="../fichas/index.htm">fichas</a> | <a href="../novedades/index.htm">novedades</a> | <a href="../recomendaciones/index.htm">recomendados</a> | <a href="../adaptaciones/index.htm">adaptaciones</a> | <a href="../articulos/index.htm">artículos</a> | <a href="../librerias/index.htm">librerías</a> ]</font><br><img src="../imgs/p.gif" width="5" height="5"><br><font class="infotoolbar">[ <a href="../info/quienes_somos.htm" class=infotoolbarlink>qui&eacute;nes somos</a> | <a href="../info/preguntas_frecuentes.htm" class=infotoolbarlink>preguntas frecuentes</a> | <a href="../info/aviso_legal.htm" class=infotoolbarlink>aviso legal</a> | <a href="../info/publicidad.htm" class=infotoolbarlink>publicidad</a> | <a href="../info/contacto.htm" class=infotoolbarlink>contacto</a> | <a href="../info/buscador.htm" class=infotoolbarlink>buscador</a> ]</font></center>';

	document.write(HTMLstring);


}

// *************************************************************************






//-->
