var theURL = encodeURIComponent(document.location.href);	// this is the page's URLvar theTitle = escape(document.title);	// this is the page's TITLEdocument.write ('<div id="article-tools" class="group"><h2>Tools</h2><ul>');document.write('<ul>');document.write('<li class="email-friend"><a href="#" onclick="javascript:MM_openBrWindow(\'http://ezramagazine.cornell.edu/linkmailerE.html\',\'emailer\',\'width=500, height=425\')">Email to a friend</a></li>');document.write('<li class="facebook"><a href="http://www.facebook.com/sharer.php?u=' + theURL + '" rel="nofollow" title="Facebook" target="_blank">Share with Facebook</a></li>');document.write('<li  class="myspace"><a href="http://www.myspace.com/index.cfm?fuseaction=postto&t=' + theTitle + '&u=' + theURL + '&l="2" target="_blank">Share with MySpace</a></li>');document.write('</ul>');document.write('</div>');