<script type="text/javascript"><!--
state_switch = function() {
var body = document.getElementById("truc");
body.addEventListener('onclick',alert("gn"),false);
var state = "a";
/*body.onclick = function() {
if (state == "a") {
alert('a');
state = "b";
} else {
alert('a');
state = "a";
}
}*/
}
if (window.attachEvent) window.attachEvent("onload", state_switch);
--></script></head>
<body>
<h1>pokute.com</h1>
<p id="truc" style="background: #0f0">Encore un peu de patience ...</p>
</body></html>