				var showurl;
				
				function urlencode() 
				{
					var newURL;
					var tempstr;
					var URL = location.href;
					var len = URL.length;
					for (j=0;j<len;j++) 
					{
						tempstr = URL.charCodeAt(j);
						if (j == 0) newURL = escape(String.fromCharCode(tempstr));
						else 
						newURL = newURL + escape(String.fromCharCode(tempstr));
					}
					return newURL;
				}
				function digg() 
				{
					showurl = urlencode();
					window.open("http://digg.com/submit?phase=2&url=" + showurl, "digg", "width=470,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
				}
				function delicious() 
				{
					showurl = urlencode();
					window.open("http://del.icio.us/post?url=" + showurl, "digg", "width=470,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
				}
				function reddit() 
				{
					showurl = urlencode();
					window.open("http://reddit.com/submit?url=" + showurl, "digg", "width=470,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1")
				}
				function facebook()
				{
					showurl = urlencode();
					window.open("http://www.facebook.com/share.php?u=" + showurl, "facebook", "width=470,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
				}
				function stumble() 
				{
					showurl = urlencode();
					window.open("http://www.stumbleupon.com/submit?url=" + showurl, "stumble", "width=470,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
				}				
