function showTitlePost(id){

	document.getElementById('postContent_'+id).style.display = 'block';
	document.getElementById('linkTitlePost_'+id).href = 'javascript:hideTitlePost('+id+');';
}
function hideTitlePost(id){

	document.getElementById('postContent_'+id).style.display = 'none';
	document.getElementById('linkTitlePost_'+id).href = 'javascript:showTitlePost('+id+');';
}

function printEmoticon(image){

	document.reply_message.inputText.value = document.reply_message.inputText.value+image;
	document.reply_message.inputText.focus();
}

function loadPage(msg){

	document.getElementById('tags').innerHTML = '<div style="padding-top:10px; font-size:12px; font-weight:bold; color:#666666;"><img src="images/ajax_loader.gif" border="0" align="absmiddle">&nbsp;&nbsp;&nbsp; '+msg+'</div>';
}

function searching(){
	document.getElementById('topSearch').innerHTML = '<img src="images/icon_search.gif" border="0" align="absmiddle" /> Buscando... <div style="float:right;"><a style="color:#333333; text-decoration:underline;" href="">Búsquedas recientes</a> <img src="images/icon_recent.gif" border="0" align="absmiddle" /></div>';
}

function location_page(url){
	document.location.href=url
}

function showAdminPost(div,link){

	document.getElementById(div).style.display = "block";
	document.getElementById(link).href = "javascript:hideAdminPost('"+div+"','"+link+"');";
}
function hideAdminPost(div,link){

	document.getElementById(div).style.display = "none";
	document.getElementById(link).href = "javascript:showAdminPost('"+div+"','"+link+"');";
}