function Hide()
{
document.getElementById("p1").style.display="none";
}
function Display()
{
document.getElementById("p1").style.display="block";
}
</script>
<input onclick="Hide()" type="button" value="Hide text" />
<div id="p1">
Your text here.</div>
<input onclick="Display()" type="button" value="Show text" />