|
|
|
')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;case"horizontal":case"vertical":var ovr=document.createElement("div");ovr.className="stoverlay";o.button=ovr;var img=document.createElement("img");img.setAttribute("src","http://w.sharethis.com/images/hbutton.gif");if(o.options.onmouseover==false||o.options.onmouseover=="false"){ovr.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){ovr.onclick=function(){stCancelClose()};ovr.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};ovr.onmouseout=function(){clearInterval(SHARETHIS.mousetimer);stClose()}}try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){document.write('')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(ovr);x.appendChild(img)}}break;default:var a=document.createElement("a");a.className="stbutton stico_"+(o.options.style?o.options.style:(SHARETHIS.options.style?SHARETHIS.options.style:"default"));a.title="ShareThis via email, AIM, social bookmarking and networking sites, etc.";a.href="javascript:void(0)";a.setAttribute("st_page","home");if(o.options.onmouseover==false||o.options.onmouseover=="false"){a.onclick=o.popup}if(o.options.onmouseover==true||o.options.onmouseover=="true"){a.onclick=function(){stCancelClose()};a.onmouseover=function(){stCancelClose();SHARETHIS.mousetimer=setTimeout(o.popup,150)};a.onmouseout=function(){clearInterval(SHARETHIS.mousetimer);stClose()}}var t=document.createElement("span");t.className="stbuttontext";t.setAttribute("st_page","home");t.appendChild(document.createTextNode(o.options.buttonText));a.appendChild(t);o.button=a;try{if(o.options.button==true&&SHARETHIS.bodyLoaded==false){document.write('')}}catch(err){}var x=document.getElementById(id);if(x){if(o.options.button){x.appendChild(a)}}}if(SHARETHIS.logFlag){SHARETHIS.buttonCount++}return o},this.postEntries=function(o){SHARETHIS.sendNum=0;var urls="";var propertylist=[];var tmp_prop={};urls=urls+o.properties.url;for(p in o.properties){if(SHARETHIS_tstOptions(p)==true){tmp_prop[p]=null;tmp_prop[p]=o.properties[p]}}propertylist.push(tmp_prop);var tmp="/pageTitle="+encodeURIComponent(encodeURIComponent(document.title))+"/pageURL="+encodeURIComponent(encodeURIComponent(document.URL))+"/pageHost="+encodeURIComponent(encodeURIComponent(document.location.host))+"/pagePath="+encodeURIComponent(encodeURIComponent(document.location.pathname));SHARETHIS.sendArray.push("#data"+tmp);var jsonstr=ST_JSON.encode(propertylist);var tmp=encodeURIComponent(jsonstr);var b=tmp.length;var a=1700;var c=parseInt(b/a);c=c+1;var d=b%a;var sendArr=[];var tmpSend="";for(var i=0;i0){toReturn=true}else{if(variable.length==0){toReturn=false}}}}break}return toReturn}},this.onStFrameLoad=function(){if(SHARETHIS.frameLoaded===false){SHARETHIS.widgetCalled=true;SHARETHIS.frameLoaded=true;if(SHARETHIS.st_clicked==true){setTimeout("SHARETHIS.st_clicked_o.popup()",1000)}}};this.readyTest=function(){if(SHARETHIS.frameReady===true&&SHARETHIS.ready===true){clearInterval(SHARETHIS.readyTestInterval);SHARETHIS.onStFrameLoad()}};this.sendEvent=function(name,value){var tmpSend="#widget/"+name+"="+value;window.frames.stframe.location.replace(SHARETHIS.frameUrl+tmpSend)};this.initialize=function(options){for(o in options){options[o]=options[o].toString()}if(_thisScript==null){var _slist=document.getElementsByTagName("script");var _thisScript3=_slist[_slist.length-1];var ST_script_src=_thisScript3.src}else{var ST_script_src=_thisScript.src}this.frameUrl="http://wd.sharethis.com/share3x/lightbox.a60211ee00b5c5042a88c521a42a415b.html";this.postUrl="http://wd.sharethis.com/api/setCache_ws.php";this.options=options||{};if(this.options.button){this.options.button=this.getBool(this.options.button.toString())}if(this.options.popup){this.options.popup=this.getBool(this.options.popup.toString())}if(this.options.embeds){this.options.embeds=this.getBool(this.options.embeds.toString())}if(this.options.publisher){this.meta.publisher=this.options.publisher}var tmp_css="http://w.sharethis.com/button/css/sharethis.f64144dea0ac99f7bcfb31fc2aa1fe37.css";try{if(this.options.css){tmp_css=this.options.css.toString()}}catch(err){}var css=tmp_css;this.load("link",{href:(this.options.css?this.options.css:css),rel:"stylesheet",type:"text/css"});try{this.mainstframe=document.createElement('');this.mainstframe.onreadystatechange=function(){if(SHARETHIS.mainstframe.readyState==="complete"){SHARETHIS.frameReady=true}}}catch(err){this.mainstframe=document.createElement("iframe");this.mainstframe.allowTransparency="true";this.mainstframe.setAttribute("allowTransparency","true");this.mainstframe.onload=function(){SHARETHIS.frameReady=true}}this.mainstframe.id="stframe";this.mainstframe.className="stframe";this.mainstframe.name="stframe";this.mainstframe.frameBorder="0";this.mainstframe.scrolling="no";this.mainstframe.width="353px";this.mainstframe.height="598px";this.mainstframe.style.top="0px";this.mainstframe.style.left="0px";try{this.fp=document.createElement('')}catch(err){this.fp=document.createElement("iframe");this.fp.style.visibility="hidden"}this.fp.name="stpostframe";this.fp.width="0px";this.fp.height="0px";this.fp.src="";var init="#init";this.newwinfrag="#popup";for(var o in options){if(SHARETHIS_tstOptions(o)==true){init=init+"/"+o+"="+encodeURIComponent(options[o]);this.newwinfrag=this.newwinfrag+"/"+o+"="+encodeURIComponent(options[o])}}this.initstr=init;this.sendInit.push(this.initstr);this.mainstframe.src=this.frameUrl+this.sendInit[0];this.wrapper=document.createElement("div");this.wrapper.id="stwrapper";this.wrapper.className="stwrapper";this.wrapper.style.visibility="hidden";this.wrapper.style.top="-999px";this.wrapper.style.left="-999px";this.closewrapper=document.createElement("div");this.closewrapper.className="stclose";this.closewrapper.onclick=stcloseWidget;this.wrapper.appendChild(this.closewrapper);this.wrapper.appendChild(this.mainstframe);this.defer(function(){SHARETHIS.bodyLoaded=true;SHARETHIS.log("pview",null,null);if(SHARETHIS_TOOLBAR===true){document.body.appendChild(SHARETHIS.fp);SHARETHIS.postPopup();SHARETHIS_TOOLBAR_DIV.appendChild(SHARETHIS.wrapper)}if(SHARETHIS.popupExists===true&&SHARETHIS.popupCalled===false){document.body.appendChild(SHARETHIS.fp);SHARETHIS.postPopup();SHARETHIS.popupCalled=true}if(SHARETHIS.widgetCalled===false&&SHARETHIS.widgetExists===true){document.body.appendChild(SHARETHIS.wrapper);try{window.frames.stframe.location.replace(SHARETHIS.mainstframe.src)}catch(err){}SHARETHIS.readyTestInterval=setInterval(SHARETHIS.readyTest,250)}try{var stfrm=document.getElementById("stframe");stfrm.onmouseover=function(){stCancelClose();SHARETHIS.inTime=(new Date()).getTime()};stfrm.onmouseout=function(){SHARETHIS.outTime=(new Date()).getTime();SHARETHIS.openDuration=(SHARETHIS.outTime-SHARETHIS.inTime)/1000;stClose()};document.body.onclick=function(){if(SHARETHIS.buttonClicked==false){SHARETHIS.stopClosing=false;SHARETHIS.openDuration=0;stClose(100)}}}catch(err){}});if(typeof(window.addEventListener)!="undefined"){window.addEventListener("load",this.onReady,false)}else{if(typeof(document.addEventListener)!="undefined"){document.addEventListener("load",this.onReady,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",this.onReady)}}}setTimeout(function(){for(var s in SHARETHIS.shareables){if(SHARETHIS.shareables[s].options!=undefined){switch(SHARETHIS.shareables[s].options.style){case"vertical":var ifr;try{ifr=document.createElement('')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="57px";ifr.height="39px";ifr.src="http://wd.sharethis.com/button/vcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break;case"horizontal":var ifr;try{ifr=document.createElement('')}catch(err){ifr=document.createElement("iframe");ifr.allowTransparency="true";ifr.setAttribute("allowTransparency","true")}ifr.className="stcounter";ifr.frameBorder="0";ifr.scrolling="no";ifr.width="37px";ifr.height="18px";ifr.src="http://wd.sharethis.com/button/hcounter.php?url="+encodeURIComponent(SHARETHIS.shareables[s].properties.url);SHARETHIS.shareables[s].button.parentNode.appendChild(ifr);break}}}},1000)};this.initialize(options)}var closetimeout;function stClose(a){if(!a){a=1000}if(stautoclose==true&&SHARETHIS_TOOLBAR==false){if(SHARETHIS.openDuration<2&&SHARETHIS.stopClosing==false){closetimeout=setTimeout("stcloseWidget()",a)}else{SHARETHIS.stopClosing=true}}}function stCancelClose(){clearTimeout(closetimeout);SHARETHIS.buttonClicked=true;setTimeout(function(){SHARETHIS.buttonClicked=false},100)}function stcloseWidget(){st_showing=false;SHARETHIS.wrapper.style.visibility="hidden";SHARETHIS.mainstframe.style.visibility="hidden";SHARETHIS.wrapper.style.top="-999px";SHARETHIS.wrapper.style.left="-999px";SHARETHIS.showEmbeds();SHARETHIS.sendEvent("screen","home");SHARETHIS.sendArray=[]}function SHARETHIS_tstOptions(a){var d=["type","title","summary","content","url","icon","category","updated","published","author","button","onmouseover","buttonText","popup","offsetLeft","offsetTop","embeds","autoclose","publisher","tabs","services","charset","headerbg","inactivebg","inactivefg","linkfg","style","send_services","exclusive_services","post_services","headerfg","headerType","headerTitle","sessionID","tracking","fpc","ads","pUrl","hash_flag"];var c=false;for(var b=0;b0){return false}var g=_stGetFpc("__unam");if(g==false){var c=Math.round(Math.random()*2147483647);c=c.toString(16);var h=(new Date()).getTime();h=h.toString(16);var e="";var a=_stGetD();a=a.split(/\./)[1];if(!a){return false}e=_stdHash(a)+"-"+h+"-"+c+"-1";g=e;_stSetFpc(g)}else{var b=g;var f=b.split(/\-/);if(f.length==4){var d=Number(f[3]);d++;b=f[0]+"-"+f[1]+"-"+f[2]+"-"+d;g=b;_stSetFpc(g)}}return g}function _stSetFpc(g){var a="__unam";var c=new Date;var i=c.getFullYear();var f=c.getMonth()+9;var h=c.getDate();var d=a+"="+escape(g);if(i){var b=new Date(i,f,h);d+="; expires="+b.toGMTString()}var e=_stGetD();d+="; domain="+escape(e)+";path=/";document.cookie=d}function _stGetD(){var b=document.domain.split(/\./);var a="";if(b.length>1){a="."+b[b.length-2]+"."+b[b.length-1]}return a}function _stGetFpc(b){var a=document.cookie.match("(^|;) ?"+b+"=([^;]*)(;|$)");if(a){return(unescape(a[2]))}else{return false}}function _stdHash(a){var e=0,d=0;for(var c=a.length-1;c>=0;c--){var b=parseInt(a.charCodeAt(c));e=((e<<8)&268435455)+b+(b<<12);if((d=e&161119850)!=0){e=(e^(d>>20))}}return e.toString(16)}var _thisScript=null;function getShareThisScript(){var d=document.getElementsByTagName("script");var c=null;for(var b=0;b=0){c=d[b]}else{if(a.search(/.*sharethis.*\/widget\/\?/)>=0||a.search(/.*sharethis.*\/widget\/index/)>=0||a.search(/.*sharethis.*\/widget\/\?&/)>=0){c=d[b]}}}return c}function dbrInfo(){var a=document.referrer;if(a&&a.length>0){var c=/(http:\/\/)(.*?)\/.*/i;var b=/(^.*\?)(.*)/ig;var f="";var e=a.replace(c,"$2");if(e.length>0){f+="&refDomain="+e}else{return false}var d=a.replace(b,"$2");if(d.length>0){f+="&refQuery="+encodeURIComponent(d)}return f}else{return false}}_thisScript=getShareThisScript();if(_thisScript){SHARETHIS=new ShareThis(parseQueryString(_thisScript.src))}else{SHARETHIS=new ShareThis()}}var _slist=document.getElementsByTagName("script");var _thisScript2=_slist[_slist.length-1];if(_thisScript2&&_thisScript2.parentNode.tagName!="HEAD"&&typeof(_sttoolbar)=="undefined"){var obj=SHARETHIS.addEntry()}}catch(err){};
Print
|
|
Featured Product #1
Featured Product #2
|
|
 Stay in the loop
Subscribe to our e-newsletter and get the latest Schlage news.
|