someone_

asdasdasd

Oct 1st, 2012
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function i_have_a_clue()
  2. {
  3. var c_name="ui-tnc-agreed",value="true",exdays=365,path="/";
  4. var exdate=new Date();
  5. exdate.setDate(exdate.getDate() + exdays);
  6. var c_value=escape(value) + "; expires="+exdate.toUTCString() + "; path="+escape(path);
  7. document.cookie=c_name + "=" + c_value;
  8. }
RAW Paste Data