// JavaScript Document
<script type="text/javascript" language="JavaScript">
	//<![CDATA[
	//Bookmark on del.icio.us
	function dbt_bookmark(targetURL,service) {
		//URL of this document
		if(!service) service='delicious';
		var loc=(targetURL && targetURL.length>0?targetURL:location.href);
		//Strip out any anchors
		var apos=loc.indexOf('#');
		loc=encodeURIComponent((apos>0?loc.substring(0,apos):loc));
		
		//Get Title and encode
		var title = encodeURIComponent(document.title); 
		
		var url='';
		
		//Redirect to service
		if(service=='digg') url='http://www.digg.com/submit?phase=2&url=' + loc + '&title=' + title;
		else if(service=='newsvine') url='http://www.newsvine.com/_tools/seed&save?u=' + loc + '&h=' + title;
		else if(service=='furl') url='http://www.furl.net/storeIt.jsp?p=1&u='+ loc +'&t=' + title;
		else if(service=='blinklist') url='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=' + loc + '&Title=' + title;
		else url='http://del.icio.us/post?v=2&url=' + loc + '&amp;title=' + title;
		
		location.href = url;
		return false;
	}
	//]]>
</script>