if(typeof(websnapr_hash)=='undefined') { var websnapr_hash9="02d1e2a";var websnapr_hash12="5e65d56";var websnapr_hash23="e041459";var websnapr_hash33="72ed469";var websnapr_hash40="a673"; websnapr_hash=websnapr_hash9+websnapr_hash12+websnapr_hash23+websnapr_hash33+websnapr_hash40; } var WS={BaseHref:null,Key:null,ParentID:null,ClassName:null,Cursor:{x:0,y:0},Dimensions:{w:0,h:0,position:null,offset_x:0,offset_y:0,im:0,iw:0,ih:0},bolInitDone:null,Url:null,Bubble:document.getElementById("WSBubble")||{},opacTimer:null,Method:"w",hideTimer:null,showTimer:null,init:function(){if(WS.bolInitDone==null){WS.BaseHref="http://bubble.websnapr.com/v3/";WS.ClassName="websnapr";WS.addEvent(window,["mousemove"],WS.getCurPos);WS.addEvent(window,["resize"],WS.getDimensions);WS.addEvent(window,["scroll"],WS.getDimensions);var a=WS.fetchElements(),b=a.length;for(i=0;i<b;i++){WS.Url=a[i].href;if(WS.BubbleStyle=="i"){var c=document.createElement("img");c.setAttribute("src",WS.BaseHref+"images/websnapr7.gif");c.setAttribute("border",0);c.className="wsbubbleicon";WS.addEvent(c,["mouseover"],function(){WS.hideTimer=null;WS.showBubble(this)});WS.addEvent(c,["mouseout"],function(){WS.hideBubble()});a[i].appendChild(c)}else{WS.addEvent(a[i],["mouseover"],function(){WS.showBubble(this)});WS.addEvent(a[i],["mouseout"],function(){WS.hideBubble()})}}WS.createBubble();WS.createCSS();WS.bolInitDone=true}},createCSS:function(){WS.addCss("#WSBubble","display:none; overflow:hidden; position: absolute;");WS.addCss("#WSBubble.RB img","margin:27px 50px 0 10px;",false);WS.addCss("#WSBubble.LB img","margin:25px 0 0 60px;",false);WS.addCss("#WSBubble.RT img","margin:25px 50px 0 15px;",false);WS.addCss("#WSBubble.LT img","margin:25px 0 0 45px;",false);WS.addCss("#WSBubble.RB #ad","font-size:11px; margin-left:12px; margin-top:6px; width:300px; background-color:transparent;",false);WS.addCss("#WSBubble.LB #ad","font-size:11px; margin-left:58px; margin-top:6px; width:300px; background-color:transparent;",false);WS.addCss("#WSBubble.RT #ad","font-size:11px; margin-left:20px; margin-top:6px; width:300px; background-color:transparent;",false);WS.addCss("#WSBubble.LT #ad","font-size:11px; margin-left:48px; margin-top:6px; width:300px; background-color:transparent;",false);WS.addCss("#WSBubble #ad a","margin-right:10px;",false);WS.addCss("#WSBubble.small","width:320px; height:300px;",false);WS.addCss("#WSBubble.RB","width:370px; height:385px;padding: 20px 0 0 20px; margin-top:-5px; margin-left:-5px; background:url(http://bubble.websnapr.com/v3/files/wsbg_RB.png) no-repeat 23px 20px;",false);WS.addCss("#WSBubble.LB","width:370px; padding: 20px 20px 0 0; height:385px; margin-top:-5px; margin-left:-375px; background:url(http://bubble.websnapr.com/v3/files/wsbg_LB.png) no-repeat 0 20px;",false);WS.addCss("#WSBubble.RT","width:370px; height:385px;padding: 0 0 20px 20px; margin-top:-385px; margin-left: -5px; background:url(http://bubble.websnapr.com/v3/files/wsbg_RT.png) no-repeat top right;",false);WS.addCss("#WSBubble.LT","width:370px; height:385px; padding: 0 20px 20px 0; margin-top:-385px; margin-left:-370px; background:url(http://bubble.websnapr.com/v3/files/wsbg_LT.png) no-repeat top left;",false);if(navigator.userAgent.indexOf("MSIE 6")!=-1){WS.addCss("body #WSBubble.RB","background-image:url(http://bubble.websnapr.com/v3/files/wsbg_RB.png);",true);WS.addCss("body #WSBubble.LB","background-image:url(http://bubble.websnapr.com/v3/files/wsbg_LB.png);",true);WS.addCss("body #WSBubble.RT","background-image:url(http://bubble.websnapr.com/v3/files/wsbg_RT.png);",true);WS.addCss("body #WSBubble.LT","background-image:url(http://bubble.websnapr.com/v3/files/wsbg_LT.png);",true)}WS.addCss(".wsbubbleicon","margin-left:5px;",false)},addCss:function(a,b,c){if(document.createStyleSheet)if(c)navigator.userAgent.indexOf("MSIE 6")!=-1&&document.createStyleSheet().addRule(a,b);else document.createStyleSheet().addRule(a,b);else c||document.getElementsByTagName("style")[0].appendChild(document.createTextNode(a+"{"+b+"} \n"))},showBubble:function(a){if(WS.blockBubble!=true)if(WS.showTimer==null)WS.showTimer=window.setTimeout(function(){WS.showBubble2(a)},150)},showBubble2:function(a){WS.blockBubble=true;WS.showTimer=null;WS.clearHideTimeout();var b=a.parentNode.href;WS.getCurPos();var c=WS.getDimensions(a);WS.Url=b;b=WS.createWSUrl(a.className);WS.Bubble=document.getElementById("WSBubble");WS.Bubble.style.left=WS.getPosition(a).x+"px";WS.Bubble.style.top=WS.getPosition(a).y+"px";WS.Bubble.style.display="block";WS.Bubble.style.zIndex=1337;WS.Bubble.innerHTML='<img src="'+b+'" height="225" width="300">';WS.Bubble.innerHTML+='<iframe id="ad" allowtransparency="true" src="http://bubble.websnapr.com/v3/adsstatic.php?key='+WS.Key+'" border="0" frameborder="0" scrolling="no" style="overflow:hidden;"></iframe>';WS.Bubble.className=WS.getImgSize(a.className,"cn")+" "+c;WS.recAddEvent(WS.Bubble,["mouseover"],function(){WS.clearHideTimeout()});WS.addEvent(WS.Bubble,["mouseout"],function(){WS.hideBubble()})},recAddEvent:function(a,b,c){if(a.hasChildNodes())for(var d=0;d<a.childNodes.length;d++)WS.recAddEvent(a.childNodes[d],b,c);WS.addEvent(a,b,c)},hideBubble:function(){if(WS.hideTimer==null)WS.hideTimer=window.setTimeout(WS.hideBubble2,1E3)},hideBubble2:function(){WS.blockBubble=false;WS.Bubble=document.getElementById("WSBubble");WS.Bubble.innerHTML="";WS.Bubble.style.display="none"},clearHideTimeout:function(){window.clearTimeout(WS.hideTimer);WS.hideTimer=null},createBubble:function(){var a=document.createElement("div");a.id="WSBubble";a.className="small";document.getElementsByTagName("body")[0].appendChild(a)},createWSUrl:function(){var a=Math.random(100);return"http://"+WS.Domain+".websnapr.com/?sw=300&sh=225&url="+encodeURIComponent(WS.Url)+"&key="+encodeURIComponent(WS.Key)+"&hash="+encodeURIComponent(WS.Hash)+"&nocache="+a+"&size=s"},getDimensions:function(a){var b=a.className;WS.getImgSize(b,"m");WS.getImgSize(b,"w");WS.getImgSize(b,"h");if(document.documentElement)var c=document.documentElement;var d=window;if(typeof d.innerWidth=="number"){b=d.innerWidth;c=d.innerHeight}else if(c&&(c.clientWidth||c.clientHeight)){b=c.clientWidth;c=c.clientHeight}else{b=document.body.clientWidth;c=document.body.clientHeight}b=b-WS.getPosition(a).x<300?"L":"R";a=c-WS.getPosition(a).y<300?"T":"B";return b+a},getImgSize:function(a,b){var c="";if(b=="w")c=220;if(b=="h")c=170;if(b=="m")c=0;if(b=="cn")c="small";return c},addEvent:function(a,b,c){for(var d,e=0;e<b.length;e++){d=b[e];if(a.attachEvent){a["e"+d+c]=c;a[d+c]=function(){a["e"+d+c](window.event)};a.attachEvent("on"+d,a[d+c])}else try{a.addEventListener(d,c,false)}catch(f){}}},getPosition:function(a){a=a;for(var b="",c=0,d=0;typeof a=="object"&&typeof a.tagName!="undefined";){d+=a.offsetTop;c+=a.offsetLeft;b=a.tagName.toUpperCase();if(b=="BODY")a=0;if(typeof a=="object")if(typeof a.offsetParent=="object")a=a.offsetParent}position={};position.x=c;position.y=d;return position},fetchElements:function(){var a=[],b=[],c=[];if(WS.ParentID!=null){if(WS.Method==="c")c=WS.getElementsByClassName(WS.ParentID);else c[0]=document.getElementById(WS.ParentID);var d=false}else{c[0]=document;d=WS.Method=="w"}for(var e=0;e<c.length;e++){b=c[e].getElementsByTagName("a");for(i=0;i<b.length;i++){var f=b[i];if(f.href.search(eval("/^(http:|https:)/g"))!=-1){if(d){for(var j=f.className.split(" "),g=false,h=0;h<j.length;h++)g=g||j[h]==WS.ClassName;if(!g)continue}a=WS.mergeArray(a,f)}}}return a},getCurPos:function(a){var b;if(!a)a=window.event;if(a){if(typeof a.pageX=="number"){b=a.pageX;a=a.pageY}else if(typeof a.clientX=="number"){b=a.clientX;a=a.clientY;if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){b+=document.body.scrollLeft;a+=document.body.scrollTop}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){b+=document.documentElement.scrollLeft;a+=document.documentElement.scrollTop}}else return;WS.Cursor={x:b,y:a}}},mergeArray:function(a){for(var b=a,c=1;c<arguments.length;c++)b=b.concat(arguments[c]);return b},getElementsByClassName:function(a){var b,c=[],d=0,e;if(document.all)b=document.all;else if(document.getElementsByTagName&&!document.all)b=document.getElementsByTagName("*");for(i=0;i<b.length;i++)if(b[i].className.indexOf(a)!=-1){e=","+b[i].className.split(" ").join(",")+",";if(e.indexOf(","+a+",")!=-1){c[d]=b[i];d++}}return c}};WS.Key="Y4iWvw2sT6U1";WS.Method="w";WS.BubbleStyle="h";WS.Domain="images";WS.Hash=websnapr_hash;WS.addEvent(window,["load"],WS.init);
