function almanaque()
{
	document.write('	<div style="float: left; margin-left: 0em; margin-bottom: 0em;"');
	document.write('	id="calendar-container"></div>');
	document.write('	<script type="text/javascript">');
	document.write('	  function dateChanged(calendar) {');
	document.write('	    if (calendar.dateClicked) {');
	document.write('	      var y = calendar.date.getFullYear();');
	document.write('	      var m = calendar.date.getMonth();');
	document.write('	      var d = calendar.date.getDate();');
	document.write('	    }');
	document.write('	  };');
	document.write('	  Calendar.setup(');
	document.write('	    {');
	document.write('	      flat         : "calendar-container",');
	document.write('	      flatCallback : dateChanged');
	document.write('	    }');
	document.write('	  );');
	document.write('	</script>');
}

function menu_prin()
{
stm_bm(["menu5854",820,"","./imagenes/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,8,0,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","./imagenes/menu.jpg",3,1,1,"#CCCCCC"]);
stm_ai("p0i0",[0,"Inicio","","",-1,-1,0,"./index.jsp","_self","","","","",0,0,0,"","",0,0,0,1,2,"#FFFFF7",1,"#DCEDFF",1,"","",3,3,0,0,"#CCCCCC","#000000","#001244","#BAD605","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0],75,80);
stm_aix("p0i1","p0i0",[0,"Historia","","",-1,-1,0,"./contenido/historia.jsp?pag=1"],75,80);
stm_aix("p0i2","p0i0",[0,"BearSoft","","",-1,-1,0,"./contenido/bearsoft.jsp?pag=2"],75,80);
stm_aix("p0i3","p0i0",[0,"Consejos","","",-1,-1,0,"./contenido/lecciones.jsp?pag=3"],75,80);
stm_ep();
stm_em();
}

function menu_int()
{
stm_bm(["menu5854",820,"","../imagenes/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,8,0,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","../imagenes/menu.jpg",3,1,1,"#CCCCCC"]);
stm_ai("p0i0",[0,"Inicio","","",-1,-1,0,"../index.jsp","_self","","","","",0,0,0,"","",0,0,0,1,2,"#FFFFF7",1,"#DCEDFF",1,"","",3,3,0,0,"#CCCCCC","#000000","#001244","#BAD605","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0],75,80);
stm_aix("p0i1","p0i0",[0,"Historia","","",-1,-1,0,"historia.jsp?pag=1"],75,80);
stm_aix("p0i2","p0i0",[0,"BearSoft","","",-1,-1,0,"bearsoft.jsp?pag=2"],75,80);
stm_aix("p0i3","p0i0",[0,"Consejos","","",-1,-1,0,"lecciones.jsp?pag=3"],75,80);
stm_ep();
stm_em();
}

function open1() { 
var open1 =
window.open('../sitode/index.jsp','BearSoft','scrollbars=yes,height=450,width=750,resizable=yes,top=0,left=0,status=1'); 
} 

function fecha()
{		var mydate=new Date()
		var year=mydate.getYear()
		if (year < 1000)
		year+=1900
		var day=mydate.getDay()
		var month=mydate.getMonth()
		var daym=mydate.getDate()
		if (daym<10)
		daym="0"+daym
		var dayarray=new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado")
		var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
		document.write(""+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"")
}

function hora(){
	var fecha = new Date()
	var hora = fecha.getHours()
	var minuto = fecha.getMinutes()
	var segundo = fecha.getSeconds()
	if (hora < 10) {hora = "0" + hora}
	if (minuto < 10) {minuto = "0" + minuto}
	if (segundo < 10) {segundo = "0" + segundo}
	var horaV = hora + ":" + minuto + ":" + segundo
	document.getElementById('hora').firstChild.nodeValue = horaV
	tiempo = setTimeout('hora()',1000)
}
function reloj(){
	document.write('<span id="hora">')
	document.write ('000000</span>')
	hora()
}

function cerrarse(){ 
window.close() 
} 

