I DID IT with your help!
This is how I did:
On the normal pages:
<script language="JavaScript">
<!--
function setCookie(name,value,expires,path,domain,secure) {
document.cookie = name + "=" +escape(value) +
((expires) ? ";expires=" + expires.toGMTString() : "") +
((path) ? ";path=" +...