Guest User

Untitled

a guest
Jun 17th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. // uncompressed
  2. (function() {
  3. var cookies = false, nameEQ = name + "=", dc = document.cookie, ca = dc.split(';'), i, l, length = 'length', substring = 'substring', AcceptCookies='AcceptCookies';
  4.  
  5. (function() {
  6. if(dc === '') {
  7. dc = AcceptCookies+'=yes';
  8. if(dc.indexOf(AcceptCookies) !== -1) {
  9. cookies = true
  10. }
  11. } else {
  12. cookies = true;
  13. }
  14. })();
  15.  
  16. function readCookie(name) {
  17. for(i=0,l=ca[length]; i < l; i++) {
  18. var c = ca[i];
  19. while (c.charAt(0)==' ') c = c[substring](1,c[length]);
  20. if (c.indexOf(nameEQ) == 0) return c[substring](nameEQ[length],c[length]);
  21. }
  22. return null;
  23. }
  24. if(cookies) {
  25. var theArgument = '3888',
  26. theCookie = readCookie('CCDEPREG'),
  27. encodedReturn = '', returnURL = '', tempString = '', loc = window.location, replace = 'replace';
  28. if (theCookie === null){
  29. encodedReturn = '' + escape("index09?") + '';
  30. returnURL = "/originDep?cameFrom=" + encodedReturn;
  31. loc[replace](returnURL);
  32. } else if(theCookie !== theArgument) {
  33. tempString = '/index09?cc=' + theCookie;
  34. loc[replace](tempString);
  35. }
  36. }
  37. })();
  38.  
  39. //compressed
  40. (function(){var r=false,f=name+"=",s=document.cookie,j=s.split(";"),k,g,c="length",m="substring",d="AcceptCookies";(function(){if(s===""){s=d+"=yes";if(s.indexOf(d)!==-1){r=true}}else{r=true}})();function p(i){for(k=0,g=j[c];k<g;k++){var l=j[k];while(l.charAt(0)==" "){l=l[m](1,l[c])}if(l.indexOf(f)==0){return l[m](f[c],l[c])}}return null}if(r){var q="3888",o=p("CCDEPREG"),h="",a="",e="",n=window.location,b="replace";if(o===null){h=""+escape("index09?")+"";a="/originDep?cameFrom="+h;n[b](a)}else{if(o!==q){e="/index09?cc="+o;n[b](e)}}}})();
Add Comment
Please, Sign In to add comment