/*
GallerySettings.gallery_title = "polyrealism";
GallerySettings.gallery_description = "paintings and photography by poul a. costinsky";
GallerySettings.keywords = "art paintings painting surrealism oil artist acrylic acrylics photography nudes nude fetish erotic goth burning man desert bellydancing fashion alternative lolita submission domination BDSM teen teens";
*/
// http://del.icio.us/post?url=http://www.gizmodo.com/gadgets/portable-media/apple-japans-ginza-store-is-awesome-216504.php&title=Apple Japan's Ginza Store Is Awesome
// <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;"> Save This Page</a>
//http://digg.com/submit?phase=2&url=http%3A%2F%2Flittlegreenfootballs.com%2Fweblog%2F%3Fentry%3D23427_BBC_Ties_Self_in_Knots_to_Avoid_Noticing_Hizballah_Crimes%26amp%3Bonly&title=BBC+Ties+Self+in+Knots+to+Avoid+Noticing+Hizballah+Crimes&bodytext=%0AHere%26rsquo%3Bs+a+priceless+quote+from+the+BBC%2C+whose+editors+did+not+realize+that+two+adjacent+sentences+in+this+article+contradict+each+other%3A+Israel+to+probe...
//http://wists.com/r.php?c=null&r=http://gizmodo.com/gadgets/portable-media/turbolinux-wizpy-is-first-mp3linux-player-216544.php
//&u=&title=Turbolinux%20Wizpy%20Is%20First%20MP3/Linux%20Player
function add_metalink(url, text)
{
	return '<td align="right" width="10"><img border="0" src="/gifs/spacer.gif" /></td>'
		+ '<td align="right"><a href="'
		+ url
		+ '"><font color="#7A7A7a">'
		+ text
		+ '</font></a></td>';
}
function add_metalinks()
{
	var html = '<table><tr>';
	var divider = '<td align="right" width="10"><img border="0" src="/gifs/spacer.gif" /></td>';
	var thisurl = location.href;
	// technorati
	html += add_metalink('http://www.technorati.com/claim/inz5qdbkwe" rel="me', '<b>Te</b>chnorati Profile');
	// delicious
	var deliciousurl = 'http://del.icio.us/post?url=' + thisurl + '&title=' + GallerySettings.gallery_title + ':' + GallerySettings.gallery_description
	    + '&notes=' + GallerySettings.gallery_description
	    + '&tag='  + "'" + GallerySettings.keywords + "'";
	html += add_metalink(deliciousurl, 'add to del.icio.us');
	// digg
	var diggurl = 'http://digg.com/submit?phase=2&url=' + encodeURIComponent(thisurl) 
		+ '&title='+encodeURIComponent(GallerySettings.gallery_title)
		+ '&bodytext=' + encodeURIComponent(GallerySettings.gallery_description + ': ' + GallerySettings.keywords)
		+ '&topic=offbeat_news';
	html += add_metalink(diggurl, 'digg this');
	// wists
	var wistsurl = 'http://wists.com/r.php?c=null&r=' + encodeURIComponent(thisurl) + '&u=&title=' + encodeURIComponent(GallerySettings.gallery_title + ':' + GallerySettings.gallery_description);
	html += add_metalink(wistsurl, 'wist');
	html += '</tr></table>';
	return html;
}


