I've managed to make it. The sourcecode looks like a mess, but at least it works. Feel free to use it as you like as long as you want.
code:
<script language="JavaScript" type="text/JavaScript">
<!--
function toggleVisibility(obj)
{
document
if (obj!=null)
{
if (document.getElementById)
{
var current = (document.getElementById(obj).style.display == 'block') ? 'none' : 'block';
document.getElementById(obj).style.display = current;
}
else if (document.all)
{
var current = (document.all[obj].style.display == 'block') ? 'none' : 'block'
document.all[obj].style.display = current;
}
}
}
var Value = Math.random()*57568745757456;
document.write("<a href=");
document.write('"javascript:toggleVisibility(');
document.write("'");
document.write(Value);
document.write("')");
document.write('">Spoiler</a>');
document.write("<div id=");
document.write("'");
document.write(Value);
document.write("'");
//-->
</script>
style="display:none;">
<p style="background-color:FF0000;FONT-SIZE: 24pt;">
{content}
</p>
</div>
Sorry, I didn't express myself how I needed help clear enough, but case solved.