// JavaScript Document
function viewHide(id)
{
var targetId, srcElement, targetElement;
var targetElement = document.getElementById(id);
if (targetElement.style.display == "none") {
targetElement.style.display = "";
} else {
targetElement.style.display = "none";
}
}
function GetThis(T, C, U, L)
{		
	var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T) + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
	
	window.open(targetUrl);
}
function ir(url)
{	
	window.open(url, "_blank");

}
function reiniciar(url)
{	
	window.open(url, "_self");

}
function popup(url)
{	
	window.open(url,'','width=300,height=200,scrollbars=1');

}
function blancos()
{	
	if(document.form_comentar.comentario.value == '')
	{		
		document.form_comentar.comentario.select();
		return(false);
	}
	for(i = 0; i < document.form_comentar.comentario.value.length; i++)
	{ 
         if (document.form_comentar.comentario.value.charAt(i)!=" ")
		 { 
             return(true);
         } 
    }
	document.form_comentar.comentario.select(); 
    return(false); 
}
function smile(texto){
document.form_comentar.comentario.value = document.form_comentar.comentario.value + texto;
}