<!--
var Link = new Array();

  Link[0] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;Empresa<br>";
  Link[1] = "1|&nbsp;&nbsp;&nbsp;Presentaci&oacute;n|http://www.publidisa.com/empresa.html|_self|";
  Link[2] = "1|&nbsp;&nbsp;&nbsp;Calidad|http://www.publidisa.com/empresa_calidad.html|_self|";
  Link[3] = "1|&nbsp;&nbsp;&nbsp;Garant&iacute;a|http://www.publidisa.com/empresa_garan.html|_self|";
  Link[4] = "1|&nbsp;&nbsp;&nbsp;Tecnolog&iacute;a|http://www.publidisa.com/empresa_tec.html|_self|";
  Link[5] = "1|&nbsp;&nbsp;&nbsp;Ecolog&iacute;a|http://www.publidisa.com/ecologia|_self|";
  Link[6] = "1|&nbsp;&nbsp;&nbsp;Noticias y eventos|http://www.publidisa.com/noticias|_self|";
  Link[7] = "1|&nbsp;&nbsp;&nbsp;Trabaje con nosotros|http://www.publidisa.com/empresa_recursos_humanos.html|_self|";
  
  Link[8] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;Servicios";
  Link[9] = "1|&nbsp;&nbsp;&nbsp;Presentaci&oacute;n|http://www.publidisa.com/servicios.html|_self|";
  
  Link[10] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;&nbsp;. Producci&oacute;n a Demanda";
  Link[11] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Definici&oacute;n|http://www.publidisa.com/serv-demanda.html|_self|";
  Link[12] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Ventajas|http://www.publidisa.com/serv_demanda_beneficios.html|_self|";
  Link[13] = "1|&nbsp;&nbsp;&nbsp;&nbsp;POD y sistema tradicional|http://www.publidisa.com/serv_demanda_integracion.html|_self|";
  Link[14] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Procedimiento|http://www.publidisa.com/info-proced-serv.html|_self|";
  Link[15] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. Producci&oacute;n estandar|http://www.publidisa.com/serv-demanda.html|_self|";
  Link[16] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. Recepci&oacute;n del original|http://www.publidisa.com/info-anexo2.html/serv_demanda_beneficios.html|_self|";
  Link[17] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. Env&iacute;o de la producci&oacute;n|http://www.publidisa.com/info-anexo3.html|_self|";
  Link[18] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. Devoluci&oacute;n|http://www.publidisa.com/info-anexo4.html|_self|";
  Link[19] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. Facturaci&oacute;n|http://www.publidisa.com/info-condic-serv.html|_self|";
  
  Link[20] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;&nbsp;. eBooks";
  Link[21] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Definici&oacute;n|http://www.publidisa.com/info-defini-serv-ebook.html|_self|";
  Link[22] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Ventajas|http://www.publidisa.com/ventajas.html|_self|";
  Link[23] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Muestras|http://www.publidisa.com/e-descarga.asp|_self|";
  Link[24] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Procedimiento|http://www.publidisa.com/info-proced-serv-ebook.html|_self|";
  Link[25] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Facturaci&oacute;n|http://www.publidisa.com/info-condic-serv-ebook.html|_self|";
  Link[26] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Todoebook|http://www.todoebook.com|__blank|";
  Link[27] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Librer&iacute;as Afiliadas|http://www.publidisa.com/lap|_self|";
  Link[28] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot; Definici&oacute;n|http://www.publidisa.com/lap/lap_acerca.html|_self|";
  Link[29] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot; Logotipos|http://www.publidisa.com/lap/lap_logos.html|_self|";
  Link[30] = "1|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot; Panel de control: Acceso|http://www.publidisa.com/lap/lap-pwd.asp|_self|";

  Link[31] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;&nbsp;&raquo; SPyDi Internacional";
  Link[32] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Definici&oacute;n|http://www.publidisa.com/inter.html|_self|";
  Link[33] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Modelos|http://www.publidisa.com/inter_spydi.html|_self|";
  Link[34] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Puente @tl&aacute;ntico del Libro|http://www.publidisa.com/puente|_blank|";
  Link[35] = "1|&nbsp;&nbsp;&nbsp;&nbsp;ReadOnTime|http://www.readontime.com|__blank|";
  Link[36] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Publidisa Distribuci&oacute;n M&eacute;xico|http://www.publidisa.com/distripal/index.asp|_self|";
  
  Link[37] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;&nbsp;&raquo; Proyectos especiales";
  Link[38] = "1|&nbsp;&nbsp;&nbsp;&nbsp;Definici&oacute;n|http://www.publidisa.com/serv-proyecto-especial.html|_self|";
  
  Link[39] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;Editoriales";
  Link[40] = "1|&nbsp;&nbsp;&nbsp;Presentaci&oacute;n|http://www.publidisa.com/editores.html|_self|";
  Link[41] = "1|&nbsp;&nbsp;&nbsp;Registro de editores|http://www.publidisa.com/seguro/WebEditor/editor-form-suscripcion.asp?cod_idioma=1|_self|";
  Link[42] = "1|&nbsp;&nbsp;&nbsp;Presupuesto sin compromiso|http://www.publidisa.com/seguro/WebEditor/editores.asp?cod_idioma=1|_self|";
  Link[43] = "1|&nbsp;&nbsp;&nbsp;Web privada|http://www.publidisa.com/seguro/Webeditor/editores.asp?cod_idioma=1|_self|";
  
  Link[44] = "0|<hr width=97% size=1 color=CCCCCC>&nbsp;Ayuda";
  Link[45] = "1|&nbsp;&nbsp;&nbsp;FAQ POD|http://www.publidisa.com/info-faq.html|_self|";
  Link[46] = "1|&nbsp;&nbsp;&nbsp;FAQ eBooks|http://www.publidisa.com/info-faq-ebook.html|_self|";
  Link[47] = "1|&nbsp;&nbsp;&nbsp;FAQ SPyDi Internacional|http://www.publidisa.com/info-faq-spydi.html|_self|";
  Link[48] = "1|&nbsp;&nbsp;&nbsp;Ayuda en Web del editor|http://www.publidisa.com/info-web.html|_self|";
  Link[49] = "1|&nbsp;&nbsp;&nbsp;Ventajas del PDF|http://www.publidisa.com/info-pdf.html|_self|";
  Link[50] = "1|&nbsp;&nbsp;&nbsp;Mapa web|http://www.publidisa.com/mapa.html|";
  Link[51] = "1|&nbsp;&nbsp;&nbsp;Condiciones de uso web|http://www.publidisa.com/cond_web.html|_self|";
  Link[52] = "1|&nbsp;&nbsp;&nbsp;Consultas y sugerencias|http://www.publidisa.com/cons_info.asp?cod=info|_self|";

  var height = 35;
  var iheight = 20;
  
  var valign = "middle"
  
  var bgc = "FFFFFF"
  var tc = "000000"
  
  var over_bgc = "E7EEFB";
  var over_tc = "000000";
  
  var speed = 0;
  var timerID = 0;
  var width = 200
  var N = (document.all) ? 0 : 1;
  var self_menu = new Array();

function write_menu()
{
	smc   = 0;
	mn    = 0;
	mni   = 1;
	start = -1;

	document.write('<div style="position: absolute;">');

	for (var i = 0; i < Link.length; i++)
	{
		la = Link[i].split('|');

		if (la[0] == 0)
		{
			if (start == 0)
			{
				document.write('</div>');

				h = csmc * iheight;
				tmn = mn; // - h;
				self_menu[smc] = new Array(tmn, h, 0, -2);

				smc++;
				mn--;
			}

			csmc = 0;

			document.write('<div id="down' + smc + '" class="menu" '
			             + 'style="top: ' + mn + 'px; height: ' + height + 'px;" '
			             + 'onclick="pull_down(' + smc + ', ' + mni + ');">'
			             + '  ' + la[1] + '</div>');

			self_menu[smc] = new Array(mn, height, 0, mni);

			smc++;
			mni++;
			mn += height;
			start = 1;
		}
		else
		{
			if (start == 1)
			{
				if (N)
					mn += 2;

				document.write('<div id="down' + smc + '" class="item_panel" '
				             + 'style="top: '+ mn + 'px;">');

				start = 0;
			}

			document.write('<a href="' + la[2] + '"'
			             + ((la[3] != '') ? ' target="' + la[3] + '"' : '')
			             + '><div id="d' + i + '" class="item" '
			             + 'style="height: ' + iheight + 'px;'
			             + ((N) ? ' width:200px;' : '')
			             + '" onmouseover="color(this.id);" '
			             + 'onmouseout="uncolor(this.id);">'
			             + ' ' + la[1] + '</div></a>');

			csmc++;
		}
	}

	if (start == 0)
	{
		document.write('</div>');

		h =  csmc * iheight;
		tmn = mn + 5; // - h;
		self_menu[smc] = new Array(tmn, h, 0);
		name = 'down' + (self_menu.length - 1);

		obj = document.getElementById(name);
		obj.style.borderBottomColor = '#FFFFFF';
		obj.style.borderBottomWidth = '1px';
		obj.style.borderBottomStyle = 'solid';
	}

	document.write('</div>');
}

function color(obj)
{
	document.getElementById(obj).style.backgroundColor = over_bgc;
	document.getElementById(obj).style.color = over_tc;
}

function uncolor(obj)
{
	document.getElementById(obj).style.backgroundColor = bgc;
	document.getElementById(obj).style.color = tc;
}

function pull_down(nr, c)
{
	if (timerID == '')
	{
		to = self_menu[nr + 1][1]
		begin = nr + 2;

		if (timerID != '')
			clearTimeout(timerID);

		if (self_menu[nr + 1][2] == 0)
		{
			self_menu[nr + 1][2] = 1;

			if (nr == (self_menu.length - 2))
				to++;

			epull_down(begin, to, 0);
		}
		else
		{
			to = 0;
			self_menu[nr + 1][2] = 0;
			name = 'down' + (nr + 2);
			open_item = 0;

			for (var i = 0; i < nr; i++)
				if (self_menu[i][2] == 1)
					open_item += self_menu[i][1];

			if (N == false)
				open_item -= (c * 1);

			if (nr == (self_menu.length - 2))
			{
				val = self_menu[self_menu.length - 1][1];
				to = -1;
			}
			else
				val = parseInt(document.getElementById(name).style.top) - (open_item) - (c * height);

			epull_up(begin, to, val);
		}
	}
}

function epull_down(nr, to, nowv)
{
	name = 'down' + (nr - 1);
	obj = document.getElementById(name).style.clip = 'rect(0, ' + width + ', ' + (nowv + 1) + ', 0)';

	for (var i = nr; i < self_menu.length; i++)
	{
		name = 'down' + i;
		obj = document.getElementById(name);
		obj.style.top = parseInt(obj.style.top) + 1;
	}

	nowv++;

	if (nowv < to)
		timerID = setTimeout('epull_down(' + nr + ', ' + to + ', ' + nowv + ');', speed);
	else
		timerID = 0;
}

function epull_up(nr, to, nowv)
{
	name = 'down' + (nr - 1);
	obj = document.getElementById(name).style.clip = 'rect(0, ' + width + ', ' + nowv + ', 0)';

	for (var i = nr; i < self_menu.length; i++)
	{
		name = 'down' + i;
		obj = document.getElementById(name);
		obj.style.top = parseInt(obj.style.top) - 1;
	}

	nowv--;

	if(nowv > to)
		timerID = setTimeout('epull_up(' + nr + ', ' + to + ', ' + nowv + ');', speed);
	else
		timerID = 0;
}

function startup(nr)
{
	write_menu();

	if (nr != 0)
	{
		for (var i = 0; i < self_menu.length; i++)
		{
			if (self_menu[i][3] == nr)
				pull_down(i, nr);

			i == self_menu.length;
		}
	}
}
//-->