function CopyToClipboard(obj) {
        var inElement = document.getElementById(obj);
        
            var range = inElement.createTextRange();
            if (range)
            range.execCommand('Copy');        
        
        document.getElementById(flashcopier).innerHTML = '';
        var divinfo = '<embed src="/softimg/_clipboard.swf" FlashVars="clipboard='+encodeURIComponent(inElement.value)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
        document.getElementById(flashcopier).innerHTML = divinfo;
       return;
  }

function myselectaddr(inputurl)
{
	document.getElementById(inputurl).select();
	window.clipboardData.setData("text",document.getElementById(inputurl).value);
}

var bookmark='\
&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&bkmk='+location.href+'&title='+encodeURIComponent(document.title)+'"><img src="/images/goog.gif"  alt="Google Bookmarks"/>Google</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u='+location.href+'&t='+encodeURIComponent(document.title)+'"><img src="/images/facebook.gif" alt="Facebook" />Facebook</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&url='+location.href+'&title='+encodeURIComponent(document.title)+'"><img src="/images/digg.gif" alt="Digg it!"/>Digg</a>&nbsp;&nbsp;&nbsp;&nbsp;\
(<a id="more-options" onclick="document.getElementById(\'bookmarkit\').style.display=\'\'; document.getElementById(\'more-options\').style.display=\'none\'; document.getElementById(\'fewer-options\').style.display=\'\'; return false;" href="javascript:">more share options</a>\
<a id="fewer-options" style="display: none;" onclick="document.getElementById(\'bookmarkit\').style.display=\'none\'; document.getElementById(\'more-options\').style.display=\'\'; document.getElementById(\'fewer-options\').style.display=\'none\'; comment.username.focus(); return false;" href="javascript:">fewer share options</a>)\
<table width="100%" border="0" cellpadding="2" cellspacing="1"><tr bgcolor="#FFFFFF" id="bookmarkit" style=\'display:none\'><td><img src="/images/downarrow.gif" alt="Post to" /> Post to...<br />\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url='+window.location.href+'&title='+encodeURIComponent(document.title)+'"><img src="/images/delicious.gif" alt="Del.icio.us"/>Add to del.icio.us</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+location.href+'"><img src="/images/yahoo-myweb.gif" alt="Yahoo! MyWeb"/>Yahoo!</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?u='+location.href+'&h='+encodeURIComponent(document.title)+'"><img src="/images/fark.gif" alt="Fark" />Fark</a><br />\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://www.reddit.com/submit?url='+location.href+'&title='+encodeURIComponent(document.title)+'"><img src="/images/reddit.gif" alt="Reddit!" />Submit to Reddit</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?t='+encodeURIComponent(document.title)+'&u='+location.href+'&l=1"><img src="/images/myspace.gif" alt="MySpace" />MySpace</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://twitter.com/home?status='+encodeURIComponent(document.title)+'+'+location.href+'"><img src="/images/twitter.gif" alt="Twitter" />Twitter</a><br />\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url='+location.href+'&title='+encodeURIComponent(document.title)+'"><img src="/images/su.gif" alt="StumbleUpon" />StumbleUpon</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://furl.net/storeIt.jsp?u='+location.href+'&t='+encodeURIComponent(document.title)+'"><img src="/images/furl.gif" alt="Furl" />Furl</a>\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://blinklist.com/index.php?Action=Blink/addblink.php&Url='+location.href+'&Title='+encodeURIComponent(document.title)+'"><img src="/images/blinklist.gif" alt="Blinklist" />Blinklist</a>\
<hr style="width:450px; height:1px;" align="left" /><img src="/images/downarrow.gif" alt="Text link code" /> <b>Copy and paste this link into an email or instant message</b><br />&nbsp;&nbsp;&nbsp;&nbsp;<input onclick="myselectaddr(\'inputurl\')" id="inputurl" name="inputurl" type="text" size="45" value="'+location.href+'" class="keywordinput" />  <input onclick="myselectaddr(\'inputurl\')" id="copyurl" name="copyurl" type="image" src="/images/copyurl.gif" alt="copy url" onclick=\'CopyToClipboard("inputurl")\'/> \
</td></tr></table><br />\
';
document.write(bookmark);
