// JavaScript Document

function loadCalendar(ames,smes,ano){
	$.ajax({
		url: "./calendario/calendario.php",
        async:true,
        beforeSend: function(objeto){
			
        },
        complete: function(objeto, exito){
            if(exito=="success"){
				
            }
        },
        contentType: "application/x-www-form-urlencoded",
        dataType: "html",
        error: function(objeto, quepaso, otroobj){
			
        },
        global: true,
        ifModified: false,
        processData:true,
		data: "ames="+ames+"&smes="+smes+"&ano="+ano,
        success: function(datos){
            $("#loadCalendar").html(datos)
        },
        type: "GET"});

}

function loadCalendar_1(ames,smes,ano){
	$.ajax({
		url: "./calendario/calendario_inn.php",
        async:true,
        beforeSend: function(objeto){
			
        },
        complete: function(objeto, exito){
            if(exito=="success"){
				
            }
        },
        contentType: "application/x-www-form-urlencoded",
        dataType: "html",
        error: function(objeto, quepaso, otroobj){
			
        },
        global: true,
        ifModified: false,
        processData:true,
		data: "ames="+ames+"&smes="+smes+"&ano="+ano,
        success: function(datos){
            $("#loadCalendar").html(datos)
        },
        type: "GET"});

}
