function llamaajax(url, pars, target){
     var myAjax = new Ajax.Updater(target, url, {method: 'get', parameters: pars, asynchronous:true, evalScripts:true, onComplete: destello(target)});
}

function destello(target) {
		new Effect.Highlight(target, {startcolor:'#9CBEDD', endcolor:'',duration: 0.5});
		$A(target).clear();
}

function oculta(target) {
		new Effect.BlindUp(target, {duration: 1});
}

function cambiapesta(num){
	for(var i = 0; i < 12; i++) {
		if(document.getElementById('mes'+i)){
			if(i==num)
				document.getElementById('mes'+i).className = "seleccionado"
			else
				document.getElementById('mes'+i).className = ""
		}
	}
}
