function s2w_alpha(elem,opacityAsInt) {
var opacityAsDecimal = opacityAsInt;
if (opacityAsInt > 100)
opacityAsInt = opacityAsDecimal = 100;
else if (opacityAsInt < 0)
opacityAsInt = opacityAsDecimal = 0;
opacityAsDecimal /= 100;
if (opacityAsInt < 1)
opacityAsInt = 1; // IE7 bug, text smoothing cuts out if 0
try {
elem.style.opacity = (opacityAsDecimal);
elem.style.filter = "alpha(opacity=" + opacityAsInt + ")";
} catch (err) {
}
}
function s2w_hover(obj) {
s2w_alpha(obj,100);
}
function s2w_background(obj) {
s2w_alpha(obj,opacity);
}
function s2w_more() {
document.getElementById('s2w_more').style.display='block';
setTimeout("document.getElementById('s2w_more').style.display='none';",10000);
}
function str_replace(search, replace, subject) {
var s = subject;
var ra = r instanceof Array, sa = s instanceof Array;
var f = [].concat(search);
var r = [].concat(replace);
var i = (s = [].concat(s)).length;
var j = 0;
while (j = 0, i--) {
if (s[i]) {
while (s[i] = (s[i]+'').split(f[j]).join(ra ? r[j] || "" : r[0]), ++j in f){};
}
}
return sa ? s : s[0];
}
var s2w_url=window.location;
var s2w_title=document.title;
var share2web="";
var share2web="
";
share2web=str_replace('[title]',encodeURIComponent(s2w_title),share2web);
share2web=str_replace('[url]',encodeURIComponent(s2w_url),share2web);
var services='








';
services=str_replace('[title]',encodeURIComponent(s2w_title),services);
services=str_replace('[url]',encodeURIComponent(s2w_url),services);
var opacity='75';
var s2w="";
var s2w = "