/* Snap Shots Code Copyright (c) 2009, Snap Technologies, Inc. All rights reserved. * Your use of this code is subject to the Snap Shots Terms of Service * located at https://account.snap.com/print_terms.php */ if(typeof SNAP_COM=="undefined"){SNAP_COM={} }SNAP_COM.get_js_src=function(){var D,C,E=null;var B=/\/(snap_preview_anywhere|snap_shots).js/;var A=document.getElementsByTagName("script");C=A.length;for(D=0;D=this.cfg.auto_shot.limit||C.inspect||C.active>=C.limit){return false}if(this.cfg.auto_shot.plimit){G=this.el_prop(F,"p_count")||0;if(!F||G>=this.cfg.auto_shot.plimit){return false}G++ }if(this.autoshot_rlimit_re){D=D||F;E=this.el_prop(D,"r_count")||{};if(!D||E[C.id]){return false}E[C.id]=(E[C.id]||0)+1}if((B.pos-B.last_pos)=this.cfg.auto_shot.limit){return L}Q=L.nodeValue;G=0;C=this.autoshot_match(Q);O=C.length;for(N=0;N10000){B=10000}D+=B;this.last_partial_check_count=E}if(this.first_scan){this.first_scan=false}else{this.sample()}}this.timer_id.partial=this.later(D,this.partial_check); this.cfg.partial_check.attempts--},onload:function(){this.clear_timer("partial");this.cfg.partial_check.attempts=0;this.body_loaded=true;if(this.cfg.rescan_after_load){this.partial_check()}if(!this.div_added){this.add_main_div() }this.shot_scan();this.sample()},get_all_shot_nodes:function(D,F,G){var C=D.getElementsByTagName("*");for(var B=0;B\n
\n
\n
\n
\n\n\n\n\n
\n
\n\n\n\n\n\n\n\n
\n\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
  
\n \n \n
\n
 
\n \n \n
\n \n
\n\n
\n
\n
\n \n \n
\n'.replace(/__T_GIF__/g,this.cfg.prefix.cdn_image+"t.gif"); this.get_all_shot_nodes(this.div.main,this.div);this.set_css();this.visible(this.div,false);this.div.flash_overlay.title=this.cfg.text.ClickToPlay;if(this.cfg.size=="large"){this.div.zoom_img.style.display="none" }this.div.share_button.style.display="none";this.raise_loading_img();this.observe(this.div.bubble,"mouseover",this.rollover);this.observe(this.div.bubble,"mouseout",this.rollout);this.observe(this.div.option_iframe,"mouseover",this.rollover); this.observe(this.div.option_iframe,"mouseout",this.rollout);for(E=0;Ethis.cfg.css_pos.main.w){this.set_css(null); this.draw_bubble(null)}if(this.el_prop(D,"is_link_icon")){E=this.cfg.delay.show_sli}if(C.style.visibility=="visible"){if(this.current_element!=H){E=F}else{return }}if(C.style.visibility=="visible"){this.pre_tmr=new SNAP_COM.timer_obj(); this.pre_tmr.enabled(this.tmr_on);this.pre_tmr.mark("mouseover")}else{this.view.id=this.rand_hash(this.cfg.rnd+G.clientX+G.clientY);this.view.confirm=true;this.tmr=new SNAP_COM.timer_obj();this.tmr.enabled(this.tmr_on); this.tmr.mark("mouseover");this.tmr.set_id(this.view.id)}var J=true;if(B&&B.className&&B.className.match(/\bsnap_shots?_custom/i)&&!B.className.match(/WithAds$/i)){J=false}this.shot_data=this.get_shot_data(D); if(J&&!I&&this.cfg.has_marea){if(!this.lb_is_linkbubble(this.shot_data.svc)){this.timer_id.prefetch=this.later(Math.min(this.cfg.delay.prefetch,E),this.marea_prepare,null,this.cfg.ad_type)}}if(decodeURIComponent(this.shot_data.svc).match(/linkbubble_shopping/i)){E=750 }this.timer_id.show=this.later(E,this.show,D)},visible:function(C,B){if(B!=undefined){C.main.style.visibility=B?"visible":"hidden",C.box.style.display=B?"":"none";if(!B){C.option_cancel.style.display="none" }}return(C.main.style.visibility=="visible")},show:function(H){var C=((this.cfg.trigger_position=="icon")&&this.el_prop(H,"link_icon"));var G;var D;if((this.cfg.trigger_position=="icon")&&this.el_prop(H,"link_icon")){var I=this.getXY(this.el_prop(H,"link_icon")||H); G=I[0];D=I[1]}else{G=this.current_ex;D=this.current_ey}if(this.visible(this.div)||this.lb_active()){this.view.id=this.rand_hash(this.cfg.rnd+G+D);this.view.confirm=true}if(this.lb_active()){this.lb_hide() }var B=this.get_shot_data(H);this.current_element=B.element;if(B.svc.match(/linkbubble/i)){this.lb_show(H,B);return }if(this.pre_tmr){this.tmr.mark("hide");this.tmr.log(this);this.tmr=this.pre_tmr;this.pre_tmr=undefined }else{if(!this.tmr){this.tmr=new SNAP_COM.timer_obj();this.tmr.enabled(this.tmr_on)}}this.tmr.mark("show");this.tmr.set_id(this.view.id);if(this.other_bubbles){for(var F=0;F(2*R.h/5))?"b":"t"; P.orientation+=(O>(R.w/2))?"r":"l";P.y=(P.orientation.substr(0,1)=="t")?(F+B.h+I):(F-D.h-B.h-I);P.x=(P.orientation.substr(1,1)=="l")?(H-J):(H-D.w+J);M={h:(D.h+B.h),w:(D.w+B.w)};if(C!="linkbubble"&&((P.orientation.substr(0,1)=="t")&&((N+M.h)>R.h)||(P.orientation.substr(0,1)=="b")&&((N-M.h)<0))){if(R.h>(D.h+(2*G))&&((O+D.w)0)&&N>(K.t+G)&&N<(R.h-K.b-G)){E=K.t; L=R.h-(N+(D.h-E)+S);if(L<0){E-=L}P.orientation=P.orientation.substr(1,1);if(P.orientation=="l"){P.x=H+Q.w+3}else{P.x=H-D.w-Q.w-3}P.y=F-E;P.orientation+="_"+E}}return P},orientation:function(D,E,B){var T,L,O,Q,R,J,G,U,C,W,V=1; var X,M;var N=this.cfg.pointer;var S,P,F;var K=this.get_active_div(B);var I=parseInt(K.body.style.height.replace(/\D/g,""));if(B==null){this.current_orientation=D}else{this.other_bubbles[B].current_orientation=D }if(P=D.match(/^([lr])_(\d+)$/)){D=P[1];F=P[2]}E=false;J=(D.substr(0,1)=="t")?"top":"bottom";G=(D.substr(1,1)=="l")?"left":"right";S=K.bg_div_point;this.set_palette_img(S,"point_"+D,B);S.style.top="auto"; S.style.left="auto";S.style.bottom="auto";S.style.right="auto";X=parseInt(K.bg_div_point.style.height.replace(/\D/g,""));M=parseInt(K.bg_div_point.style.width.replace(/\D/g,""));if(D=="pin"){S.style.visibility="hidden" }else{S.style.visibility="inherit";if(D=="l"){S.style.top=(F-Math.round(X/2))+"px";S.style.left="-"+(M-N.left.x)+"px"}else{if(D=="r"){S.style.top=(F-Math.round(X/2))+"px";S.style.right="-"+(M-N.right.x)+"px" }else{if(J=="top"){S.style.top="-"+(X-N[J].y)+"px"}else{S.style.bottom="-"+(X-N[J].y)+"px"}if(G=="left"){S.style.left=N[J].x+"px"}else{S.style.right=N[J].x+N.r_offset+"px"}}}}Q=(N.x-N.x0)/(N.steps-1);L=(N.w-N.w0)/(N.steps-1); O=X/N.steps;W=N.x+(G=="right"?N.r_offset:0);C=5-N[J].y;for(T=0;T0)){R=K.pointer0.style;R.visibility="inherit";var H=["height","width","top","left","bottom","right"];for(T=0;TD){E.disable_a.style.width=B}else{if(D>B){E.option_a.style.width=D}}}},hideOptionMenu:function(B){var C=this.get_active_div(B);C.option_menu.style.visibility="hidden"},changePaletteImg:function(F,D,C){var G=this.get_active_div(C); var B=this.cfg;if(B.palette[D]==null){return }var E=(F&&F.style)?F.style:G[F].style;E.backgroundColor="transparent";E.backgroundImage="url("+B.img.palette+")";E.backgroundPosition=B.palette[D].loc;E.backgroundRepeat="no-repeat"; E.width=B.palette[D].w+"px";E.height=B.palette[D].h+"px"},set_palette_img:function(E,I,C){var D;var H=this.get_active_div(C);var B=this.get_active_cfg(C);var G,F=null;if(B.png_palette[I]){F=B.png_palette; G=B.img.png_palette}else{if(B.lb_palette[I]){F=B.lb_palette;G=B.img.lb_palette}else{return }}D=E.getElementsByTagName("img")[0];E.style.height=F[I].h+"px";E.style.width=F[I].w+"px";E.style.overflow="hidden"; if(this.needs_png_fix){D.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+G+"',sizingMethod='image')";D.src=B.prefix.cdn_image+"t.gif"}else{D.src=G}D.style.position="absolute"; D.style.left="-"+F[I].x+"px";D.style.top="-"+F[I].y+"px"},tok:function(B){return this.cfg.tkn+"02"+this.hash32(this.cfg.tkn+"61989f52"+B)},tknr:function(B){if(B===undefined){B=Math.min(this.cfg.tknd,(this.cfg.tknx-parseInt(this.now()/1000))); if(B<0){B=0}}var C=this.cfg.prefix.preview+"tkr.js?key="+this.cfg.key+"&tk="+this.tok(this.cfg.tkn+this.cfg.key)+"&v="+this.cfg.version+"&r="+Math.random();this.clear_timer("tok");this.timer_id.tok=this.later((B*1000),this.add_js,C,"tkn") },hash32:function(D){var C=5003;D=D.toString();for(var B=0;B>6)}C+=(C<<3);C^=(C>>11);C+=(C<<15);C=Math.abs(C).toString(16);while(C.length<8){C="0"+C}return C },rand_hash:function(B){return SNAP_COM.hex_sha1(B.toString()+Math.random()+this.now()+navigator.userAgent+document.location.href).substr(0,32)},raise_shot:function(D,B){var F=this.get_active_div(B);var E="hidden",C=""; if(D=="preview"){E="";C="hidden"}F.preview.style.visibility=C;F.preview_img.style.visibility=E;F.url_a.style.visibility=E},disable_marea_once:function(B){var C=this;var D=function(){this.cfg.css_pos.preview.h-=this.cfg.offset.marea; this.cfg.css_pos.preview_div.h-=this.cfg.offset.marea;this.cfg.css_pos.marea.h+=this.cfg.offset.marea;this.resize(this.cfg.size,B,true,true,"hidden");this.div.marea.style.display="";this.cfg.has_marea=true; this.marea_show(B,"none")};if(this.cfg.has_marea){this.cfg.css_pos.preview.h+=this.cfg.offset.marea;this.cfg.css_pos.preview_div.h+=this.cfg.offset.marea;this.cfg.css_pos.marea.h-=this.cfg.offset.marea; this.cfg.has_marea=false;this.resize("custom",B,true,true,"visible");this.div.marea.style.display="none";this.marea_hide(B);this.hooks.onHide.push({fn:function(){D.apply(C)},keep:false})}},show_shot:function(K,B,S){var E,C,U,V,R,Y,X,P,W,J,M,L=false,Q=false; var O=this.get_active_div(B);var F=this.get_active_cfg(B);var D=0,Z=this,N=K.element.getElementsByTagName("img");for(var T=0;T'}}E+="";this.marea_set_beacon(I,F,E) }this.marea_pane_data(I,F,"action",H.marea_type)}this.marea_process(I)},update_preview_links:function(C,E){var B,F;var G=this.get_active_div(E);var D=this.get_active_cfg(E);F=C.redir_url.replace(/\w+:\/\/(www\.)?/,""); F=F.replace(/^([-\w.]*)\/$/,"$1");B=D.url_max?D.url_max:50;if(F.length>B){F=F.substr(0,B)+"..."}G.url.innerHTML=F;G.url_a.href=C.url;G.url_favicon.href=C.url;G.url_arrow.href=C.url;G.img_a.href=C.url;G.url_a.target=C.target; G.url_favicon.target=C.target;G.url_arrow.target=C.target;G.img_a.target=C.target;G.url_a.title=D.text.GoToURL.replace(/%URL/,F);G.url_favicon.title=D.text.GoToURL.replace(/%URL/,F);G.url_arrow.title=D.text.GoToURL.replace(/%URL/,F); G.img_a.title=G.url_a.title},is_preview_url:function(C){if(this.cfg.preview_type=="text"){return false}if(this.cfg.rich_shot_exceptions!=""){if(C.match(this.rich_shot_exceptions_re)){return true}}var B=C.match(/\w+:\/\/([^#]*)/); if(B&&B[1].match(this.preview_re)){return false}return true},get_inner_text:function(B,C){var D="";if(B.innerText!==undefined){D=B.innerText}else{if(B.textContent!==undefined){D=B.textContent}}if(C===undefined){return this.trim(D).substr(0) }else{return this.trim(D).substr(0,C)}},get_shot_data:function(B){var I,H,F,G;var E;var J,D;var C=[];var K={svc:"",tag:"",url:"",target:"",element:B,trigger:"",product:"",auto:false};if(this.el_prop(B,"is_link_icon")){K.trigger="icon" }else{K.trigger="link"}B=this.el_prop(B,"shot_parent")||B;K.element=B;K.trigger=(this.el_prop(B,"trigger")=="both"?"both":"only")+"_"+K.trigger;if(B.href!==undefined){K.url=B.href;K.target=B.target}if(typeof SNAP_COM!="undefined"&&SNAP_COM.translateURL){if(K.target.toLowerCase()=="_search"){K.target="_SELF" }K.url=SNAP_COM.translateURL(K.url);K.redir_url=K.url}if(this.cfg.redirect_param){regexS="[\\?&]"+this.cfg.redirect_param+"=([^&#]*)";regex=new RegExp(regexS);F=K.url.match(regex);if(F){K.redir_url=decodeURIComponent(F[1]) }else{K.redir_url=K.url}}else{K.redir_url=K.url}if(this.el_prop(B,"markup")){if((B.innerText!==undefined)&&B.innerText.length){K.tag=this.trim(B.innerText).substr(0,500).replace(String.fromCharCode(164),"¤") }else{if(B.textContent!==undefined){K.tag=this.trim(B.textContent).substr(0,500)}else{K.tag=this.trim(B.innerHTML).substr(0,500)}}C.push(encodeURIComponent(B.className.match(/\bsnap_(shots?_\S+|linkbubble?\S+)/ig).join("|"))); E=B.firstChild;while(E){if(E.tagName){F=E.className.match(/\bsnap_shots?_\S+/ig);if(F){J=encodeURIComponent(F.join("|"));D=encodeURIComponent(this.get_inner_text(E,500));C.push(J+"="+D)}}E=E.nextSibling }K.svc=C.join("&")}else{K.is_preview=this.is_preview_url(K.redir_url)}if(this.el_prop(B,"auto")){K.auto=this.el_prop(B,"autoshot_data");K.product=K.auto.product}else{K.product="s"}return K},set_load_tmr_js:function(C,D){var B; if((B=D.match(/^http:\/\/ad.(doubleclick).net\//))||(B=D.match(/\/(marea).js\?/))){this.set_load_tmr(C,B[1])}},set_load_tmr:function(C,D){var B=this;this.tmr.mark(D+"_start");this.observe(C,"load",function(E){B.tmr.mark(D+"_end") })},confirm_shot_load:function(B){if(this.view.confirm){this.div.arrow.src=this.cfg.prefix.image+"snip/arrow-contd/"+this.view.id+"/d/"+B+"/p"+(this.now()-this.view.time)+"/arrow/"}this.view.confirm=false },preview_iframe_loaded:function(B){this.tmr.mark("shot_iframe_end");this.lower_loading_img()},preview_img_loaded:function(H,G){this.tmr.mark("preview_end");if(H.currentTarget){var E=H.currentTarget}else{var E=H.srcElement }if(E.height<10&&E.width<10){this.view.confirm=false}if((E.width==6&&E.height==3)||(E.width==1&&E.height==3)){this.lower_loading_img();this.raise_shot("iframe",G);if(this.isSafari){this.later(300,this.lower_loading_img) }if(E.width==1){this.rss_toggle(null,"rss",G);this.showTopLeftMenu(G)}}else{if(!E.src.match(/\/t.gif/)){this.lower_loading_img()}if(E.height>1&&E.width>1&&E.src.indexOf("&vid=nolog")==-1){this.confirm_shot_load("ps") }if(this.div.preview_img.width==274||this.div.preview_img.width==431){var B=1;var C=this.div.preview_img.src;var I=/retry=(\d+)/;var F=C.match(I);if(F){B=Number(F[1])+1;C=C.replace(I,"retry="+B)}else{C+="&retry="+B }if(B>this.cfg.retry_interval.length){return }if(B==this.cfg.retry_interval.length){C+="&final=1"}var J=this;var D=this.cfg.retry_interval[B-1];if(this.retry_url_list[this.div.url_a.href]!=C){this.retry_url_list[this.div.url_a.href]=C; if(this.visible(this.div)){this.clear_timer("retry");this.timer_id.retry=this.sto(function(){J.div.preview_img.src=C},D)}}}}},link_click:function(F){var E=this;var G=false;var D=this.current_url;switch(F.type){case"mouseup":var B=0; if(typeof (F.which)=="number"){B=F.which}else{if(typeof (F.button)=="number"){B=F.button}}if((this.isIE&&B==4)||(!this.isIE&&B==2)){G=true}break;case"click":G=true;break}if(G){this.tmr.mark("click");this.tmr.log(this); var C=this.cfg.prefix.preview+"explore/"+Math.floor((Math.random()*100000))+"/?url="+encodeURIComponent(D)+"&key="+this.cfg.key+"&src="+encodeURIComponent(this.cfg.source)+"&cp="+this.cfg.campaign;this.div.url_a.href=C+"&tol=url"; this.div.url_favicon.href=C+"&tol=url_favicon";this.div.url_arrow.href=C+"&tol=url_arrow";this.div.img_a.href=C+"&tol=image";this.sto(function(){E.div.url_a.href=E.current_url;E.div.url_favicon.href=E.current_url; E.div.url_arrow.href=E.current_url;E.div.img_a.href=E.current_url},0)}},sample:function(){var F,H,C,E=[],B=[],D=this.cfg.auto_shot.list.length;var G=Math.random();if(this.sampled){return }this.sampled=true; if(this.cfg.srate){if(this.cfg.srate.main>=G){E.push("m"+this.cfg.srate.main)}if(this.cfg.auto_shot.list.length&&(this.cfg.srate.auto>=G)){E.push("a"+this.cfg.srate.auto)}if(this.cfg.auto_shot.inspect){E.push("i"+this.cfg.srate.inspect); for(F=0;FG.left&&BG.top&&L(this.getLeft(E)+G.left)&&B<(this.getRight(E)+G.left)&&L>(this.getTop(E)+G.top)&&L<(this.getBottom(E)+G.top)){return true }}}return false},title_mouseover:function(B){this.div.url_a.style.color="#009933"},title_mouseout:function(B){this.div.url_a.style.color="#0000EE"},pin:function(B){var C=this.get_active_div(B);this.orientation("pin",false,B); C.pin_close_img.style.display="inline"},destroy_bubble:function(C,B){if(this.other_bubbles[B]){this.other_bubbles[B].current_url=null;this.other_bubbles[B].current_tag=null;this.other_bubbles[B].main.style.display="none"; this.other_bubbles[B].main.parentNode.removeChild(this.other_bubbles[B].main)}},pin_check:function(C){this.hideFlashOverlay();this.div.pin_close_img.style.display=this.cfg.close_btn?"inline":"none";try{try{var B=this.current_url.split("//")[1].split("/")[0]; var F=this.current_url.split("//")[1].split("/")[1];var D=this.current_url.split("?")[0].split(".");var G=D[D.length-1]}catch(E){}if((C.svc&&C.svc.indexOf("Snap_Shot_")!=-1&&(C.svc.match(/Video(?!_Engage)/i)||C.svc.indexOf("Audio")!=-1))||(B.toLowerCase().indexOf("youtube.com")!=-1&&F.indexOf("v")!=-1&&F.indexOf("view_play_list?")==-1)||(B.toLowerCase().indexOf("video.google.")!=-1&&F.indexOf("videoplay")!=-1)||(B.toLowerCase().indexOf("metacafe.com")!=-1&&F.indexOf("watch")!=-1)||(B.toLowerCase().indexOf("revver.com")!=-1&&F.indexOf("watch")!=-1)||(B.toLowerCase().indexOf("revver.com")!=-1&&F.indexOf("video")!=-1)||(B.toLowerCase().indexOf("video.xanga.com")!=-1)||(B.toLowerCase().indexOf("photobucket.com")!=-1&&this.current_url.indexOf("action=view")!=-1)||(B.toLowerCase().indexOf("veoh.com")!=-1&&F.indexOf("videos")!=-1)||(B.toLowerCase().indexOf("vids.myspace.com")!=-1)||G.toLowerCase()=="mp3"){this.showFlashOverlay() }}catch(E){}},cloneBubble:function(){var E=this;this.marea_hide(null);this.div.preview_img.src="about:blank";var H=this.div.main.cloneNode(true);var B=document.getElementsByTagName("body")[0];B.insertBefore(H,this.div.main); var C=this.other_bubbles.length;this.other_bubbles[C]=new Object();this.other_bubbles[C].main=H;this.get_all_shot_nodes(this.other_bubbles[C].main,this.other_bubbles[C]);this.other_bubbles[C].current_url=this.current_url; this.other_bubbles[C].current_tag=this.current_tag;this.other_bubbles[C].current_element=this.current_element;this.other_bubbles[C].current_orientation=this.current_orientation;this.other_bubbles[C].cfg=this.cfg; this.marea_init(C);var I=this.other_bubbles[C];this.observe(I.submit,"click",this.form_submit,C);this.observe(I.box,"keydown",this.form_submit,C);var G=I.box;this.observe(G,"focus",function(J){if(G.value===E.cfg.text.SearchTheWeb){G.value="" }});this.observe(I.preview_img,"load",this.preview_img_loaded,C);var F=I.main.getElementsByTagName("input");for(var D=0;D1800){break}D+="url"+(C+1)+"="+encodeURIComponent(B)}this.num_precrawl_sent=C;D+="&url_count="+this.thumbnail_precrawl_list.length;this.div.lg.src=this.cfg.prefix.preview+"thumbnail_precrawl.php"+D; if(this.num_precrawl_sent!=this.thumbnail_precrawl_list.length){this.later(1000,this.sendPrecrawlList)}},logFeatureClick:function(B){this.div.lg.src=this.cfg.prefix.preview+"halo_proxy.php?feature_type="+B+"&img=1&r="+this.now()+"&vid="+this.view.id },setPreviewIframeSrc:function(C,B){this.tmr.mark("shot_iframe_start");var D=this.get_active_div(B);if(this.isSafari){if(D.preview){this.later(50,function(){D.preview.src=(C)});if(this.shot_data&&!this.shot_data.is_preview){this.later(300,this.lower_loading_img) }}}else{if(D.preview.contentWindow){D.preview.contentWindow.location.replace(C)}}},sto:function(C,B){if(this.cfg.flavor=="xanga"){if(window.restrictedSetTimeout){return window.restrictedSetTimeout(C,B) }else{return window.setTimeout(C,B)}}else{return window.setTimeout(C,B)}},dfs:function(C,B){if(C===undefined){C=this.cfg.dfs}C+="";if(B){while(C.length<2){C="0"+C}C=B+""+C}return C},empty:function(D){var C,B=D.childNodes; for(C=B.length-1;C>=0;C--){D.removeChild(B[C])}},marea_init:function(B){var D,C,F=this.get_active_div(B),E={queue:{free:[],in_use:[],pending:[]},pane:[],element:[]};this.empty(F.marea);this.marea_data(B,E); for(D=0;D<2;D++){C=document.createElement("div");this.reset_css(C);C.style.position="absolute";C.style.top="0px";C.style.left="0px";C.style.width="100%";C.style.height="100%";C.style.backgroundColor="#EEEEEE"; C.style.overflow="hidden";C.style.display="none";E.queue.free.push(C);this.el_prop(C,"pid",D);this.el_prop(C,"bubble_id",B);E.element[D]=C;F.marea.appendChild(C);this.marea_init_pane(B,D)}},marea_init_pane:function(B,C){var D=this.marea_data(B); D.pane[C]={type:null,beacon:null,product:null,action:null};this.empty(D.element[C])},marea_data:function(B,C){if(B==null||B==undefined){B="null"}if(C!==undefined){this.marea[B]=C}return this.marea[B]},marea_prepare:function(L,M){var D,B,K,E,C=this.get_active_div(L),I=this.marea_data(L),H,F,J,G,N=this.shot_data.product||""; this.clear_timer("prefetch");if(!I.queue.free.length||!this.cfg.has_marea){return }for(G=0;G\n
\n
\n
\n
\n\n\n\n\n
\n
\n \n \n
\n
\n
 
\n\n'.replace(/__T_GIF__/g,this.cfg.prefix.cdn_image+"t.gif"); this.get_all_shot_nodes(this.lb.lb_main,this.lb);H=this.lb;for(F in H){if(!H[F]||!H.hasOwnProperty(F)){continue}if(!H[F].style){continue}this.reset_css(H[F]);G=H[F].style;if(F!="lb_main"&&!G.visibility){G.visibility="inherit" }G.zIndex=Number(G.zIndex)+99999}E=this.cfg.prefix.preview+"fcr.php?key="+this.cfg.key+"&ft=";this.lb.lb_logo.href=E+"linkbubble_logo&url="+encodeURIComponent(this.lb.lb_logo.href);this.lb.lb_help.href=E+"linkbubble_help&url="+encodeURIComponent(this.lb.lb_help.href); this.set_loc(this.cfg.lb.css_pos,this.lb);this.observe(this.lb.lb_main,"mouseover",this.rollover);this.observe(this.lb.lb_main,"mouseout",this.rollout);this.observe(this.lb.lb_close,"click",this.lb_hide,true); this.lb_draw_bubble()},lb_draw_bubble:function(){var D,E,F=this.lb;var C={t:"tb",b:"tb",l:"lr",r:"lr"};for(D in C){if(C.hasOwnProperty(D)&&C[D]!==undefined){E=this.cfg.prefix.image+"lb/lb_"+C[D]+".png"; if(this.needs_png_fix){F["lb_"+D+"_img"].runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+E+"',sizingMethod='scale')"}else{if(this.isSafari){F["lb_"+D+"_img"].src=E}else{F["lb_"+D+"_img"].style.backgroundImage="url("+E+")"; F["lb_"+D+"_img"].style.backgroundRepeat="repeat"}}}}C=["tl","tr","bl","br"];for(D=0;D ' }D+=""}else{D+=">5]|=128<<(24-Q%32);W[((Q+64>>9)<<4)+15]=Q;var X=Array(80);var V=1732584193;var U=-271733879;var T=-1732584194;var S=271733878;var R=-1009589776;for(var N=0;N>16)+(M>>16)+(L>>16);return(K<<16)|(L&65535)}function D(J,K){return(J<>>(32-K))}function F(M){var L=Array();var J=(1<>5]|=(M.charCodeAt(K/G)&J)<<(32-G-K%32)}return L}function H(L){var K=I?"0123456789ABCDEF":"0123456789abcdef";var M="";for(var J=0;J>2]>>((3-J%4)*8+4))&15)+K.charAt((L[J>>2]>>((3-J%4)*8))&15) }return M}SNAP_COM.hex_sha1=function(J){return H(B(F(J),J.length*G))}})();if(SNAP_COM.shot_config.version=="6.59"){SNAP_COM.shot=SNAP_COM.snap_shot_obj()}else{SNAP_COM.vmiss=document.createElement("img"); SNAP_COM.vmiss.src="http://shots.snap.com/vmis.php?vcfg="+SNAP_COM.shot_config.version+"&vjs=6.59";SNAP_COM.vmiss.style.positions="absolute";SNAP_COM.vmiss.style.visibility="hidden";(function(){function A(){var B=document.getElementsByTagName("body")[0],D=document.createElement("iframe"),C=D.style; D.src=SNAP_COM.get_js_src();C.display="none";C.position="absolute";C.bottom="0px";C.width="1px";C.height="1px";B.appendChild(D);if(window.setTimeout){window.setTimeout(function(){try{D.contentWindow.location.reload(true) }catch(E){}},500)}}if(SNAP_COM.window_loaded){A()}else{if(window.addEventListener){window.addEventListener("load",A,false)}else{if(window.attachEvent){window.attachEvent("onload",A)}}}})()};