Advertisement
a1ananth

Untitled

Apr 5th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document.getElementById('group_4_4').setAttribute('checked', 'checked');
  2. document.getElementById('entry_1')[3].selected = "1"
  3.  
  4. var opts = new Array(8, 174, 36, 106, 10, 45, 108, 84, 45, 24, 182, 22, 12, 180, 64, 14, 26, 16, 20, 40, 104, 44, 34);
  5. var max = new Array(3, 2, 4, 4, 5, 5, 5, 4, 3, 3, 4, 5, 4, 2, 5, 3, 4, 4, 4, 4, 2, 3, 2);
  6. for (var i=0; i<opts.length; i++) {
  7.     var rnd = Math.floor((Math.random()*(max[i]+1)));
  8.     if (rnd == 0) rnd = 1;
  9.     try {
  10.         document.getElementById('group_' + opts[i] + '_' + rnd).setAttribute('checked', 'checked');
  11.     } catch (e) {
  12.         console.log('Error in: ' + 'group_' + opts[i] + '_' + rnd);
  13.     }
  14. }
  15. opts = new Array('other_option:88', 'other_option:30', 'other_option:32', 'other_option:82');
  16. for (var i=0; i< opts.length; i++) {
  17.     try {
  18.         document.getElementById(opts[i]).setAttribute('checked', 'checked');
  19.     } catch (e) {
  20.         console.log("xxx");
  21.     }
  22. }
  23.  
  24. document.getElementsByName('entry.88.group.other_option_')[0].value="I rape the guy and then blackmail him to go on a date."
  25. document.getElementsByName('entry.30.group.other_option_')[0].value="Size of his penis (I get to see it when I rape the guy)";
  26. document.getElementsByName('entry.32.group.other_option_')[0].value="Nope! Because we are so ugly that we don't find guys interested in us.";
  27. document.getElementsByName('entry.82.group.other_option_')[0].value="How many guys they have raped.";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement