(function(){$.fn.extend({sidebarShare:function(l){var p={"url":top.location.href,"method":"normal"};opts=$.extend(p,l);var u=escape(opts.url);var o=1024;var v=10;var t=70;var q=170;var s='<div class="jquery_share_sidebar_c"></div>';var r=$.browser.msie&&$.browser.version=="6.0"?true:false;function m(c,a,d){var b=[{"fb":'<div class="facebook"><div id="fb-root"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";fjs.parentNode.insertBefore(js, fjs);}(document, \'script\', \'facebook-jssdk\'));<\/script><div class="fb-like" data-href="'+unescape(a)+'" data-send="false" data-layout="box_count" data-width="'+t+'" data-show-faces="false"></div></div>',"fbsend":'<a href="http://www.facebook.com/sharer/sharer.php?u='+a+'" title="facebook share" target="_blank" rel="nofollow"><img alt="facebook" title="facebook" src="http://www.firmoo.com/facebook/fb_share.png" width="55" height="20"></a>',"twitter":'<a href="https://twitter.com/share" data-url="'+unescape(a)+'" class="twitter-share-button" data-lang="en" data-related="anywhereTheJavascriptAPI" data-count="vertical">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");<\/script>',"gplus":'<iframe allowtransparency="true" frameborder="0" hspace="0" id="I1_1324347691566" marginheight="0" marginwidth="0" name="I1_1324347691566" scrolling="no" src="https://plusone.google.com/_/+1/fastbutton?url='+a+'&amp;size=tall&amp;count=true&amp;annotation=&amp;hl=en-US&amp;jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fwidget%2F__features__%2Frt%3Dj%2Fver%3DBWWAV1vRUPc.en.%2Fsv%3D1%2Fam%3D!cJvlYArMcEiIuqQ9Og%2Fd%3D1%2F#id=I1_1324347691566&amp;parent=http%3A%2F%2Fwww.firmoo.com&amp;rpctoken=382360524&amp;_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe" style="left: 0px; top: 0px; width: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; height: 60px; position: static; visibility: visible; " tabindex="-1" vspace="0" width="100%" title="+1"></iframe>',"linkin":'<script src="http://platform.linkedin.com/in.js" type="text/javascript"><\/script> <script type="IN/Share" data-url="'+unescape(a)+'" data-counter="top"><\/script>',"addThis":'<div class="addthis"><div class="addthis_toolbox addthis_default_style "><a class="addthis_counter" addthis:url="'+unescape(a)+'"></a></div><script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-4ef1a12b0c7498c3"><\/script></div>'},{"fb":'<div class="facebook"><div id="fb-root"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";fjs.parentNode.insertBefore(js, fjs);}(document, \'script\', \'facebook-jssdk\'));<\/script><div class="fb-like" data-send="false" data-layout="button_count" data-width="90" data-href="'+unescape(a)+'" data-show-faces="false"></div></div>',"fbsend":'<div style="padding:0 5px;"><a href="http://www.facebook.com/sharer/sharer.php?u='+a+'" title="facebook share" target="_blank" rel="nofollow"><img alt="facebook" title="facebook" src="http://www.firmoo.com/facebook/fb_share.png" width="55" height="20"></a></div>',"twitter":'<a href="https://twitter.com/share" data-url="'+unescape(a)+'" class="twitter-share-button" data-lang="en">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");<\/script>',"gplus":'<iframe allowtransparency="true" frameborder="0" hspace="0" id="I1_1319687290274" marginheight="0" marginwidth="0" name="I1_1319687290274" scrolling="no" src="https://plusone.google.com/u/0/_/+1/fastbutton?url='+a+'&amp;size=medium&amp;count=true&amp;annotation=&amp;hl=en-US&amp;jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fwidget%2F__features__%2Frt%3Dj%2Fver%3DAZgRmsYCjtM.en.%2Fam%3D!oQWlKN7CPkX3SB93%2Fd%3D1%2F#id=I1_1319687290274&amp;parent=http%3A%2F%2Fwww.firmoo.com&amp;rpctoken=177267357&amp;_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe" style="left: 0px; top: 0px; width: 90px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; height: 20px; position: static; visibility: visible; " tabindex="-1" vspace="0" width="100%" title="+1"></iframe>',"linkin":'<script src="http://platform.linkedin.com/in.js" type="text/javascript"><\/script> <script type="IN/Share" data-url="'+unescape(a)+'" data-counter="right"><\/script>',"addThis":'<div class="addthis"><div class="addthis_toolbox addthis_default_style "><a class="addthis_counter addthis_pill_style" addthis:url="'+unescape(a)+'"></a></div></div>'},{"fbsend":'<a href="http://www.facebook.com/sharer/sharer.php?u='+a+'" title="facebook share" target="_blank" rel="nofollow"><img alt="facebook" title="facebook" src="http://www.firmoo.com/facebook/fb_share.png" width="55" height="20"></a>',"twitter":'<a title="Twitter" href="http://twitter.com/home?status='+a+'" target="_blank" rel="nofollow"><img alt="Twitter" title="Twitter" src="http://www.firmoo.com/includes/templates/firmoo/images/draw/tweetn.png" width="58" height="20"></a>',"gplus":'<iframe allowtransparency="true" frameborder="0" hspace="0" id="I1_1319687290274" marginheight="0" marginwidth="0" name="I1_1319687290274" scrolling="no" src="https://plusone.google.com/u/0/_/+1/fastbutton?url='+a+'&amp;size=medium&amp;count=true&amp;annotation=&amp;hl=en-US&amp;jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fwidget%2F__features__%2Frt%3Dj%2Fver%3DAZgRmsYCjtM.en.%2Fam%3D!oQWlKN7CPkX3SB93%2Fd%3D1%2F#id=I1_1319687290274&amp;parent=http%3A%2F%2Fwww.firmoo.com&amp;rpctoken=177267357&amp;_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe" style="left: 0px; top: 0px; width: 90px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; height: 20px; position: static; visibility: visible; " tabindex="-1" vspace="0" width="100%" title="+1"></iframe>',"linkin":'<a title="Twitter" href="javascript:window.open(\'http://www.linkedin.com/cws/share?url='+a+"&original_referer="+a+'&isFramed=false\',\'\',\'width=600,height=250\')" rel="nofollow"><img alt="Twitter" title="Linkin" src="http://www.firmoo.com/includes/templates/firmoo/images/icons/linkin_share.gif" width="63" height="20"></a>'}];if(d==1){$.each(b[0],function(e){c.find(".jquery_share_sidebar").append(s);c.find(".jquery_share_sidebar .jquery_share_sidebar_c:last").append(b[0][e]);});}else{if(d==2){$.each(b[1],function(e){c.find(".jquery_share_topbar").append(s);c.find(".jquery_share_topbar .jquery_share_sidebar_c:last").append(b[1][e]);});c.find(".jquery_share_topbar").append('<div class="clear"></div>');}else{if(d==3){$.each(b[2],function(e){c.find(".jquery_share_singlebar").append(s);c.find(".jquery_share_singlebar .jquery_share_sidebar_c:last").append(b[2][e]);});c.find(".jquery_share_singlebar").append('<div class="clear"></div>');}}}}function n(){if($(window).width()>=o+t+v){$(".jquery_share_topbar").hide();$(".jquery_share_sidebar").fadeIn(500);}else{$(".jquery_share_sidebar").hide();$(".jquery_share_topbar").fadeIn(500);}}if(opts.method=="normal"){$(this).prepend('<div class="jquery_share_sidebar" style="display:none; width:'+t+'px;"></div><div class="jquery_share_topbar" style="display:none;"></div>');$(".jquery_share_sidebar").css({"position":"absolute","left":"50%","top":q+"px","z-index":"99","marginLeft":"-"+($(".content_t").width()/2+t+v)+"px"});m($(this),u,1);m($(this),u,2);n();$(window).resize(function(){n();});$(window).scroll(function(){var a=document.documentElement.scrollTop+document.body.scrollTop+10;if($(window).width()>=o+t+v&&a>=q&&!r){$(".jquery_share_sidebar").css({"position":"fixed","top":"10px"});}else{$(".jquery_share_sidebar").css({"position":"absolute","top":q+"px"});}});}else{if(opts.method=="multiShare"){$.each($(this),function(){var a=$(this);$(this).prepend('<div class="jquery_share_topbar" style="display:none;"></div>');var b=escape($(this).parent().next().find("a").attr("href"));m($(this),b,2);});$(this).find(".jquery_share_topbar").show();}else{if(opts.method=="singleShare"){$(this).prepend('<div class="jquery_share_singlebar" style="display:none;"></div>');m($(this),u,3);$(this).find(".jquery_share_singlebar").show();}}}}});})();function FirmooSetCookie(f,i,g){var j=g?g:30;var h=new Date();h.setTime(h.getTime()+j*24*60*60*1000);document.cookie=f+"="+escape(i)+";expires="+h.toGMTString();}function FirmoogetCookie(c){var d=document.cookie.match(new RegExp("(^| )"+c+"=([^;]*)(;|$)"));if(d!=null){return unescape(d[2]);}return null;}function FirmoodelCookie(e){var f=new Date();f.setTime(f.getTime()-1);var d=getCookie(e);if(d!=null){document.cookie=e+"="+d+";expires="+f.toGMTString();}}function FirmooScroll(d,c){var c=c?c:"500";$("html,body").animate({scrollTop:$("*[name="+d+"]").offset().top},c);}function FirmooLoadImage(g,f,h,i){var i=i?i:"Loading,please wait a moment";f.css({"position":"relative"});f.append('<div id="FirmooLoading" style="position:absolute; z-index:15; width:'+f.width()+"px; height:"+f.height()/2+"px; top:0; left:0; font-size:14px; background:#fff; color:#000; text-align:center; opacity:0.9; filter: Alpha(opacity=90); padding-top:"+f.height()/2+'px"><img style="*display:none" src="/includes/templates/firmoo/images/icons/loading_l.gif" width="32" height="32" />'+i+"</div>");var j=new Image();j.src=g;if(j.complete){new h(g);f.removeAttr("style");$("#FirmooLoading").remove();}else{j.onload=function(){new h(g);f.removeAttr("style");$("#FirmooLoading").remove();};j.onerror=function(){alert("Image loading error, please try again.");};}}
