if(!this.STTAFJSON){STTAFJSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapeable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapeable.lastIndex=0;return escapeable.test(string)?'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==="string"){return c}return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof STTAFJSON.stringify!=="function"){STTAFJSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("STTAFJSON.stringify")}return str("",{"":value})}}if(typeof STTAFJSON.parse!=="function"){STTAFJSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("STTAFJSON.parse")}}})();var STTAFCONF={closeButtonUrl:null,hig:null,hih:null,hid:null,hH:null,hib:null,B:"",AM:"&",Q:"?",T:true,F:false,N:null,UD:"undefined",CONTAINER_REF:"",alertOn:false,to:null,isEscaped:null,embedArray:null,ie:document.all&&!window.opera};var STTAFFUNC={setT:function(){STTAFCONF.to=setTimeout(function(){STTAFFUNC.checkAndHide(this)},500)},checkAndHide:function(D){var A=document.getElementById("divSSWidget");if(A&&STTAFCONF.alertOn){STTAFCONF.to=setTimeout(function(){STTAFFUNC.checkAndHide(D)},500);return false}var C=document.getElementById("hoverDiv");var B=document.getElementById("hoverDivDiv");if(!D.hasFocus&&B&&!B.hasFocus){C.style.display="none";return false}else{STTAFCONF.to=setTimeout(function(){STTAFFUNC.checkAndHide(D)},500);return false}},getHoverPos:function(D){var B=D.offsetHeight;var F=D.offsetTop;var A=D.offsetLeft;var C=D.offsetParent;while(C){F+=C.offsetTop||0;A+=C.offsetLeft||0;C=C.offsetParent}var I=STTAFFUNC.scrollXY();var G=STTAFFUNC.windowXY();if((F-I[1]+STTAFCONF.hH)>G[1]){F=F-(B+STTAFCONF.hH)}if((A-I[0]+210)>G[0]){A=A-(50)}var H=F+B;var E=A;return[H+"px",E+"px"]},windowXY:function(){var A=0;var B=0;if(typeof (window.innerWidth)=="number"){A=window.innerWidth;B=window.innerHeight}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){A=document.documentElement.clientWidth;B=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){A=document.body.clientWidth;B=document.body.clientHeight}}}return[A,B]},scrollXY:function(){var A=0;var B=0;if(typeof (window.pageYOffset)=="number"){A=window.pageXOffset;B=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){A=document.body.scrollLeft;B=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){A=document.documentElement.scrollLeft;B=document.documentElement.scrollTop}}}return[A,B]},chgImage:function(A){A.style.cursor="pointer"},chgImageBack:function(A){A.style.cursor="pointer"},setAndFire:function(F,D,G){var B=document.getElementById("sidebar-wrapper");if(B){B.style.overflow="visible"}var C=document.getElementById("st-t-holder").innerHTML;var A=document.getElementById("st-l-holder").innerHTML;var E=document.getElementById("st-cus-holder").innerHTML;cw(F,{id:STTAF.userid,ch:D,pr:G,link:A,title:C,fromSaF:true,custom:E})},postForm:function(D){var B=document.createElement("form");B.method="post";B.action=STTAF.widgetUrl+"/widget-n.jsp";B.target="stcontent";for(var A in D){var C=document.createElement("input");if(A=="ch"){C.setAttribute("name","channel");C.setAttribute("value",D[A])}else{if(A=="pr"){C.setAttribute("name","provider");C.setAttribute("value",D[A])}else{if(A=="custom"){C.setAttribute("name","custom");C.setAttribute("value",D[A])}else{if(A=="title"){C.setAttribute("name","title");C.setAttribute("value",D[A])}else{if(A=="link"){C.setAttribute("name","link");C.setAttribute("value",D[A])}else{C.setAttribute("name",A);C.setAttribute("value",D[A])}}}}}B.appendChild(C)}document.body.appendChild(B);B.submit();document.body.removeChild(B)},GetWidth:function(){var A=0;if(self.innerWidth){A=self.innerWidth}else{if(document.documentElement&&document.documentElement.clientHeight){A=document.documentElement.clientWidth}else{if(document.body){A=document.body.clientWidth}}}return A},GetHeight:function(){var B=0;var A=document.documentElement.scrollTop;if(!STTAFCONF.ie){if(document.documentElement.scrollTop==0&&window.pageYOffset!=0){A=window.pageYOffset}}if(self.innerHeight){B=self.innerHeight+A*2}else{if(document.documentElement&&document.documentElement.clientHeight){B=document.documentElement.clientHeight+A*2}else{if(document.body){B=document.body.clientHeight+A*2}}}return B},closeWidget:function(C){C.parentNode.parentNode.parentNode.removeChild(C.parentNode.parentNode);var A=document.getElementById("sidebar-wrapper");if(A){A.style.overflow="hidden"}if(STTAF.isHideFlashSelected){if(STTAFCONF.embedArray&&STTAFCONF.embedArray.length){for(var B=0;B<STTAFCONF.embedArray.length;B++){STTAFCONF.embedArray[B].style.visibility="visible"}}}if(STTAF.isOverlaySelected){document.getElementById("st-overlay").parentNode.removeChild(document.getElementById("st-overlay"))}},tempTip:"",getEventTarget:function(B){var A;if(B.target){A=B.target}else{if(B.srcElement){A=B.srcElement}else{if(B.target.nodeType==3){A=B.target.parentNode}}}return A},getEventXY:function(D){var B,E;if(D.pageX&&D.pageY){B=D.pageX;E=D.pageY}else{if(D.clientX&&D.clientY){var C=document.documentElement,A=document.body;B=D.clientX+(C&&C.scrollLeft||A&&A.scrollLeft||0)-(C.clientLeft||0);E=D.clientY+(C&&C.scrollTop||A&&A.scrollTop||0)-(C.clientTop||0)}}return[B,E]},showTip:function(D){if(!D){D=window.event}try{var B=STTAFFUNC.getEventTarget(D);var E=B.getAttribute("title");B.title="";STTAFFUNC.tempTip=E;var C;if(document.getElementById("st-taf-tooltip-div")){C=document.getElementById("st-taf-tooltip-div");C.style.display="block"}else{C=document.createElement("div");C.setAttribute("id","st-taf-tooltip-div");C.style.width="auto";C.style.position="absolute";C.style.border="1px solid #3b3b3b";C.style.color="#FFFFFF";C.style.padding="2px";C.style.backgroundColor="#737272";C.style.zIndex=999999;C.style.fontFamily="Tahoma";C.style.fontSize="11px";C.style.height="auto";document.body.insertBefore(C,document.body.firstChild)}C.innerHTML=E;C.style.top=(STTAFFUNC.getEventXY(D)[1]+20)+"px";C.style.left=(STTAFFUNC.getEventXY(D)[0])+"px"}catch(A){}},moveTip:function(C){if(!C){C=window.event}try{var B=document.getElementById("st-taf-tooltip-div");B.style.top=(STTAFFUNC.getEventXY(C)[1]+20)+"px";B.style.left=(STTAFFUNC.getEventXY(C)[0])+"px"}catch(A){}},hideTip:function(A){if(document.getElementById("st-taf-tooltip-div")){document.getElementById("st-taf-tooltip-div").style.display="none"}if(A){A.title=STTAFFUNC.tempTip}},applyTips:function(){var A=document.getElementById("hoverDivDiv").getElementsByTagName("div");try{for(var B=0;B<A.length;B++){if(A[B].className=="st-taf-hover-icon"){A[B].onmouseover=function(D){STTAFFUNC.chgImage(this);STTAFFUNC.showTip(D)};A[B].onmouseout=function(){STTAFFUNC.chgImageBack(this);STTAFFUNC.hideTip(this)};A[B].onmousemove=function(D){STTAFFUNC.moveTip(D)}}if(A[B].className=="st-taf-hover-icon-dis"){A[B].onmouseover=function(D){STTAFFUNC.showTip(D)};A[B].onmouseout=function(){STTAFFUNC.hideTip(this)};A[B].onmousemove=function(D){STTAFFUNC.moveTip(D)}}}}catch(C){}},urlDecode:function(A){if(!A){return""}var B="";var C=0;var D=c1=c2=0;while(C<A.length){D=A.charCodeAt(C);if(D<128){B+=String.fromCharCode(D);C++}else{if((D>191)&&(D<224)){c2=A.charCodeAt(C+1);B+=String.fromCharCode(((D&31)<<6)|(c2&63));C+=2}else{c2=A.charCodeAt(C+1);c3=A.charCodeAt(C+2);B+=String.fromCharCode(((D&15)<<12)|((c2&63)<<6)|(c3&63));C+=3}}}return B.replace(/\+/gi," ")}};function showHoverMap(H,P,R,J,B){STTAFCONF.hH=(STTAF.enableHoverBranding?23:5)+(STTAF.isBlogSelected?24:0)+(STTAF.isEmailSelected?24:0)+(STTAF.isIMSelected?24:0)+(STTAF.isSNSSelected?24:0)+(STTAF.isBookmarkSelected?24:0);if(STTAFCONF.hig==null){STTAFCONF.hig=new Image();STTAFCONF.hig.src="http://"+STTAF.imagesUrl+"/hover-images/hoversprite.gif"}if(STTAFCONF.hih==null){STTAFCONF.hih=new Image();STTAFCONF.hih.src="http://"+STTAF.imagesUrl+"/hover-images/hoversprite.gif"}if(STTAFCONF.hid==null){STTAFCONF.hid=new Image();STTAFCONF.hid.src="http://"+STTAF.imagesUrl+"/hover-images/hoversprite_off.gif"}if(STTAFCONF.hib==null){STTAFCONF.hib=new Image();STTAFCONF.hib.src="http://"+STTAF.imagesUrl+"/hover-images/stbranding.gif"}if(STTAFCONF.to){clearTimeout(STTAFCONF.to)}H.hasFocus=true;if(STTAF.isButtonExpandable){var Q="hoverDiv";var E=document.getElementById(Q);var S=STTAFFUNC.getHoverPos(H);STTAF.userid=P;if(R.toString().indexOf("http%3A%2F%2F")==0||R.toString().indexOf("https%3A%2F%2F")==0){try{J=STTAFFUNC.urlDecode(J.toString())}catch(T){}}else{R=encodeURIComponent(R);J=encodeURIComponent(J.toString())}if(document.getElementById("st-st-holder")){document.getElementById("st-t-holder").innerHTML=J;document.getElementById("st-l-holder").innerHTML=R;document.getElementById("st-cus-holder").innerHTML="";if(B&&B!=null){document.getElementById("st-cus-holder").innerHTML=encodeURIComponent(STTAFJSON.stringify(B))}}else{var A=document.createElement("div");A.setAttribute("id","st-st-holder");A.style.display="none";document.body.insertBefore(A,document.body.firstChild);var L=document.createElement("div");L.setAttribute("id","st-t-holder");L.innerHTML=J;var M=document.createElement("div");M.setAttribute("id","st-l-holder");M.innerHTML=R;var O=document.createElement("div");O.setAttribute("id","st-cus-holder");if(B&&B!=null){O.innerHTML=encodeURIComponent(STTAFJSON.stringify(B))}else{O.innerHTML=""}A.appendChild(L);A.appendChild(M);A.appendChild(O)}if(E&&E.style.display!="block"){E.style.display="block";E.style.top=S[0];E.style.left=S[1];return false}if(E&&E.style.display=="block"){E.parentNode.removeChild(E)}var F=document.createElement("div");F.setAttribute("id",Q);var D=F.style;D.margin="0px";D.padding="0px";D.border=0;var K=[];K.push("<div onmouseover='if (STTAFCONF.to) clearTimeout(STTAFCONF.to); this.hasFocus=true' onmouseout='STTAFFUNC.setT(); this.hasFocus=false' id='hoverDivDiv' style='position: absolute; border:none; width:192px; margin:0; padding:0; background-color: #fff;'>");K.push("<table width='205px' border='0' cellspacing='0' cellpadding='0' style='background:#f6f5f5; border:1px solid #a8a8a8; border-bottom:0px; border-left:0px; font:11px Arial, Helvetica, sans-serif; font-weight:bold; padding:0px; margin: 0px;'>");var C="<td width='33' style='margin:0px; padding:2px 2px 0px; text-align:center; border:0;'>";var G="<td class='st-taf-ch-td' width='73' style='text-align: left; border:0; outline:0; margin:0px; padding:2px 2px 0px; text-indent:5px; border-left:1px solid #a8a8a8;font:11px Arial, Helvetica, sans-serif; font-weight:bold; color: #000000;' onmouseover='this.style.cursor=\"pointer\";' ";var U="<tr class='st-taf-ch-row' height='26px' style='text-align: left; border:0; outline:0; margin:0px; padding:0px; height: 26px; background:#f6f5f5; '>";if(STTAF.isBookmarkSelected){K.push(U);K.push(G+' onclick=\'STTAFFUNC.setAndFire(this, "bookmark", "");\'>Bookmark</td>');K.push(C);K.push("<div class='st-taf-hover-icon' title='Delicious' onclick='STTAFFUNC.setAndFire(this,\"bookmark\",\"BM_DELICIOUS\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px -72px; width:18px; height:18px;'></div></td>");K.push(C);K.push("<div class='st-taf-hover-icon' title='Digg' onclick='STTAFFUNC.setAndFire(this,\"bookmark\",\"BM_DIGG\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -18px -72px; width:18px; height:18px;'></div></td>");K.push(C);K.push("<div class='st-taf-hover-icon' title='StumbleUpon' onclick='STTAFFUNC.setAndFire(this,\"bookmark\",\"BM_STUMBLEUPON\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -36px -72px; width:18px; height:18px;'></div></td>");K.push(C);K.push("<div class='st-taf-hover-icon' title='Buzz up!' onclick='STTAFFUNC.setAndFire(this,\"bookmark\",\"BM_YAHOOBUZZ\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -54px -72px; width:18px; height:18px;'></div></td>");K.push("</tr>")}if(STTAF.isEmailSelected){K.push(U);K.push(G+'onclick=\'STTAFFUNC.setAndFire(this, "email", "gmail");\'>Email</td>');K.push(C);if(STTAF.isGmailEnabled){K.push("<div class='st-taf-hover-icon' title='Gmail' onclick='STTAFFUNC.setAndFire(this, \"email\", \"gmail\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px 0px; width:18px; height:18px;'></div>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Gmail - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll 0px 0px; width:18px; height:18px;'></div>")}K.push(C);if(STTAF.isWLiveMailEnabled){K.push("<div class='st-taf-hover-icon' title='MSN / Hotmail / Live' onclick='STTAFFUNC.setAndFire(this,\"email\",\"msnmail\");'  style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -18px -1px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='MSN / Hotmail / Live - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -18px -1px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isYMailEnabled){K.push("<div class='st-taf-hover-icon' title='Yahoo Mail' onclick='STTAFFUNC.setAndFire(this,\"email\",\"ymail\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -36px 0px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Yahoo Mail - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -36px 0px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isTypedEmailEnabled){K.push("<div class='st-taf-hover-icon' title='Type in addresses' onclick='STTAFFUNC.setAndFire(this,\"email\",\"email\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -54px 0px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Type in addresses - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -54px 0px; width:18px; height:18px;'></div></td>")}K.push("</tr>")}if(STTAF.isIMSelected){K.push(U);K.push(G+' onclick=\'STTAFFUNC.setAndFire(this, "im", "gtalk");\'>IM</td>');K.push(C);if(STTAF.isGTalkEnabled){K.push("<div class='st-taf-hover-icon' title='Google Talk' onclick='STTAFFUNC.setAndFire(this,\"im\",\"gtalk\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px -18px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Google Talk - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll 0px -18px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isMSNMessengerEnabled){K.push("<div class='st-taf-hover-icon' title='MSN / Live Messenger' onclick='STTAFFUNC.setAndFire(this,\"im\",\"msnim\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -18px -18px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='MSN / Live Messenger - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -18px -18px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isYMessengerEnabled){K.push("<div class='st-taf-hover-icon' title='Yahoo Messenger' onclick='STTAFFUNC.setAndFire(this,\"im\",\"yim\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -36px -18px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Yahoo Messenger - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -36px -18px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isAIMEnabled){K.push("<div class='st-taf-hover-icon' title='AOL Instant Messenger' onclick='STTAFFUNC.setAndFire(this,\"im\",\"aim\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -54px -18px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='AOL Instant Messenger - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -54px -18px; width:18px; height:18px;'></div></td>")}K.push("</tr>")}if(STTAF.isBlogSelected){K.push(U);K.push(G+' onclick=\'STTAFFUNC.setAndFire(this, "blog", "wordpress");\'>Blog</td>');K.push(C);if(STTAF.isWordPressEnabled){K.push("<div class='st-taf-hover-icon' title='WordPress' onclick='STTAFFUNC.setAndFire(this,\"blog\",\"wordpress\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px -36px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='WordPress - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll 0px -36px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isBloggerEnabled){K.push("<div class='st-taf-hover-icon' title='Blogger' onclick='STTAFFUNC.setAndFire(this,\"blog\",\"blogger\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -18px -36px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Blogger - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -18px -36px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isLiveJournalEnabled){K.push("<div class='st-taf-hover-icon' title='LiveJournal' onclick='STTAFFUNC.setAndFire(this,\"blog\",\"livejournal\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -36px -36px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='LiveJournal - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -36px -36px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isTypePadEnabled){K.push("<div class='st-taf-hover-icon' title='TypePad' onclick='STTAFFUNC.setAndFire(this,\"blog\",\"typepad\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -54px -36px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='TypePad - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -54px -36px; width:18px; height:18px;'></div></td>")}K.push("</tr>")}if(STTAF.isSNSSelected){K.push(U);K.push(G+' onclick=\'STTAFFUNC.setAndFire(this, "social", "facebook");\'>Social</td>');K.push(C);if(STTAF.isFaceBookEnabled){K.push("<div class='st-taf-hover-icon' title='Facebook' onclick='STTAFFUNC.setAndFire(this,\"social\",\"facebook\");'  style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px -54px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Facebook - Disabled' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll 0px -54px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isMySpaceEnabled){K.push("<div class='st-taf-hover-icon' title='MySpace' onclick='STTAFFUNC.setAndFire(this,\"social\",\"myspace\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -36px -54px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='MySpace - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -36px -54px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isTwitterEnabled){K.push("<div class='st-taf-hover-icon' title='Twitter' onclick='STTAFFUNC.setAndFire(this,\"social\",\"twitter\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -18px -54px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='Twitter - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -18px -54px; width:18px; height:18px;'></div></td>")}K.push(C);if(STTAF.isFriendfeedEnabled){K.push("<div class='st-taf-hover-icon' title='FriendFeed' onclick='STTAFFUNC.setAndFire(this,\"social\",\"friendfeed\");' style='background:url("+STTAFCONF.hig.src+") no-repeat scroll -54px -54px; width:18px; height:18px;'></div></td>")}else{K.push("<div class='st-taf-hover-icon-dis' title='FriendFeed - Disabled' style='background:url("+STTAFCONF.hid.src+") no-repeat scroll -54px -54px; width:18px; height:18px;'></div></td>")}K.push("</tr>")}if(STTAF.enableHoverBranding){K.push("<tr height='14px' style='text-align: left; border:0; outline:0; margin:0px; padding:0px; height: 14px;'>");K.push("<td valign='top' colspan='5' style='margin:0px; padding:0px; height:14px; border:0; outline:0;'>");K.push("<img src='"+STTAFCONF.hib.src+"' usemap='#st-map-hover-brand' style='margin:0px; padding: 0px; border: 0;'/>");K.push("<map name='st-map-hover-brand'>");K.push("<area shape='rect' coords='0, 0, 77, 13' target='_blank' href='http://tellafriend.socialtwist.com'>");K.push("<area shape='rect' coords='172, 1, 202, 11' href='javascript:void(0);' onclick='STTAFFUNC.setAndFire(this);'>");K.push("</map></td>");K.push("</tr>")}K.push("</table>");K.push("</div>");var I=K.join("");F.innerHTML=I;D.zIndex=2000;D.display="block";D.position="absolute";D.top=S[0];D.left=S[1];if(document.getElementById("st-root-div-set")){document.getElementById("st-root-div-set").appendChild(F)}else{var N=document.createElement("div");N.setAttribute("id","st-root-div-set");N.appendChild(F);document.body.insertBefore(N,document.body.firstChild)}STTAFFUNC.applyTips()}else{return }}function hideHoverMap(A){A.hasFocus=false;if(STTAF.isButtonExpandable){STTAFCONF.to=setTimeout(function(){STTAFFUNC.checkAndHide(A)},500)}else{return }}function cw(obj,o){STTAFFUNC.hideTip(obj);if(STTAF.contentUrl&&STTAF.contentUrl!="undefined"&&STTAF.contentUrl!=""){STTAFCONF.closeButtonUrl=STTAF.contentUrl+"themes/"+STTAF.cssTheme+"/images/close.png"}else{STTAFCONF.closeButtonUrl="http://content.socialtwist.com/themes/"+STTAF.cssTheme+"/images/close.png"}var e=eval(o);var cha=e.ch;var pr=e.pr;var c=e.id+"-cd";var link=e.link;if(e.fromSaF){if(link.toString().indexOf("http%3A%2F%2F")==0||link.toString().indexOf("https%3A%2F%2F")==0){try{e.title=decodeURIComponent(e.title)}catch(ex){}}}else{if(link){if(link.toString().indexOf("http%3A%2F%2F")==0||link.toString().indexOf("https%3A%2F%2F")==0){try{e.title=STTAFFUNC.urlDecode(e.title)}catch(ex){}try{e.title=decodeURIComponent(e.title)}catch(ex){}}else{e.link=encodeURIComponent(e.link);e.title=encodeURIComponent(e.title)}}}var custStr="";if(e.custom&&e.custom!=null){if(e.fromSaF){custStr=custStr+e.custom}else{custStr=custStr+encodeURIComponent(STTAFJSON.stringify(e.custom))}e.custom=custStr}if(STTAF.isPopupMode){var popupH=(STTAFFUNC.GetHeight()/2)-(STTAF.frameHeight/2);var popupW=(STTAFFUNC.GetWidth()/2)-(STTAF.frameWidth/2);var custST="&custom=";var testJsp=STTAF.widgetUrl+"/widget-n.jsp?provider="+pr+"&channel="+cha+"&id="+e.id+"&link="+e.link+"&title="+e.title+custST+custStr;var attributes="left="+popupW+",top="+popupH+",width=477,height="+STTAF.frameHeight+",toolbar=0,resizable=no";window.open(testJsp,"socialtwistPopup",attributes);return }var hd=document.getElementById("hoverDiv");var sswid=document.getElementById("divSSWidget");if(sswid){STTAFCONF.alertOn=true;if(confirm("An instance of the widget is already open. Discard changes and open a new widget?")){sswid.parentNode.removeChild(sswid);STTAFCONF.alertOn=false}else{hd.parentNode.removeChild(hd);STTAFCONF.alertOn=false;return false}}var clickOnButton=false;if(hd){clickOnButton=true}var cRef=document.createElement("div");var divIdName="divSSWidget";cRef.setAttribute("id",divIdName);var cs=cRef.style;var dragH="26";if(STTAF.frameHeight>517){dragH="70"}var cRefArr=[];cRefArr.push("<div id='drag' class='draggable' style='position: absolute; top: 3px; left: 3px; cursor: move; z-index:1000; width: 99%; height:"+dragH+"px'>&nbsp;</div>");cRefArr.push("<div id='cb' class='cbutton' align='right' style='position: absolute; top: 7px; right: 8px; cursor: pointer; z-index: 1000; border: 0;'><img style='border:0;' alt='x' src='"+STTAFCONF.closeButtonUrl+"' onclick='STTAFFUNC.closeWidget(this);'/></div>");cRefArr.push("<iframe id='stcontent' name='stcontent' src='"+STTAF.widgetUrl+"/widget-n.jsp' width='"+STTAF.frameWidth+"px' height='"+STTAF.frameHeight+"px' style='display: block; overflow-x: hidden; overflow-y: hidden;' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' />");cRef.innerHTML=cRefArr.join("");cs.className="draggable";cs.backgroundColor="white";cs.position="absolute";cs.overflowX="hidden";cs.overflowY="hidden";cs.border="1px solid "+STTAF.frameBorderColor;cs.outline="none";cs.visibilty="visible";cs.display="block";cs.zIndex=9999;if(STTAF.isOverlaySelected){var overlay=document.createElement("div");overlay.setAttribute("id","st-overlay");var ocs=overlay.style;var isIE6=(window.external&&typeof window.XMLHttpRequest=="undefined");if(isIE6){ocs.position="absolute";ocs.height=STTAFFUNC.GetHeight()+"px"}else{ocs.position="fixed";ocs.height="100%"}ocs.zIndex=100;ocs.top=0;ocs.left=0;ocs.width="100%";ocs.backgroundColor="black";ocs.filter="alpha(opacity: 75)";ocs.MozOpacity=0.75;ocs.opacity=0.75;document.body.insertBefore(overlay,document.body.firstChild)}if(STTAF.isHideFlashSelected){var allEmbeds=document.getElementsByTagName("embed");STTAFCONF.embedArray=new Array();for(var i=0;i<allEmbeds.length;i++){if(allEmbeds[i].style.visibility="visible"){allEmbeds[i].style.visibility="hidden";STTAFCONF.embedArray[i]=allEmbeds[i]}}}if(clickOnButton){if(document.getElementById("st-root-div-set-wid")){document.getElementById("st-root-div-set-wid").appendChild(cRef)}else{var cMain=document.createElement("div");cMain.setAttribute("id","st-root-div-set-wid");cMain.appendChild(cRef);document.body.insertBefore(cMain,document.body.firstChild)}document.getElementById("hoverDiv").parentNode.removeChild(document.getElementById("hoverDiv"))}else{if(!STTAF.isButtonExpandable){if(document.getElementById("st-root-div-set-wid")){document.getElementById("st-root-div-set-wid").appendChild(cRef)}else{var cMain=document.createElement("div");cMain.setAttribute("id","st-root-div-set-wid");cMain.appendChild(cRef);document.body.insertBefore(cMain,document.body.firstChild)}}else{if(document.getElementById("st-root-div-set-wid")){document.getElementById("st-root-div-set-wid").appendChild(cRef)}else{var cMain=document.createElement("div");cMain.setAttribute("id","st-root-div-set-wid");cMain.appendChild(cRef);document.body.insertBefore(cMain,document.body.firstChild)}if(document.getElementById("hoverDiv")){document.getElementById("hoverDiv").parentNode.removeChild(document.getElementById("hoverDiv"))}}}STTAFFUNC.postForm(e);var h=(STTAFFUNC.GetHeight()/2)-(cRef.offsetHeight/2);var w=(STTAFFUNC.GetWidth()/2)-(cRef.offsetWidth/2);cs.top=h+"px";cs.left=w+"px";STTAFDrag.init(cRef)}function createWidget(C,F,B,D,E){var A=document.getElementById("sidebar-wrapper");if(A){A.style.overflow="visible"}cw(C,{id:F,link:B,title:D,custom:E})}function prevS(A){A=A.previousSibling;STTAFCONF.isEscaped="true";if(A.tagName=="A"||A.tagName=="a"){return A.innerHTML}else{A=A.previousSibling;return A.innerHTML}}function prevSp(A){A=A.previousSibling;STTAFCONF.isEscaped="true";if(A.tagName=="SPAN"||A.tagName=="span"){return A.innerHTML}else{A=A.previousSibling;return A.innerHTML}}var STTAFDrag={obj:null,init:function(D,H,F,B,E,A,I,G,J,C){D.onmousedown=STTAFDrag.start;D.hmode=I?false:true;D.vmode=G?false:true;D.root=H&&H!=null?H:D;if(D.hmode&&isNaN(parseInt(D.root.style.left))){D.root.style.left="0px"}if(D.vmode&&isNaN(parseInt(D.root.style.top))){D.root.style.top="0px"}if(!D.hmode&&isNaN(parseInt(D.root.style.right))){D.root.style.right="0px"}if(!D.vmode&&isNaN(parseInt(D.root.style.bottom))){D.root.style.bottom="0px"}D.minX=typeof F!="undefined"?F:null;D.minY=typeof E!="undefined"?E:null;D.maxX=typeof B!="undefined"?B:null;D.maxY=typeof A!="undefined"?A:null;D.xMapper=J?J:null;D.yMapper=C?C:null;D.root.onDragStart=new Function();D.root.onDragEnd=new Function();D.root.onDrag=new Function()},start:function(B){var C=STTAFDrag.obj=this;B=STTAFDrag.fixE(B);var D=parseInt(C.vmode?C.root.style.top:C.root.style.bottom);var A=parseInt(C.hmode?C.root.style.left:C.root.style.right);C.root.onDragStart(A,D);C.lastMouseX=B.clientX;C.lastMouseY=B.clientY;if(C.hmode){if(C.minX!=null){C.minMouseX=B.clientX-A+C.minX}if(C.maxX!=null){C.maxMouseX=C.minMouseX+C.maxX-C.minX}}else{if(C.minX!=null){C.maxMouseX=-C.minX+B.clientX+A}if(C.maxX!=null){C.minMouseX=-C.maxX+B.clientX+A}}if(C.vmode){if(C.minY!=null){C.minMouseY=B.clientY-D+C.minY}if(C.maxY!=null){C.maxMouseY=C.minMouseY+C.maxY-C.minY}}else{if(C.minY!=null){C.maxMouseY=-C.minY+B.clientY+D}if(C.maxY!=null){C.minMouseY=-C.maxY+B.clientY+D}}document.onmousemove=STTAFDrag.drag;document.onmouseup=STTAFDrag.end;return false},drag:function(E){E=STTAFDrag.fixE(E);var A=STTAFDrag.obj;var F=E.clientY;var G=E.clientX;var H=parseInt(A.vmode?A.root.style.top:A.root.style.bottom);var I=parseInt(A.hmode?A.root.style.left:A.root.style.right);var D,C;if(A.minX!=null){G=A.hmode?Math.max(G,A.minMouseX):Math.min(G,A.maxMouseX)}if(A.maxX!=null){G=A.hmode?Math.min(G,A.maxMouseX):Math.max(G,A.minMouseX)}if(A.minY!=null){F=A.vmode?Math.max(F,A.minMouseY):Math.min(F,A.maxMouseY)}if(A.maxY!=null){F=A.vmode?Math.min(F,A.maxMouseY):Math.max(F,A.minMouseY)}D=I+((G-A.lastMouseX)*(A.hmode?1:-1));C=H+((F-A.lastMouseY)*(A.vmode?1:-1));if(A.xMapper){D=A.xMapper(H)}else{if(A.yMapper){C=A.yMapper(I)}}var B=true;if(C<4||D<4){B=false}if(B){STTAFDrag.obj.root.style[A.hmode?"left":"right"]=D+"px";STTAFDrag.obj.root.style[A.vmode?"top":"bottom"]=C+"px"}STTAFDrag.obj.lastMouseX=G;STTAFDrag.obj.lastMouseY=F;STTAFDrag.obj.root.onDrag(D,C);return false},end:function(){document.onmousemove=null;document.onmouseup=null;STTAFDrag.obj.root.onDragEnd(parseInt(STTAFDrag.obj.root.style[STTAFDrag.obj.hmode?"left":"right"]),parseInt(STTAFDrag.obj.root.style[STTAFDrag.obj.vmode?"top":"bottom"]));STTAFDrag.obj=null},fixE:function(A){if(typeof A=="undefined"){A=window.event}if(typeof A.layerX=="undefined"){A.layerX=A.offsetX}if(typeof A.layerY=="undefined"){A.layerY=A.offsetY}return A}};
