This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// helper function to set cookies | |
function setCookie(cname, cvalue, seconds) { | |
var d = new Date(); | |
d.setTime(d.getTime() + (seconds * 1000)); | |
var expires = "expires="+ d.toUTCString(); | |
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; | |
} | |
// helper function to get a cookie |