function EnviarA(type, direccion, titulo )
{
	if ( direccion != "" )
	{
		var title = encodeURIComponent(titulo);
		var href = encodeURIComponent(direccion);
		var components = direccion.split('/');
	}
	else
	{
		var title = encodeURIComponent(window.document.title);
		var href = encodeURIComponent(window.document.location.href);
		var components = window.document.location.href.split('/');
	}

	if ( titulo != "" )
		var title = encodeURIComponent(titulo);
	else
		var title = encodeURIComponent(window.document.title);
	
	var tags = '';
	
	if(components[6] != '')
	{
		tags += components[6]+' ';
	}
	if(components[7] != '')
	{
		tags += components[7]+' ';
	}
	if(components[8] != '')
	{
		tags += components[8]+' ';
	}		
	
	tags = encodeURIComponent(tags);
	
	switch(type)
	{
		case 'meneame' :
		
			url = 'http://meneame.net/submit.php?url='+href;
			break;
			
		case 'digg' :
		
			url = 'http://digg.com/submit?phase=2&url='+href+'&title='+title;
			break;
			
		case 'delicious' :
		
			url = 'http://del.icio.us/post?url='+href+'&title='+title;
			break;
			
		case 'technorati' :
		
			url = 'http://www.technorati.com/search/'+tags+'?sub=postcosm';
			break;
			
		case 'yahoo' :
		
			url = 'http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+href+'&t='+title+'&ei=UTF-8';
			break;
					
		case 'fresqui' :
		
			url = 'http://tec.fresqui.com/post?url='+href+'&title='+title;
			break;		

		case 'google' :
		
			url = 'http://www.google.com/bookmarks/mark?op=edit&bkmk='+href+'&title='+title;
			break;		

		case 'favoriting' :
		
			url = 'http://www.favoriting.com/nuevoFavorito.asp?qs_origen=3&qs_url='+href+'&qs_title='+title;
			break;		

		case 'chido' :
		
			url = 'http://chido.blogsmexico.com/submit.php?url='+href;
			break;		

		case 'blinklist' :
		
			url = 'http://es.blinklist.com/index.php?Action=Blink/addblink.php&Url='+href+'&Title='+title;
			break;		

		case 'enchilame' :
		
			url = 'http://enchilame.com/submit.php?url='+href;
			break;		

		case 'barrapunto' :
		
			url = 'http://barrapunto.com/submit.pl?story=&subj='+title;
			break;		

		case 'blogmemes' :
		
			url = 'http://www.blogmemes.com/post.php?url='+href+'&title='+title;
			break;		

		case 'webeame' :
		
			url = 'http://www.webeame.net/submit.php?url='+href;
			break;		

		case 'wong' :
		
			url = 'http://www.mister-wong.es/index.php?action=addurl&bm_url='+href+'&bm_description='+title;
			break;		

	}
	
	window.open(url);
}