function setCookie(name, value, expiredays ) { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } function hideMe(){ if(document.popForm.chkbox1.checked == true ) { setCookie("mainPop1", "done" , 1 ); document.getElementById('chkbox1').checked = false; } docume..