var tb_pathToImage="/ibcomv3/images/loadingAnimation.gif";$(document).ready(function(){imgLoader=new Image();imgLoader.src=tb_pathToImage});function loader_show(){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect' src='/ibcomv3/js/blank.html'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>")}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>")}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(document.getElementById("TB_load")===null){$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>")}$("#TB_load").show()}catch(a){}}function loader_hide(){$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_detectMacXFF(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("mac")!=-1&&a.indexOf("firefox")!=-1){return true}}function tb_centrar(){$("#TB_window").css("position","absolute");$("#TB_window").css("top",($(window).height()-$("#TB_window").height())/2+$(window).scrollTop()+"px");$("#TB_window").css("left",($(window).width()-$("#TB_window").width())/2+$(window).scrollLeft()+"px")};
