
/************************************************************/
/***	Funcion de creacion del Menu Archivo	  ***/
/************************************************************/

function CreateMenu(strPath,currentYear,currentMonth,currentMonthName,currentDay,currentDayName,initialYear,endYear,newsNumero) 
{ 

	
		document.write("<table width='110'  style='border:white 1px solid'>");
		document.write("<tr height='2'> ");
		document.write("<td bgcolor='#B61D0C' >&nbsp;&nbsp; <b>    <a href='"+strPath+"/archivo/portada.shtm' class ='menuArchivoTitulo' >ARCHIVO</a> <b>");
		document.write("</tr> ");

	
		for(intI=initialYear; intI <= endYear; intI++) 
		{
			document.write("<tr> ");
			document.write("<td bgcolor='#EEEEEE'>   <img src='"+strPath+"/images/n_info_web/arrow10.gif' width='13' height='7'>");
			document.write("<a href='"+strPath+"/archivo/"+intI+"/portada.shtm' class = 'menuArchivo'>"+intI+"</a>");
				//<font size='1' face='Verdana, Arial, Helvetica, sans-serif'>
			if (currentYear== intI)
			{
				if (currentMonth != 0)
				{
					document.write("</br> &nbsp; <img src='"+strPath+"/images/n_info_web/arrow10.gif' width='13' height='7'> <a href='"+strPath+"/archivo/"+currentYear+"/"+currentYear+currentMonth+"/portada.shtm' class = 'menuArchivo' >"+currentMonthName+"</a>");
					if (currentDay !=0)
					{
						document.write("</br> &nbsp;  &nbsp; <img src='"+strPath+"/images/n_info_web/arrow10.gif' width='13' height='7'> <a href='"+strPath+"/archivo/"+currentYear+"/"+currentYear+currentMonth+"/"+currentYear+currentMonth+currentDay+"/portada.shtm' class = 'menuArchivo'>"+currentDayName+" "+currentDay+"</a>");
							if (newsNumero >=0)
							{
								document.write("</br> &nbsp;  &nbsp; &nbsp; <img src='"+strPath+"/images/n_info_web/arrow11.gif' width='13' height='7'> <a href='"+strPath+"/archivo/"+currentYear+"/"+currentYear+currentMonth+"/"+currentYear+currentMonth+currentDay+"/"+currentYear+currentMonth+currentDay+"_"+newsNumero+".shtm' class = 'menuArchivo'>"+newsNumero+"</a>");
							}
					}
				}
			}	
			document.write( "</font>");
			document.write("</tr> ");
		}
	document.write("</table>");
}