function share(identifier) {
	var shareURL = "";
	var URL = window.document.location.href;

	//se quita la posible # del final
	if (URL.charAt(URL.length-1) == "#")
	{
		URL = URL.substring(0,URL.length-1);
	}
	
	var titleURL = encodeURIComponent(window.document.title);

	if (identifier == 'meneame.net') {
		shareURL = 'http://meneame.net/submit.php?url='+URL;
	} else if (identifier == 'del.icio.us') {
		shareURL = 'http://del.icio.us/post?title='+titleURL+'&url='+URL;
	} else if (identifier == 'digg.com') {
		shareURL = 'http://digg.com/submit?phase=2&url='+URL+'&title='+titleURL;
	} else if (identifier == 'facebook.com') {
		shareURL = 'http://www.facebook.com/sharer.php?u='+URL;
	} else if (identifier == 'yahoo.es') {
		shareURL = 'http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+URL+'&t='+titleURL;
	} else if (identifier == 'fresqui') {
		shareURL = 'http://tec.fresqui.com/post?url='+URL+'&title='+titleURL;
	} else if (identifier == 'technorati') {
		shareURL = 'http://www.technorati.com/';
	} else if (identifier == 'blogger') {
		shareURL = 'http://www.blogger.com/blog_this.pyra?t='+algo+'&amp;u='+URL+'&amp;n='+titleURL;
	}
		
	   
	if (shareURL != "") {
		window.open(shareURL);
	}
	return false;
}

