var offsetfrommouse=[10,10];
var displayduration=0;
var currentimageheight=400;
var padding=10;
var zoomimg_w=0;
var zoomimg_h=0;
if(document.getElementById||document.all){document.write('<div id="trailimageid">');document.write("</div>")}
function getObj(B) {
   if(document.getElementById) {
      this.obj = document.getElementById(B); 
      this.style = document.getElementById(B).style
      }
   else {
      if(document.all) {
         this.obj = document.all[B]; 
         this.style = document.all[B].style
         }
      else {
         if(document.layers) {
            this.obj = document.layers[B]; 
            this.style = document.layers[B]}
         }
      }
   }


function gettrail() {
   return new getObj("trailimageid")}
function truebody() {
   return(!window.opera && document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body}
function showtrail(T, Q, L, U, P, S, V, N, O, M, R) {
   zoomimg_w = P; 
   zoomimg_h = S; 
   if(S > 0) {
      currentimageheight = S}
   trailobj = gettrail().obj; 
   trailobj.style.width = (P + (2 * padding)) + "px"; 
   trailobj.style.height = (S + (2 * padding)) + "px"; 
   trailobj.setAttribute("startx", N); 
   trailobj.setAttribute("starty", O); 
   trailobj.setAttribute("startw", M); 
   trailobj.setAttribute("starth", R); 
   trailobj.setAttribute("imagename", T); 
   trailobj.setAttribute("imgtitle", Q); 
   document.onmousemove = followmouse}
function hidetrail() {
   trailstyle = gettrail().style; 
   trailstyle.visibility = "hidden"; 
   document.onmousemove = ""; 
   trailstyle.left = "-2000px"; 
   trailstyle.top = "-2000px"}
function followmouse(I) {
   var N = offsetfrommouse[0]; 
   var H = offsetfrommouse[1]; 
   var J = document.all ? truebody().scrollLeft + truebody().clientWidth : pageXOffset + window.innerWidth - 15; 
   var K = document.all ? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight); 
   var L = null; 
   var M = null; 
   if(typeof I != "undefined") {
      if((typeof I.layerX != "undefined") && (typeof I.layerY != "undefined")) {
         L = I.layerX; 
         M = I.layerY}
      else {
         if((typeof I.x != "undefined") && (typeof I.y != "undefined")) {
            L = I.x; 
            M = I.y}
         }
      if(J - I.pageX < zoomimg_w + (3 * padding)) {
         N = I.pageX - N - zoomimg_w - (2 * offsetfrommouse[0])}
      else {
         N += I.pageX}
      if(K - I.pageY < zoomimg_h + (2 * padding)) {
         H += I.pageY - Math.max(0, (0 + zoomimg_h + (5 * padding) + I.pageY - K - truebody().scrollTop))}
      else {
         H += I.pageY}
      }
   else {
      if(typeof window.event != "undefined") {
         if((typeof event.x != "undefined") && (typeof event.y != "undefined")) {
            L = event.x; 
            M = event.y}
         else {
            if((typeof event.offsetX != "undefined") && (event.offsetY != "undefined")) {
               L = event.offsetX; 
               M = event.offsetY}
            }
         if(J - event.clientX < zoomimg_w + (3 * padding)) {
            N = event.clientX - N - zoomimg_w - (2 * offsetfrommouse[0])}
         else {
            N += truebody().scrollLeft + event.clientX}
         if(K - event.clientY < zoomimg_h + (2 * padding)) {
            H += event.clientY - Math.max(0, (0 + zoomimg_h + (5 * padding) + I.pageY - K - truebody().scrollTop))}
         else {
            H += truebody().scrollTop + event.clientY}
         }
      }
   trail = gettrail(); 
   startx = trail.obj.getAttribute("startx"); 
   starty = trail.obj.getAttribute("starty"); 
   startw = trail.obj.getAttribute("startw"); 
   starth = trail.obj.getAttribute("starth"); 
   imagename = trail.obj.getAttribute("imagename"); 
   title = trail.obj.getAttribute("imgtitle"); 
   var J = document.all ? truebody().scrollLeft + truebody().clientWidth : pageXOffset + window.innerWidth - 15; 
   var K = document.all ? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight); 
   if(H < 0) {
      H = H *- 1}
   if((trail.style.left == "-2000px") || (trail.style.left == "")) {
      trail.style.left = N + "px"}
   if((trail.style.top == "-2000px") || (trail.style.top == "")) {
      trail.style.top = H + "px"}
   trail.style.left = N + "px"; 
   trail.style.top = H + "px"; 
   if(trail.style.visibility != "visible") {
      if(((L == null) || (M == null)) || ((L >= startx) && (L <= (startx + startw)) && (M >= starty) && (M <= (starty + starth)))) {
         newHTML = "<div><h1>" + title + "</h1>"; 
         newHTML = newHTML + '<img src="' + imagename + '"></div>'; 
         trail.obj.innerHTML = newHTML; 
         trail.style.visibility = "visible"}
      }
   }

function ShowLoadingBox(B) {
   objPos = B.position(); 
   B.append('<div class="loading_box"></div>'); 
   $("div.loading_box", B).show().css("top", objPos.top).css("left", objPos.left)}
function HideLoadingBox(B) {
   $("div.loading_box", B).remove()
   }


var d,dom,ie,ie4,ie5x,moz,mac,win,lin,old,ie5mac,ie5xwin,op;
d=document;
n=navigator;
na=n.appVersion;
nua=n.userAgent;
win=(na.indexOf("Win")!=-1);
mac=(na.indexOf("Mac")!=-1);
lin=(nua.indexOf("Linux")!=-1);
if(!d.layers){dom=(d.getElementById);op=(nua.indexOf("Opera")!=-1);konq=(nua.indexOf("Konqueror")!=-1);saf=(nua.indexOf("Safari")!=-1);moz=(nua.indexOf("Gecko")!=-1&&!saf&&!konq);ie=(d.all&&!op);ie4=(ie&&!dom);ie5x=(d.all&&dom);ie5mac=(mac&&ie5x);ie5xwin=(win&&ie5x)}
var is_chrome=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;

jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(J,I,F,G,H){return jQuery.easing[jQuery.easing.def](J,I,F,G,H)},easeInQuad:function(J,I,F,G,H){return G*(I/=H)*I+F},easeOutQuad:function(J,I,F,G,H){return -G*(I/=H)*(I-2)+F},easeInOutQuad:function(J,I,F,G,H){if((I/=H/2)<1){return G/2*I*I+F}return -G/2*((--I)*(I-2)-1)+F},easeInCubic:function(J,I,F,G,H){return G*(I/=H)*I*I+F},easeOutCubic:function(J,I,F,G,H){return G*((I=I/H-1)*I*I+1)+F},easeInOutCubic:function(J,I,F,G,H){if((I/=H/2)<1){return G/2*I*I*I+F}return G/2*((I-=2)*I*I+2)+F},easeInQuart:function(J,I,F,G,H){return G*(I/=H)*I*I*I+F},easeOutQuart:function(J,I,F,G,H){return -G*((I=I/H-1)*I*I*I-1)+F},easeInOutQuart:function(J,I,F,G,H){if((I/=H/2)<1){return G/2*I*I*I*I+F}return -G/2*((I-=2)*I*I*I-2)+F},easeInQuint:function(J,I,F,G,H){return G*(I/=H)*I*I*I*I+F},easeOutQuint:function(J,I,F,G,H){return G*((I=I/H-1)*I*I*I*I+1)+F},easeInOutQuint:function(J,I,F,G,H){if((I/=H/2)<1){return G/2*I*I*I*I*I+F}return G/2*((I-=2)*I*I*I*I+2)+F},easeInSine:function(J,I,F,G,H){return -G*Math.cos(I/H*(Math.PI/2))+G+F},easeOutSine:function(J,I,F,G,H){return G*Math.sin(I/H*(Math.PI/2))+F},easeInOutSine:function(J,I,F,G,H){return -G/2*(Math.cos(Math.PI*I/H)-1)+F},easeInExpo:function(J,I,F,G,H){return(I==0)?F:G*Math.pow(2,10*(I/H-1))+F},easeOutExpo:function(J,I,F,G,H){return(I==H)?F+G:G*(-Math.pow(2,-10*I/H)+1)+F},easeInOutExpo:function(J,I,F,G,H){if(I==0){return F}if(I==H){return F+G}if((I/=H/2)<1){return G/2*Math.pow(2,10*(I-1))+F}return G/2*(-Math.pow(2,-10*--I)+2)+F},easeInCirc:function(J,I,F,G,H){return -G*(Math.sqrt(1-(I/=H)*I)-1)+F},easeOutCirc:function(J,I,F,G,H){return G*Math.sqrt(1-(I=I/H-1)*I)+F},easeInOutCirc:function(J,I,F,G,H){if((I/=H/2)<1){return -G/2*(Math.sqrt(1-I*I)-1)+F}return G/2*(Math.sqrt(1-(I-=2)*I)+1)+F},easeInElastic:function(P,N,I,J,K){var M=1.70158;var L=0;var O=J;if(N==0){return I}if((N/=K)==1){return I+J}if(!L){L=K*0.3}if(O<Math.abs(J)){O=J;var M=L/4}else{var M=L/(2*Math.PI)*Math.asin(J/O)}return -(O*Math.pow(2,10*(N-=1))*Math.sin((N*K-M)*(2*Math.PI)/L))+I},easeOutElastic:function(P,N,I,J,K){var M=1.70158;var L=0;var O=J;if(N==0){return I}if((N/=K)==1){return I+J}if(!L){L=K*0.3}if(O<Math.abs(J)){O=J;var M=L/4}else{var M=L/(2*Math.PI)*Math.asin(J/O)}return O*Math.pow(2,-10*N)*Math.sin((N*K-M)*(2*Math.PI)/L)+J+I},easeInOutElastic:function(P,N,I,J,K){var M=1.70158;var L=0;var O=J;if(N==0){return I}if((N/=K/2)==2){return I+J}if(!L){L=K*(0.3*1.5)}if(O<Math.abs(J)){O=J;var M=L/4}else{var M=L/(2*Math.PI)*Math.asin(J/O)}if(N<1){return -0.5*(O*Math.pow(2,10*(N-=1))*Math.sin((N*K-M)*(2*Math.PI)/L))+I}return O*Math.pow(2,-10*(N-=1))*Math.sin((N*K-M)*(2*Math.PI)/L)*0.5+J+I},easeInBack:function(L,K,G,H,I,J){if(J==undefined){J=1.70158}return H*(K/=I)*K*((J+1)*K-J)+G},easeOutBack:function(L,K,G,H,I,J){if(J==undefined){J=1.70158}return H*((K=K/I-1)*K*((J+1)*K+J)+1)+G},easeInOutBack:function(L,K,G,H,I,J){if(J==undefined){J=1.70158}if((K/=I/2)<1){return H/2*(K*K*(((J*=(1.525))+1)*K-J))+G}return H/2*((K-=2)*K*(((J*=(1.525))+1)*K+J)+2)+G},easeInBounce:function(J,I,F,G,H){return G-jQuery.easing.easeOutBounce(J,H-I,0,G,H)+F},easeOutBounce:function(J,I,F,G,H){if((I/=H)<(1/2.75)){return G*(7.5625*I*I)+F}else{if(I<(2/2.75)){return G*(7.5625*(I-=(1.5/2.75))*I+0.75)+F}else{if(I<(2.5/2.75)){return G*(7.5625*(I-=(2.25/2.75))*I+0.9375)+F}else{return G*(7.5625*(I-=(2.625/2.75))*I+0.984375)+F}}}},easeInOutBounce:function(J,I,F,G,H){if(I<H/2){return jQuery.easing.easeInBounce(J,I*2,0,G,H)*0.5+F}return jQuery.easing.easeOutBounce(J,I*2-H,0,G,H)*0.5+G*0.5+F}});

(function(Q){Q.fn.fixPNG=function(){return this.each(function(){var A=Q(this).css("backgroundImage");if(A.match(/^url\(["']?(.*\.png)["']?\)$/i)){A=RegExp.$1;Q(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+(Q(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+A+"')"}).each(function(){var B=Q(this).css("position");if(B!="absolute"&&B!="relative"){Q(this).css("position","relative")}})}})};var J,M,P=false,K=new Image,O,N=1,R=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i;var L=(Q.browser.msie&&parseInt(Q.browser.version.substr(0,1))<8);Q.fn.fancybox=function(I){I=Q.extend({},Q.fn.fancybox.defaults,I);var A=this;function F(){J=this;M=I;H();return false}function H(){if(P){return}if(Q.isFunction(M.callbackOnStart)){M.callbackOnStart()}M.itemArray=[];M.itemCurrent=0;if(I.itemArray.length>0){M.itemArray=I.itemArray}else{var W={};if(!J.rel||J.rel==""){var W={href:J.href,title:J.title};if(Q(J).children("img:first").length){W.orig=Q(J).children("img:first")}M.itemArray.push(W)}else{var S=Q(A).filter("a[rel="+J.rel+"]");var W={};for(var X=0;X<S.length;X++){W={href:S[X].href,title:S[X].title};if(Q(S[X]).children("img:first").length){W.orig=Q(S[X]).children("img:first")}M.itemArray.push(W)}while(M.itemArray[M.itemCurrent].href!=J.href){M.itemCurrent++}}}if(M.overlayShow){if(L){Q("embed, object, select").css("visibility","hidden")}Q("#fancy_overlay").css("opacity",M.overlayOpacity).show()}E()}function E(){Q("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide();var V=M.itemArray[M.itemCurrent].href;if(V.match(/#/)){var S=window.location.href.split("#")[0];S=V.replace(S,"");S=S.substr(S.indexOf("#"));G('<div id="fancy_div">'+Q(S).html()+"</div>",M.frameWidth,M.frameHeight)}else{if(V.match(R)){K=new Image;K.src=V;if(K.complete){B()}else{Q.fn.fancybox.showLoading();Q(K).unbind().bind("load",function(){Q(".fancy_loading").hide();B()})}}else{if(V.match("iframe")||J.className.indexOf("iframe")>=0){G('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe'+Math.round(Math.random()*1000)+'" frameborder="0" hspace="0" src="'+V+'"></iframe>',M.frameWidth,M.frameHeight)}else{Q.get(V,function(U){G('<div id="fancy_ajax">'+U+"</div>",M.frameWidth,M.frameHeight)})}}}}function B(){if(M.imageScale){var Y=Q.fn.fancybox.getViewport();var S=Math.min(Math.min(Y[0]-36,K.width)/K.width,Math.min(Y[1]-60,K.height)/K.height);var X=Math.round(S*K.width);var Z=Math.round(S*K.height)}else{var X=K.width;var Z=K.height}G('<img alt="" id="fancy_img" src="'+K.src+'" />',X,Z)}function D(){if((M.itemArray.length-1)>M.itemCurrent){var S=M.itemArray[M.itemCurrent+1].href;if(S.match(R)){objNext=new Image();objNext.src=S}}if(M.itemCurrent>0){var S=M.itemArray[M.itemCurrent-1].href;if(S.match(R)){objNext=new Image();objNext.src=S}}if((M.itemArray.length-1)<=M.itemCurrent&&M.itemArray.length!=1){var S=M.itemArray[0].href;if(S.match(R)){objNext=new Image();objNext.src=S}}if(M.itemCurrent<=0&&M.itemArray.length!=1){var S=M.itemArray[M.itemArray.length-1].href;if(S.match(R)){objNext=new Image();objNext.src=S}}}function G(e,i,m){P=true;var g=M.padding;if(L){Q("#fancy_content")[0].style.removeExpression("height");Q("#fancy_content")[0].style.removeExpression("width")}if(g>0){i+=g*2;m+=g*2;Q("#fancy_content").css({top:g+"px",right:g+"px",bottom:g+"px",left:g+"px",width:"auto",height:"auto"});if(L){Q("#fancy_content")[0].style.setExpression("height","(this.parentNode.clientHeight - 20)");Q("#fancy_content")[0].style.setExpression("width","(this.parentNode.clientWidth - 20)")}}else{Q("#fancy_content").css({top:0,right:0,bottom:0,left:0,width:"100%",height:"100%"})}if(Q("#fancy_outer").is(":visible")&&i==Q("#fancy_outer").width()&&m==Q("#fancy_outer").height()){Q("#fancy_content").fadeOut("fast",function(){Q("#fancy_content").empty().append(Q(e)).fadeIn("normal",function(){T()})});return}var S=Q.fn.fancybox.getViewport();var h=(i+36)>S[0]?S[2]:(S[2]+Math.round((S[0]-i-36)/2));var k=(m+50)>S[1]?S[3]:(S[3]+Math.round((S[1]-m-50)/2));var l={left:h,top:k,width:i+"px",height:m+"px"};if(Q("#fancy_outer").is(":visible")){Q("#fancy_content").fadeOut("normal",function(){Q("#fancy_content").empty();Q("#fancy_outer").animate(l,M.zoomSpeedChange,M.easingChange,function(){Q("#fancy_content").append(Q(e)).fadeIn("normal",function(){T()})})})}else{if(M.zoomSpeedIn>0&&M.itemArray[M.itemCurrent].orig!==undefined){Q("#fancy_content").empty().append(Q(e));var f=M.itemArray[M.itemCurrent].orig;var j=Q.fn.fancybox.getPosition(f);Q("#fancy_outer").css({left:(j.left-18)+"px",top:(j.top-18)+"px",width:Q(f).width(),height:Q(f).height()});if(M.zoomOpacity){l.opacity="show"}Q("#fancy_outer").animate(l,M.zoomSpeedIn,M.easingIn,function(){T()})}else{Q("#fancy_content").hide().empty().append(Q(e)).show();Q("#fancy_outer").css(l).fadeIn("normal",function(){T()})}}}function C(){if(M.itemCurrent!=0){Q("#fancy_left, #fancy_left_ico").unbind().bind("click",function(S){S.stopPropagation();M.itemCurrent--;E();return false});Q("#fancy_left").show()}else{if(M.itemArray.length!=1){Q("#fancy_left, #fancy_left_ico").unbind().bind("click",function(S){S.stopPropagation();M.itemCurrent=M.itemArray.length-1;E();return false});Q("#fancy_left").show()}}if(M.itemCurrent!=(M.itemArray.length-1)){Q("#fancy_right, #fancy_right_ico").unbind().bind("click",function(S){S.stopPropagation();M.itemCurrent++;E();return false});Q("#fancy_right").show()}else{if(M.itemArray.length!=1){Q("#fancy_right, #fancy_right_ico").unbind().bind("click",function(S){S.stopPropagation();M.itemCurrent=0;E();return false});Q("#fancy_right").show()}}}function T(){C();D();Q(document).keydown(function(S){if(S.keyCode==27){Q.fn.fancybox.close();Q(document).unbind("keydown")}else{if(S.keyCode==37&&M.itemCurrent!=0){M.itemCurrent--;E();Q(document).unbind("keydown")}else{if(S.keyCode==39&&M.itemCurrent!=(M.itemArray.length-1)){M.itemCurrent++;E();Q(document).unbind("keydown")}}}});if(M.centerOnScroll){Q(window).bind("resize scroll",Q.fn.fancybox.scrollBox)}else{Q("div#fancy_outer").css("position","absolute")}if(M.hideOnContentClick){Q("#fancy_wrap").click(Q.fn.fancybox.close)}Q("#fancy_overlay, #fancy_close").bind("click",Q.fn.fancybox.close);Q("#fancy_close").show();if(M.itemArray[M.itemCurrent].title!==undefined&&M.itemArray[M.itemCurrent].title.length>0){Q("#fancy_title div").html(M.itemArray[M.itemCurrent].title);Q("#fancy_title").show()}if(M.overlayShow&&L){Q("embed, object, select",Q("#fancy_content")).css("visibility","visible")}if(Q.isFunction(M.callbackOnShow)){M.callbackOnShow()}P=false}return this.unbind("click").click(F)};Q.fn.fancybox.scrollBox=function(){var A=Q.fn.fancybox.getViewport();Q("#fancy_outer").css("left",((Q("#fancy_outer").width()+36)>A[0]?A[2]:A[2]+Math.round((A[0]-Q("#fancy_outer").width()-36)/2)));Q("#fancy_outer").css("top",((Q("#fancy_outer").height()+50)>A[1]?A[3]:A[3]+Math.round((A[1]-Q("#fancy_outer").height()-50)/2)))};Q.fn.fancybox.getNumeric=function(B,A){return parseInt(Q.curCSS(B.jquery?B[0]:B,A,true))||0};Q.fn.fancybox.getPosition=function(B){var A=B.offset();A.top+=Q.fn.fancybox.getNumeric(B,"paddingTop");A.top+=Q.fn.fancybox.getNumeric(B,"borderTopWidth");A.left+=Q.fn.fancybox.getNumeric(B,"paddingLeft");A.left+=Q.fn.fancybox.getNumeric(B,"borderLeftWidth");return A};Q.fn.fancybox.showIframe=function(){Q(".fancy_loading").hide();Q("#fancy_frame").show()};Q.fn.fancybox.getViewport=function(){return[Q(window).width(),Q(window).height(),Q(document).scrollLeft(),Q(document).scrollTop()]};Q.fn.fancybox.animateLoading=function(){if(!Q("#fancy_loading").is(":visible")){clearInterval(O);return}Q("#fancy_loading > div").css("top",(N*-40)+"px");N=(N+1)%12};Q.fn.fancybox.showLoading=function(){clearInterval(O);var A=Q.fn.fancybox.getViewport();Q("#fancy_loading").css({left:((A[0]-40)/2+A[2]),top:((A[1]-40)/2+A[3])}).show();Q("#fancy_loading").bind("click",Q.fn.fancybox.close);O=setInterval(Q.fn.fancybox.animateLoading,66)};Q.fn.fancybox.close=function(){P=true;Q(K).unbind();Q("#fancy_overlay, #fancy_close").unbind();if(M.hideOnContentClick){Q("#fancy_wrap").unbind()}Q("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide();if(M.centerOnScroll){Q(window).unbind("resize scroll")}__cleanup=function(){Q("#fancy_overlay, #fancy_outer").hide();if(M.centerOnScroll){Q(window).unbind("resize scroll")}if(L){Q("embed, object, select").css("visibility","visible")}if(Q.isFunction(M.callbackOnClose)){M.callbackOnClose()}P=false};if(Q("#fancy_outer").is(":visible")!==false){if(M.zoomSpeedOut>0&&M.itemArray[M.itemCurrent].orig!==undefined){var B=M.itemArray[M.itemCurrent].orig;var C=Q.fn.fancybox.getPosition(B);var A={left:(C.left-18)+"px",top:(C.top-18)+"px",width:Q(B).width(),height:Q(B).height()};if(M.zoomOpacity){A.opacity="hide"}Q("#fancy_outer").stop(false,true).animate(A,M.zoomSpeedOut,M.easingOut,__cleanup)}else{Q("#fancy_outer").stop(false,true).fadeOut("fast",__cleanup)}}else{__cleanup()}return false};Q.fn.fancybox.build=function(){var A="";A+='<div id="fancy_overlay"></div>';A+='<div id="fancy_wrap">';A+='<div class="fancy_loading" id="fancy_loading"><div></div></div>';A+='<div id="fancy_outer">';A+='<div id="fancy_inner">';A+='<div id="fancy_close"></div>';A+='<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>';A+='<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>';A+='<div id="fancy_content"></div>';A+='<div id="fancy_title"></div>';A+="</div>";A+="</div>";A+="</div>";Q(A).appendTo("body");Q('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo("#fancy_title");if(L){Q("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>');Q("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG()}};Q.fn.fancybox.defaults={padding:10,imageScale:true,zoomOpacity:false,zoomSpeedIn:0,zoomSpeedOut:0,zoomSpeedChange:300,easingIn:"swing",easingOut:"swing",easingChange:"swing",frameWidth:425,frameHeight:355,overlayShow:true,overlayOpacity:0.3,hideOnContentClick:true,centerOnScroll:true,itemArray:[],callbackOnStart:null,callbackOnShow:null,callbackOnClose:null};Q(document).ready(function(){Q.fn.fancybox.build()})})(jQuery);
$(document).ready(function(){$("a.detailImage").fancybox({zoomSpeedIn:300,zoomSpeedOut:300,overlayShow:true})});
var addtoLayout=1;
var addtoMethod=1;
var AddURL=encodeURIComponent(document.location.href);
var AddTitle=escape(document.title);
var txtVersion="1.1";
var addtoInterval=null;
var popupWin="";
function intervalMgr(){if(/Safari/i.test(navigator.userAgent)){var B=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(B);closeAddTo()}},1000)}else{var B=setInterval("closeAddTo();",1000)}}function addtoWin(B){if(!popupWin.closed&&popupWin.location){popupWin.location.href=B;intervalMgr()}else{popupWin=window.open(B,"addtoPopUp","width=770px,height=500px,status=0,location=0,resizable=1,scrollbars=1,left=0,top=100");if(!popupWin.opener){popupWin.opener=self}intervalMgr()}if(window.focus){popupWin.focus()}return false}function closeAddTo(){if(!popupWin.closed&&popupWin.location){if(popupWin.location.href==AddURL){popupWin.close()}}else{clearInterval(addtoInterval);return true}}

function handleError(){return true}
window.onerror=handleError;
function FixNewsAndFeatureBox(D, C) {
   newsBox = $("#" + D); 
   featureBox = $("#" + C); 
   newsBoxWidth = newsBox.width(); 
   featureBoxWidth = featureBox.width(); 
   switch(true) {
      case (newsBoxWidth == null) : featureBox.css("width", "100%"); 
      break; 
      case (featureBoxWidth == null) : newsBox.css("width", "100%"); 
      break}
   }




