!function(e,t){function i(t,i){return t=t?' id="'+A+t+'"':"",i=i?' style="'+i+'"':"",e("
")}function n(e,t){return t="x"===t?g.width():g.height(),"string"==typeof e?Math.round(e.match(/%/)?t/100*parseInt(e,10):parseInt(e,10)):e}function o(t){return t=e.isFunction(t)?t.call(M):t,P.photo||t.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function h(){for(var t in P)e.isFunction(P[t])&&"on"!==t.substring(0,2)&&(P[t]=P[t].call(M));P.rel=P.rel||M.rel||"nofollow",P.href=P.href||e(M).attr("href"),P.title=P.title||M.title,P.legenda=P.legenda||e(M).attr("data-legenda"),P.linkTitulo=P.linkTitulo||e(M).attr("data-linkTitulo")}function l(t){if(M=t,P=e.extend({},e(M).data(j)),h(),"nofollow"!==P.rel?(w=e("."+U).filter(function(){var t=e(this).data(j).rel||this.rel;return t===P.rel}),O=w.index(M),-1===O&&(w=w.add(M),O=w.length-1)):(w=e(M),O=0),!z){z=B=!0,D=M;try{D.blur()}catch(i){}e.event.trigger(E),P.onOpen&&P.onOpen.call(M),s.css({opacity:+P.opacity,cursor:P.overlayClose?"pointer":"auto"}).show(),P.w=n(P.initialWidth,"x"),P.h=n(P.initialHeight,"y"),F.position(0),$&&g.bind("resize."+J+" scroll."+J,function(){s.css({width:g.width(),height:g.height(),top:g.scrollTop(),left:g.scrollLeft()})}).trigger("scroll."+J)}T.add(L).add(W).add(k).add(x).hide(),T.add(L).add(W).add(k).add(b).hide(),H.html(P.close).show(),F.slideshow(),F.load()}var s,r,d,a,c,u,p,f,w,g,m,y,v,x,b,C,T,k,W,L,H,I,S,_,K,M,D,O,P,z,B,F,R={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,photo:!1,href:!1,title:!1,legenda:!1,linkTitulo:!1,rel:!1,opacity:.7,preloading:!0,current:"Imagem {current} de {total}",previous:"",next:"",close:"(X) fechar",open:!1,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0},j="colorbox",A="cbox",E=A+"_open",q=A+"_load",G=A+"_complete",N=A+"_cleanup",Q=A+"_closed",X=e.browser.msie&&!e.support.opacity,$=X&&e.browser.version<7,J=A+"_IE6",U=A+"Element";F=e.fn[j]=e[j]=function(t,i){var n=this;return!n[0]&&n.selector?n:(t=t||{},i&&(t.onComplete=i),n[0]&&void 0!==n.selector||(n=e(""),t.open=!0),n.each(function(){e(this).data(j,e.extend({},e(this).data(j)||R,t)).addClass(U)}),t.open&&l(n[0]),n)},F.init=function(){g=e(t),r=i().attr({id:j,"class":X?A+"IE":""}),s=i("Overlay",$?"position:absolute":"").hide(),d=i("Wrapper"),a=i("Content").append(m=i("LoadedContent","width:0; height:0"),v=i("LoadingOverlay").add(i("LoadingGraphic")),x=i("Title"),b=i("Legenda"),C=i("LinkTitulo"),T=i("Current"),W=i("Next"),L=i("Previous"),k=i("Slideshow"),H=i("Close")),d.append(i().append(i("TopLeft"),c=i("TopCenter"),i("TopRight")),i().append(u=i("MiddleLeft"),a,p=i("MiddleRight")),i().append(i("BottomLeft"),f=i("BottomCenter"),i("BottomRight"))).children().children().css({"float":"left"}),y=i(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),e("body").prepend(s,r.append(d,y)),a.children().hover(function(){e(this).addClass("hover")},function(){e(this).removeClass("hover")}).addClass("hover"),I=c.height()+f.height()+a.outerHeight(!0)-a.height(),S=u.width()+p.width()+a.outerWidth(!0)-a.width(),_=m.outerHeight(!0),K=m.outerWidth(!0),r.css({"padding-bottom":I,"padding-right":S}).hide(),W.click(F.next),L.click(F.prev),H.click(F.close),a.children().removeClass("hover"),e("."+U).live("click",function(e){return 0!==e.button&&"undefined"!=typeof e.button||e.ctrlKey||e.shiftKey||e.altKey?!0:(l(this),!1)}),s.click(function(){P.overlayClose&&F.close()}),e(document).bind("keydown",function(e){z&&P.escKey&&27===e.keyCode&&(e.preventDefault(),F.close()),z&&P.arrowKey&&!B&&w[1]&&(37===e.keyCode&&(O||P.loop)?(e.preventDefault(),L.click()):39===e.keyCode&&(O