Advertisement
krot

Untitled

Apr 11th, 2012
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. function mn(th){
  3. var d=document.cookie.length;
  4. cook=document.cookie;
  5. name='vs=';//
  6. for(i=0;i<d;++i){
  7. if(cook.substring(i,name.length)==name){
  8. str=cook.substring(i+name.length,d);//
  9. n=str.indexOf(' ');
  10. if(n=-1){//
  11. str=str.substring(0,str.length);
  12. }else{
  13. str=str.substring(0,n);
  14. }
  15. alert(str);
  16. }
  17. }
  18.  
  19. }
  20.  
  21. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement