var share = function(element){
			
	if(!hasValue(element))
		return;

	/*MYSPACE
	<form id="myspacepostto" method="post" action="http://www.myspace.com/index.cfm?fuseaction=postto" target="_blank">
		<input type="hidden" name="t" value="TITLE_GOES_HERE" />
		<input type="hidden" name="c" value="CONTENT_GOES_HERE" />
		<input type="hidden" name="u" value="URL_GOES_HERE" />
		<input type="hidden" name="r" value="RETURN_URL_GOES_HERE" />
		<input type="hidden" name="l" value="LOCATION_GOES_HERE" />
		<a href="#" onclick="document.getElementById('myspacepostto').submit();return false;">
		<img src="http://cms.myspacecdn.com/cms/post_myspace_icon.gif" border="0" alt="Post To MySpace!" /> Share on MySpace!
		</a>
	</form>
	*/
	
	var myspace_form = $("<form></form")
		.attr({
			  'id':'myspacepostto',
			  'method':'post',
			  'action':'http://www.myspace.com/index.cfm?fuseaction=postto',
			  'target':'_blank'
			  })
		.html('<input type="hidden" name="t" value="'+site.title+'" /><input type="hidden" name="c" value="'+site.description+'" /><input type="hidden" name="u" value="'+$("meta[name='url']").attr("content")+'" />');
	
	var myspace = $("<a></a>")
		.attr({
			  })
		.click(function(){
			$(myspace_form).submit();
			return false;
						})
		.html('<img src="http://cms.myspacecdn.com/cms/post_myspace_icon.gif" border="0" alt="Post To MySpace!" />');
	
	/*LINKEDIN
	<a href="http://www.linkedin.com/shareArticle?mini=true&url={articleUrl}&title={articleTitle}&summary={articleSummary}&source={articleSource}"><img src="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif" /></a>
	*/
	var linkedin = $("<a></a>")
		.attr({
			  'href':'http://www.linkedin.com/shareArticle?mini=true&url='+site.url+'&title='+site.title+'&summary='+site.description+'&source=',
			  'target':'_blank'
			  })
		.html('<img src="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif" alt="Link to LinkedIn" />');
	
	
	
	
	
	/*FACEBOOK
	<a href="http://www.facebook.com/share.php?u=http://www.net-blast.com/Webdesk/pages/index.html?$id$" onclick="return fbs_click()" target="_blank"><img src="http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981" alt="" /></a>				
	*/
	
	var facebook = $("<a></a>")
		.attr({
			  'href':'http://www.facebook.com/share.php?u='+site.url,
		  	'target':'_blank'
		  	})
		.click(function(){
			u=location.href;
			t=document.title;
			window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		})
		.html('<img src="http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981" alt="Link to Facebook" />');
	
	$(element).append(myspace_form);
	$(element).append(myspace);

	$(element).append(linkedin);
	$(element).append(facebook);
}