function fbshare(){
	var d=document,
		f='http://www.facebook.com/share',
		l=d.location,
		e=encodeURIComponent,
		p='.php?u='+e(l.href)+'&t='+e(d.title);
	try{
		if(!/^(.*\.)?facebook\.[^.]*$/.test(l.host))
			throw(0);
		share_internal_bookmarklet(p);
	}catch(z) {
		a=function() {
			if (!window.open(f+'r'+p,'sharer','toolbar=0,status=0,resizable=1,width=626,height=436'))
				l.href=f+p
		};
		if (/Firefox/.test(navigator.userAgent))
			setTimeout(a,0);
		else{
			a()
		}
	}	
}
function tishare(){
	var d=document,
    f='http://www.tuenti.com/share',
    l=d.location,
    e=encodeURIComponent,
    p='?url='+e(l.href);
	
	try{
		a=function() {
			if (!window.open(f+p,'sharer','toolbar=0,status=0,resizable=1,width=626,height=436'))
				l.href=f+p
		};
		if (/Firefox/.test(navigator.userAgent))
			setTimeout(a,0);
		else{
			a()
		}
	}catch(z) {
		
	}	
}
function twshare(){
	var d=document,
		f='http://twitter.com/home',
		l=d.location,
		e=encodeURIComponent,
		/*DESDE AQUI*/
		s='',
		/*HASTA AQUI*/
		p='?status='+e(s);
	try{
		a=function() {
			if (!window.open(f+p,'sharer','toolbar=0,status=0,resizable=1,width=626,height=436'))
				l.href=f+p
		};
		if (/Firefox/.test(navigator.userAgent))
			setTimeout(a,0);
		else{
			a()
		}
	}catch(z) {
		
	}		
}
