";G[L==="flash"?"movie":"src"]=this.encodeHTML(C)}else{H+=B+' data="'+this.encodeHTML(C)+'">'}for(var A in G){if(G.hasOwnProperty(A)){H+=''}}if(L==="quicktime"&&this.webkitMac){H+=''}else{H+=''+(L==="flash"?"Flash":"QuickTime")+' player is required to view this content.
download player
'}return H},newContent:function(A){var C=this;this.clearTimeout("slideshow");this.clearTimeout("resize");this.currentIndex=A;fb.previousAnchor=this.currentItem;this.currentItem=this.items[A];if(this.showNavOverlay=="once"&&this.navOverlayShown){this.showNavOverlay=false}var B=function(){C.updatePanels();C.fetchContent(function(){C.calcSize()})};this.collapse(function(){C.timeouts.fetch=setTimeout(B,10)})},end:function(K){if(this!==fb.lastChild){return fb.lastChild.end(K)}var G=this;this.endAll=this.endAll||K;this.fbOverlay.onclick=null;if(this.isChild){if(this.endAll){this.imageFadeDuration=this.overlayFadeDuration=this.resizeDuration=0}}else{if(document.keydownSet){document.onkeydown=this.priorOnkeydown;document.keydownSet=false}if(document.keypressSet){document.onkeypress=this.priorOnkeypress;document.keypressSet=false}parent.focus()}if(this.ieOld){detachEvent("onresize",this.stretchOverlay());detachEvent("onscroll",this.stretchOverlay())}for(var L in this.timeouts){if(this.timeouts.hasOwnProperty(L)){this.clearTimeout(L)}}if(this.fbBox.style.visibility){if(!this.lastShown){this.fbZoomDiv.style.display="none"}}else{if(this.currentItem.type==="img"&&this.zoomImageStart){if(this.currentItem.popup){this.currentItem.anchor.onmouseover()}var B=this.getAnchorPos(this.currentItem.anchor,true);if(this.currentItem.popup){this.currentItem.anchor.onmouseout()}if(B.width){this.fbZoomDiv.style.borderWidth=this.zoomPopBorder+"px";B.left-=this.zoomPopBorder;B.top-=this.zoomPopBorder;this.pos.thumb=B;return this.zoomOut()}}}if(!this.fbBox.style.visibility){var B=this.getAnchorPos(this.currentItem.anchor,!this.currentItem.popup),E=this.initialSize/2,C={id:"fbBox",left:B.left-E,top:B.top-E,width:this.initialSize,height:this.initialSize},M={id:"fbBox",left:B.left,top:B.top,width:0,height:0,borderWidth:0},I=this.splitResize;if(I==="wh"){I="hw"}else{if(I==="hw"){I="wh"}else{if(I==="auto"){I=this.pos.fbBox.width<=this.pos.fbBox.height?"hw":"wh"}}}var H=function(){setTimeout(function(){G.fbBox.style.visibility="hidden";G.end()},10)};if(I){var J=function(){G.setSize(I,C,function(){G.setSize(M,H)})}}else{var J=function(){G.setSize(M,H)}}var D=function(){setTimeout(function(){if(G.fbContent){G.fbMainDiv.removeChild(G.fbContent);delete G.fbContent}},20);G.fbLoader.style.display="";G.fbCanvas.style.display=G.fbShadowTop.style.display=G.fbShadowRight.style.display=G.fbShadowBottom.style.display=G.fbShadowLeft.style.display=G.fbShadowCorner.style.display="none";J()};return this.collapse(D)}this.fbBox.style.display="none";var A=this.children.length+1,F=this.anchors.length;while(F&&this.anchors[F-1].level>=A){F--}this.anchors.length=F;if(this.isChild){this.children.length--}fb.lastChild=this.children[this.children.length-1]||fb;var J=function(){setTimeout(function(){while(G.nodeNames.length){var N=G.nodeNames.pop();if(G[N]&&G[N].parentNode){G[N].parentNode.removeChild(G[N]);delete G[N]}}if(G.endAll&&G.isChild){return fb.end(true)}else{if(G.loadPageOnClose){if(G.loadPageOnClose==="self"||G.loadPageOnClose==="this"){location.reload(true)}else{if(G.loadPageOnClose==="back"){history.back()}else{location.replace(G.loadPageOnClose)}}}}},10)};var D=function(){while(G.hiddenEls.length){var O=G.hiddenEls.pop();O.style.visibility="visible";if(this.ffOld&&this.ffMac){O.focus();O.blur()}}var N=G.fbOverlay.style;N.display="none";N.width=N.height="0";var P=G.currentItem.popup?6.5:0;G.fbZoomDiv.style.opacity="1";G.fadeOpacity(G.fbZoomDiv,0,P,J);G.currentItem=fb.previousAnchor=null};this.fadeOpacity(this.fbOverlay,0,this.overlayFadeDuration,D)},zoomIn:function(B){var D=this,G=this.fbZoomDiv.style;if(!B){this.clearTimeout("slowLoad");G.display=this.fbZoomImg.style.display="";if(this.currentItem.popup){this.currentItem.anchor.onmouseout()}var F=this.outerBorder+this.innerBorder-this.zoomPopBorder;var C=function(){D.fbZoomImg.src=D.currentItem.href;D.setSize({id:"fbZoomDiv",width:D.pos.fbMainDiv.width,height:D.pos.fbMainDiv.height,left:D.pos.fbBox.left+F+D.padding,top:D.pos.fbBox.top+F+D.upperSpace},function(){D.zoomIn(1)})};return this.fadeOpacity(this.fbOverlay,this.overlayOpacity,this.overlayFadeDuration,C)}if(B===1){var E={left:this.pos.fbBox.left,top:this.pos.fbBox.top,width:this.pos.fbBox.width,height:this.pos.fbBox.height};var F=2*(this.zoomPopBorder-this.outerBorder);this.pos.fbBox={left:this.pos.fbZoomDiv.left,top:this.pos.fbZoomDiv.top,width:this.pos.fbZoomDiv.width+F,height:this.pos.fbZoomDiv.height+F};this.fbBox.style.visibility="";var C=function(){D.restore(function(){D.zoomIn(2)})};return this.setSize({id:"fbBox",left:E.left,top:E.top,width:E.width,height:E.height},C)}var A=function(){G.display="none";D.fbZoomImg.src="";G.left=G.top=G.width=G.height=D.fbZoomImg.width=D.fbZoomImg.height="0";D.showContent()};this.timeouts.showContent=setTimeout(A,10)},zoomOut:function(B){var C=this;if(!B){this.fbZoomImg.src=this.currentItem.href;var D=this.outerBorder+this.innerBorder-this.zoomPopBorder;this.setSize({id:"fbZoomDiv",width:this.pos.fbMainDiv.width,height:this.pos.fbMainDiv.height,left:this.pos.fbBox.left+D+this.padding,top:this.pos.fbBox.top+D+this.upperSpace},function(){C.zoomOut(1)})}if(B===1){this.fbZoomDiv.style.display=this.fbZoomImg.style.display="";this.fbCanvas.style.visibility="hidden";return this.collapse(function(){C.zoomOut(2)})}if(B===2){var D=2*(this.zoomPopBorder-this.outerBorder);return this.setSize({id:"fbBox",left:this.pos.fbZoomDiv.left,top:this.pos.fbZoomDiv.top,width:this.pos.fbZoomDiv.width+D,height:this.pos.fbZoomDiv.height+D},function(){C.zoomOut(3)})}this.fbBox.style.visibility="hidden";var A=function(){C.fbZoomImg.src=C.pos.thumb.src;C.end()};this.setSize({id:"fbZoomDiv",left:this.pos.thumb.left,top:this.pos.thumb.top,width:this.pos.thumb.width,height:this.pos.thumb.height},A)},setPause:function(A){this.isPaused=A;if(A){this.clearTimeout("slideshow")}else{this.newContent(this.nextIndex)}if(this.showPlayPause){this.fbPlay.style.top=A?"":"-9999px";this.fbPause.style.top=A?"-9999px":""}},fadeOpacity:function(C,E,D,I){var H=+(C.style.opacity||0);D=D||0;this.clearTimeout["fade"+C.id];var F=(H<=E&&E>0);if(D>10){D=10}if(D<0){D=0}if(D===0){H=E;var B=1}else{var G=Math.pow(100,0.1),A=D+((10-D)/9)*(Math.log(2)/Math.log(G)-1),B=1/Math.pow(G,A)}if(F){C.style.display=C.style.visibility=""}else{B=-B}this.stepFade(C,H,E,B,F,I)},stepFade:function(C,B,E,G,A,F){if(!C){return }var D=this;if((A&&B>=E)||(!A&&B<=E)){B=E}if(this.ie){C.style.filter="alpha(opacity="+B*100+")"}C.style.opacity=B+"";if(B===E){if(this.ie&&E>=1){C.style.removeAttribute("filter")}if(F){F()}}else{this.timeouts["fade"+C.id]=setTimeout(function(){D.stepFade(C,B+G,E,G,A,F)},20)}},resizeGroup:function(A,F){var B=A.length;if(!B){return F?F():null}this.clearTimeout("resize");var E=0;while(B--){E=Math.max(E,Math.abs(A[B].finish-A[B].start))}var D=this.resizeDuration*(this.liveResize?0.65:1);var C=E&&D?Math.pow(Math.max(1,2.2-D/10),(Math.log(E)))/E:1;B=A.length;while(B--){A[B].diff=A[B].finish-A[B].start}this.stepResize(C,C,A,F)},stepResize:function(H,G,E,I){var F=this;if(H>1){H=1}var D=E.length;while(D--){var C=E[D].node,A=E[D].property,B=Math.round(E[D].start+E[D].diff*H),J=C.tagName.toLowerCase();if(J==="img"||J==="iframe"){C[A]=B}else{C.style[A]=B+"px"}}if(H>=1){delete this.timeouts.resize;if(I){I()}}else{this.timeouts.resize=setTimeout(function(){F.stepResize(H+G,G,E,I)},20)}},getDisplaySize:function(){return{width:this.getDisplayWidth(),height:this.getDisplayHeight()}},getDisplayWidth:function(){return this.html.clientWidth||this.bod.clientWidth},getDisplayHeight:function(){if(this.webkitOld){return window.innerHeight}if(!this.html.clientHeight||this.operaOld||document.compatMode==="BackCompat"){return this.bod.clientHeight}return this.html.clientHeight},getScroll:function(E){if(!(E&&E.document)){E=self}var D=E.document,B=D.documentElement,A=D.body||D.getElementsByTagName("body")[0],C=E.pageXOffset||A.scrollLeft||D.documentElement.scrollLeft||0;if(this.ie&&this.rtl){C-=B.scrollWidth-B.clientWidth}return{left:C,top:E.pageYOffset||A.scrollTop||D.documentElement.scrollTop||0}},getLeftTop:function(B,O){var E=B.offsetLeft||0,L=B.offsetTop||0,X=B.ownerDocument||B.document,U=X.body||X.getElementsByTagName("body")[0],H=X.defaultView||X.parentWindow||X.contentWindow,A=this.getScroll(H),W=this.getStyle(B,"position",H),V=/absolute|fixed/,K=!V.test(W),D=K,P=B;if(W==="fixed"){E+=A.left;L+=A.top}while(W!=="fixed"&&(P=P.offsetParent)){var C=0,M=0,G=true,W=this.getStyle(P,"position",H),G=!V.test(W);if(this.opera){if(O&&P!==U){E+=P.scrollLeft-P.clientLeft;L+=P.scrollTop-P.clientTop}}else{if(this.ie){if(P.currentStyle.hasLayout&&P!==X.documentElement){C=P.clientLeft;M=P.clientTop}}else{C=parseInt(this.getStyle(P,"border-left-width",H),10);M=parseInt(this.getStyle(P,"border-top-width",H),10);if(this.ff&&P===B.offsetParent&&!G&&(this.ffOld||!K)){E+=C;L+=M}}}if(!G){if(O){return{left:E,top:L}}D=false}if(P.offsetLeft>0){E+=P.offsetLeft}E+=C;L+=P.offsetTop+M;if(W==="fixed"){E+=A.left;L+=A.top}if(!(this.opera&&K)&&P!==U&&P!==X.documentElement){E-=P.scrollLeft;L-=P.scrollTop}}if(this.ff&&D){E+=parseInt(this.getStyle(U,"border-left-width",H),10);L+=parseInt(this.getStyle(U,"border-top-width",H),10)}if(this.webkitOld){var Q=X.createElement("script");Q.innerHTML="document.parentWindow=self";X.documentElement.appendChild(Q);X.documentElement.removeChild(Q);H=X.parentWindow}if(!O&&H!==self){var F=H.parent.document.getElementsByTagName("iframe"),S=F.length;while(S--){var P=F[S],N=false;try{N=P.contentDocument||P.contentWindow;N=N.document||N}catch(T){}if(N===X||(typeof N!=="object"&&P.src===H.location.href.substr(H.location.href.length-P.src.length))){if(this.webkitOld){H=X.defaultView}var I=this.getLeftTop(P);E+=I.left-A.left;L+=I.top-A.top;if(this.ie||this.opera){var R=0,J=0;if(!this.ie||K){R=parseInt(this.getStyle(P,"padding-left",H),10);J=parseInt(this.getStyle(P,"padding-top",H),10)}E+=P.clientLeft+R;L+=P.clientTop+J}else{E+=parseInt(this.getStyle(P,"border-left-width",H),10)+parseInt(this.getStyle(P,"padding-left",H),10);L+=parseInt(this.getStyle(P,"border-top-width",H),10)+parseInt(this.getStyle(P,"padding-top",H),10)}break}}}return{left:E,top:L}},getStyle:function(A,D,C){if(!(A&&D)){return""}if(!C){var B=A.ownerDocument||A.document;C=B.defaultView||B.parentWindow||B.contentWindow}if(A.currentStyle){return A.currentStyle[D.replace(/-(\w)/g,function(E,F){return F.toUpperCase()})]||""}else{if(!C){var B=A.ownerDocument||A.document;C=B.defaultView||B.parentWindow||B.contentWindow}return(C.getComputedStyle&&C.getComputedStyle(A,"").getPropertyValue(D))||""}},getLayout:function(B){var A=this.getLeftTop(B);A.width=B.offsetWidth;A.height=B.offsetHeight;return A},clearTimeout:function(A){if(this.timeouts[A]){clearTimeout(this.timeouts[A]);delete this.timeouts[A]}},stretchOverlay:function(){var A=this;return function(){if(arguments.length===1){A.clearTimeout("stretch");A.timeouts.stretch=setTimeout(function(){A.stretchOverlay()()},25)}else{delete A.timeouts.stretch;if(!A.fbBox){return }var F=A.fbBox.offsetLeft+A.fbBox.offsetWidth,C=A.fbBox.offsetTop+A.fbBox.offsetHeight,G=A.getDisplaySize(),B=A.getScroll(),E=A.fbOverlay.style;E.width=E.height="0";var D=(A.rtl&&B.left)?A.html.clientWidth-A.html.scrollWidth:0;E.left=D+"px";E.width=Math.max(F,A.bod.scrollWidth,A.bod.clientWidth,A.html.clientWidth,G.width+B.left)+"px";E.height=Math.max(C,A.bod.scrollHeight,A.bod.clientHeight,A.html.clientHeight,G.height+B.top)+"px"}}},encodeHTML:function(A){return A.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},decodeHTML:function(A){return A.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'")},getXMLHttpRequest:function(){var C,A=this;if(window.XMLHttpRequest){if(!(C=new XMLHttpRequest())){return false}}else{try{C=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){try{C=new ActiveXObject("Microsoft.XMLHTTP")}catch(B){return false}}}return{getResponse:function(D,F){try{C.open("GET",D,true);C.setRequestHeader("If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT");C.setRequestHeader("Cache-Control","no-cache");C.onreadystatechange=function(){if(C.readyState===4){C.onreadystatechange=function(){};F(C)}};C.send(null)}catch(E){}}}},setInnerHTML:function(E,C){try{var B=document.createRange();B.selectNodeContents(E);B.deleteContents();if(C){var H=new DOMParser().parseFromString(''+C+"
","application/xhtml+xml"),G=H.documentElement.childNodes;for(var D=0,A=G.length;D'}else{C='"}var G=document.createElement("div");G.appendChild(D.cloneNode(true));E.open("text/html");E.write(''+C+""+G.innerHTML+"
");E.close();setTimeout(function(){F&&F.print();F&&F.close()},200);return true},loadAnchor:function(B,A,D){if(B.setAttribute){var C=B;if(!C.getAttribute("rel")){C.setAttribute("rel","floatbox")}fb.lastChild.start(this.tagOneAnchor(C))}else{fb.lastChild.start(this.tagOneAnchor({href:B,rev:A,title:D,rel:"floatbox"}))}},goBack:function(){var A=fb.previousAnchor;if(A){this.loadAnchor(A.href,A.rev+" sameBox:true",A.title)}},resize:function(B,A){var C=false;if(B&&fb.lastChild.currentItem&&fb.lastChild.currentItem.nativeWidth!=B){fb.lastChild.currentItem.nativeWidth=B;C=true}if(A&&fb.lastChild.currentItem&&fb.lastChild.currentItem.nativeHeight!=A){fb.lastChild.currentItem.nativeHeight=A;C=true}if(C){fb.lastChild.calcSize(false)}}};function initfb(){if(arguments.callee.done){return }arguments.callee.done=true;if(document.compatMode==="BackCompat"){alert("Floatbox does not support quirks mode.\nPage needs to have a valid a doc type.");return }fb=new Floatbox();fb.tagAnchors(self.document.body||self.document.getElementsByTagName("body")[0]);if(fb.autoStart){fb.start(fb.autoStart);if(typeof fb!=="undefined"){delete fb.autoStart}}else{fb.preloadImages("",true)}}fb_prevOnload=window.onload;window.onload=function(){if(arguments.callee.done){return }arguments.callee.done=true;if(typeof fb_prevOnload==="function"){fb_prevOnload()}initfb()};if(document.addEventListener){document.addEventListener("DOMContentLoaded",initfb,false)};(function(){/*@cc_on if(document.body){try{document.createElement('div').doScroll('left');return initfb();}catch(e){}}/*@if (false) @*/if(/loaded|complete/.test(document.readyState))return initfb();/*@end @*/if(!initfb.done)setTimeout(arguments.callee,50);})();