-1<(""+navigator.userAgent).indexOf("MSIE")&&7>parseInt((""+navigator.appVersion).substr((""+navigator.appVersion).indexOf("MSIE")+5,1))&&location.replace("./ie6.html"); function fAjax(a){window.XMLHttpRequest?a.xhr=new XMLHttpRequest:window.ActiveXObject&&(a.xhr=new ActiveXObject("Microsoft.XMLHTTP"));a.xhr&&(a.metodo||(a.metodo="GET"),a.url?a.xhr.open(a.metodo,a.doc+a.url,!0):a.xhr.open(a.metodo,a.doc,!0),a.func&&(a.xhr.onreadystatechange=a.func),a.xhr.setRequestHeader("Cache-Control","no-cache;"),a.xhr.setRequestHeader("Pragma","no-cache;"),"POST"==a.metodo?(a.xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded;"),a.xhr.send(a.strPost)):a.xhr.send(null))} function fBannerFlashMostrarFicha(a){var c={};c.fichaID=a;fMostrarFicha(null,c)}function Mficha(a){var c=Math.round(Math.max((screen.width-893)/2-5,0)),e=Math.round(Math.max((screen.height-580)/2-24,0));window.open("./_html/ficha.php?fichaID="+a,"Ficha"+a,"width=893,height=580,top="+e+",left="+c).focus()} function fMostrarFicha(a,c){try{fOcultarBPN()}catch(e){}var d=1;if(c){var f=c.fichaID;try{document.getElementById("inputBPN").blur()}catch(h){}}else f=a?a.currentTarget.fichaID:event.srcElement.fichaID,d=a?a.currentTarget.bpn?1:0:event.srcElement.bpn?1:0;var b=!1;(""+location).length==(""+location).lastIndexOf("/")+1?b="index":(b=(""+location).substr((""+location).lastIndexOf("/")+1),0<=b.lastIndexOf(".")&&(b=b.substring(b.indexOf("-")+1,b.lastIndexOf("."))));var g={};g.doc="./_js/ajax/click_ficha.php?fichaID="+ f+"&seccion="+escape(b)+"&bpn="+d;fAjax(g);d=Math.round(Math.max((screen.width-893)/2-5,0));b=Math.round(Math.max((screen.height-580)/2-24,0));window.open("./_html/ficha.php?fichaID="+f,"Ficha"+f,"width=893,height=580,top="+b+",left="+d).focus()} function fWindowFormulario(a,c,e,d){leftWF=Math.round(Math.max((screen.width-e)/2-5,0));topWF=Math.round(Math.max((screen.height-d)/2-24,0));windowFormulario=window.open(a,c,"scrollbars=0,width="+e+",height="+d+",top="+topWF+",left="+leftWF);windowFormulario.focus()}function fInputFocus(a){document.getElementById(a).style.backgroundColor="#AAAAAA";document.getElementById(a).style.color="#000000"} function fInputBlur(a){document.getElementById(a).style.backgroundColor="#333333";document.getElementById(a).style.color="#AAAAAA"};
