// Retorna la cantidad de días entre las fechas// Recibe 2 objetos Date como parametro// restarFechas(Date fechaInicio, Date fechaFin)function restarFechas(fechaInicio,fechaFin){	var diferencia = fechaFin.getTime() - fechaInicio.getTime();	var dias = Math.round(diferencia/86400000);	if(dias < 0) dias=1;	return dias;}function externalLinks(){ if (!document.getElementsByTagName) return;  var anchors = document.getElementsByTagName("a"); for (var i=0; i<anchors.length; i++) {    var anchor = anchors[i];   if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")     anchor.target = "_blank"; }}function addLoadEvent(func){var oldOnload=window.onload;if(typeof window.onload!='function'){window.onload = func;}else{window.onload=function(){oldOnload();func();}}}addLoadEvent(function(){externalLinks();});