window.onload=(function(){var getElementsByClassName=(function(evaluate){function item(i){return this[i]}return evaluate?function(className,root){var tag=className.split("."),gen=document.evaluate(".//".concat(tag[1]?tag[0]:"*","[contains(concat(' ',@class,' '),' ",tag[1]||tag[0]," ')]"),root||document,null,0,null),result=[],node;while(node=gen.iterateNext()){result[result.length]=node}result.item=item;return result}:function(className,root){for(var tag=className.split("."),className=new RegExp("(^|\\s)"+(tag[1]||tag[0])+"(\\s|$)"),gen=(root||document).getElementsByTagName("*"),nodeName=tag[1]?tag[0].toUpperCase():false,result=[],i=0,node;i=10000000?Math.round(a/1000000)+"M":(a>=10000?Math.round(a/1000)+"K":a)},addQS:function(d,c){var a=[];for(var b in c){if(c[b]){a.push(b.toString()+"="+encodeURIComponent(c[b]))}}return d+"?"+a.join("&")},objExtend:function(destination,source){for(var property in source){destination[property]=source[property]}return destination},insert:function(a){(document.getElementsByTagName("HEAD")[0]||document.body).appendChild(a)},addCss:function(cssCode){var styleElement=document.createElement("style");styleElement.type="text/css";if(styleElement.styleSheet){styleElement.styleSheet.cssText=cssCode}else{styleElement.appendChild(document.createTextNode(cssCode))}document.getElementsByTagName("HEAD")[0].appendChild(styleElement)},_init:function(){}};SG._init();SG.Services=new Array();SG.Services[0]={name:"facebook",icon:"http://sharegeni.us/img/dotstar_13x14.png",url:"http://www.facebook.com/sharer.php",window_name:"sharer",params:{src:"sp"},paramsmap:{u:"u",t:"t"},button_classes:"SGi_FB_s",buttontext_classes:"SG_FB_Text"};SG.Services[1]={name:"nettby",icon:"http://sharegeni.us/img/dotstar_13x14.png",url:"http://www.nettby.no/user/edit_link.php",window_name:"edit_link",params:{description:""},paramsmap:{url:"u",name:"t"},button_classes:"SGi_Nettby_s",buttontext_classes:"SG_Nettby_Text"};if(!window.SG.Share){SG.Share={resetUrls:function(){this.urls={};this.urlsA=[]},getUrl:function(a){return a.getAttribute("data-share_url")||window.location.href},getTitle:function(a){return a.getAttribute("data-share_title")||document.title},getType:function(a){return a.getAttribute("type")||"button_count"},getService:function(a){var s=a.getAttribute("data-share_service");if(s){for(var i=0;i0?c.innerHTML:"Share";var pobj={};for(var p in f.paramsmap){pobj[p]=eval(f.paramsmap[p])}pobj=SG.objExtend(pobj,f.params);c.href=SG.addQS(f.url,pobj);c.onclick=function(){window.open(c.href,f.window_name,"toolbar=0,status=0,width=626,height=436");return false};c.className+=" "+f.button_classes}},renderAll:function(d){var esg=getElementsByClassName("sharegenius");var a=esg.length;for(var b=0;b