// Copyright Paper 2010 if (document.location.href == main_url + "register/?c=1") { var limit = 5; var qnum=1; var qhtml="This is a pre-registration intelligence test that we require all new members to do, in order to maintain a high standard of discussion on this board. It consists of a few simple questions that you should read carefully."; qhtml+="You may retake the test at any time as many times as you need, however if you are unable to complete the test then please contact the administrator who may register you."; qhtml+="

You must get " + limit + " of the questions correct in order to register

"; function newQ(question,ans1,ans2,ans3,correct) { qhtml += qnum + ": " + question + "


"; qnum++; } function check() { var isOK = document.getElementsByName("qtest").length; var thisQ; for (var i=0;thisQ = document.getElementsByName("qtest")[i];i++) { if (thisQ.value == "false") isOK--; } if (isOK < limit) { alert("Sorry, you did not obtain enough correct questions to register. Please try again"); document.location.href = main_url + "register/"; } else { alert("Congratulations, you may now register. You got " + isOK + " of the questions correct"); $("#theQtest").hide(); $(".register").show(); } } newQ("If Jim is taller than Jill and Jim is shorter than Jack, is Jack taller or shorter than Jill?","Taller","Shorter","Unknowable",1); newQ("If a farm has 3 pigs and 4 chickens, how many feet in total are there?","14","20","22.5",2); newQ("Some months have 30 days, some months have 31 days. How many months have 28 days?","None","One","All",3); newQ("If a doctor gives you 3 pills and tells you to take one pill every half hour, how long would it be before all the pills had been taken?","0.5 hours","1.0 hours","1.5 hours",2); newQ("Divide 30 by half and add ten. What do you get?","25","70","You can't divide by a half",2); newQ("A farmer had 17 sheep. All but 9 died. How many live sheep were left?","8","17","9",3); newQ("What weighs more? A pound of feathers or a pound of bricks?","Feathers","Bricks","Neither",3); newQ("If you pass the 2nd person in a race what will you be coming?","1st","2nd","3rd",2); newQ("If an airplane crashed in the English channel, where would the survivors be buried?","Buried in England","Buried at place of birth","Not buried at all",3); newQ("A feather and a brick are dropped at exactly the same time on the moon. Which will fall faster?","The brick","Depends on the wind","Neither",3); qhtml+="
Check"; $(".register").hide(); $(".register").parent().append("" + qhtml + ""); }