Untitled


SUBMITTED BY: Guest

DATE: May 25, 2013, 12:07 a.m.

FORMAT: Text only

SIZE: 783 Bytes

HITS: 1132

  1. for (cloop = eqchr; cloop < clength; cloop++) {
  2. if (cookiec==";") {
  3. cloop=clength;
  4. }
  5. else {
  6. cookies = cookies + cookiec.charAt(cloop);
  7. }
  8. }
  9. cookiess = parseInt(cookies);
  10. document.write("[" + cookiess + "]");
  11. cookiess++;
  12. cookies = cookiess;
  13. var one_week = 7 * 24 * 60 * 60 * 1000;
  14. var expDate = new Date();
  15. expDate.setTime(expDate.getTime() + one_week);
  16. document.cookie = "Counter=" + escape(cookies) + "; expires=" + expDate.toGMTString();
  17. }
  18. else {
  19. var one_week = 7 * 24 * 60 * 60 * 1000;
  20. var expDate = new Date();
  21. expDate.setTime(expDate.getTime() + one_week);
  22. document.cookie = "Counter=2; expires=" + expDate.toGMTString();
  23. document.write("[1]");

comments powered by Disqus