<!DOCTYPE html>
<html>
<head>
</head>
<div id="wrapper">
<p>The Best Partner Programm here</p>
</div>
<body>
<script>
wrapper=document.querySelector("#wrapper")
go=function(){ wrapper.innerHTML="thanks"; setTimeout(function(){open("http://javascript.ru")}, 1000);}
wrapper.onclick=function(){this.innerHTML="<a href='#'>click here to go to the site</a>"; this.onclick=go}
</script>
</body>
</html>