var quiz = new Array(); var r = 0;
quiz[r++] =('22~87~Bill Yee is famous for what?~building the star ship enterprise~running the Vulcan Hotel~running various liquor stores~golfing the lowest round at the Vulcan Golf Club');
quiz[r++] =('25~12~which famous lip sync was done at cchs~backstreets back~big balls~friends in low places~thriller~gg.html');
quiz[r++] =('39~52~dave mitchel is famous for running what~the vulcan hotel~ufa~p&amp;h elevator~a&amp;g foods~gg.html');
quiz[r++] =('10~18~Who built the starship enterprise~gary mckinnon~george thompson~bill yee~randy wolfe~dd.html');
quiz[r++] =('25~37~who from grad 96 was famous for karate~garth oldfield~colin moner~peter wyatt~ryan smith~ss.html');
quiz[r++] =('23~87~which grad 96 alumni was a track pro~josh thompson~ryan russel~chris thompson~mike thompson~dd.html');
quiz[r++] =('13~43~Which grad 96 alumni was a brianiac~kevin akitt~kyle ladd~chella barrot~lori lievart~ss.html');
quiz[r++] =('18~38~Who was a famous computer teacher~Mr. Anderson~Mrs. Dow~Mr. Crosby~Mr. B~sss.html');
quiz[r++] =('34~17~who was a famous track coach~mr. meahan~ms. hodge~mr. seaman~mr. monts~dd.html');
quiz[r++] =('12~89~where is UFA located from the water tower~n~s~e~w~dd.html');
quiz[r++] =('39~47~which director from vulcan was beer bottle hill~nw~ne~sw~se~dd.html');
quiz[r++] =('20~43~who was the loudest grad 96 immigrant~alled bellis~lisa mcniven~chella barrot~sherri gooch~dd.html');
quiz[r++] =('35~68~which teacher was involved in the infamous broken thumbs incident~mr. forestell~mr. monts~mr. montgomery~mr. anderson~dd.html');
quiz[r++] =('37~17~where were FCSS dances usually held~cchs gym~CRC~elemtary school gym~legion hall~dd.html');
quiz[r++] =('45~78~what was the name of elemtary school~hazel cameron~bill yee~FCSS~PYPA~dd.html');
quiz[r++] =('34~67~where would the school yard fight take place~the ball diamonds~the golf course~the tennis courts~the cricket courts~dd.html');
quiz[r++] =('19~37~which grad 96 alumni would most likely sell used cards~clark langridge~lisa mcniven~leah milan~joel hartung~dd.html');
quiz[r++] =('27~77~which grad 96 would most likely carry the label redneck~mark nadon~ryan russel~alled bellis~ryan smith~dd.html');
quiz[r++] =('16~13~who was involved in the production of most of cchs yearbooks~garth oldfield~kelly bach~erin morseth~jason gooch~dd.html');
quiz[r++] =('16~42~where was the venue of choice for the class ski trip~ferni~lake louise~c.o.p.~sunshine~dd.html');
quiz[r++] =('48~58~which grad 96 alumni is synonomous with Brocket 99~Kevin Stretch~Mark Nadon~Kyle Lhadd~Josh Thompson~dd.html');
quiz[r++] =('8~72~Which teacher taught Social Studies~Mr. Anderson~Mr. Monts~Mrs. Inaba~Mr. Brandly~dd.html');
quiz[r++] =('16~38~Sherri Gooch rode the towns perogi in her underwear~True~False~~~dd.html');
quiz[r++] =('13~98~Who was the elementary music teacher~mr. meahan~mrs. c.~mrs. milan~mr. crosby~dd.html');
quiz[r++] =('35~23~this couple dated:  lean milan and mike thompson~true~false~~~dd.html');
quiz[r++] =('9~52~this couple dated: sherri gooch, clark langridge~true~false~~~dd.html');

var quest = 10;

// Random Quiz Selector Addon
// copyright 12th April, 2005 by Stephen Chapman
// these functions may be added to the bottom of the quizhead.js script
// of most of my quiz scripts to randomly select "quest" questions from
// a larger array of questions
// permission to use this Javascript on your web page is granted
// provided that all of the code in this script (including these
// comments) is used without any alteration

function randQuiz(num,arry) {if (quiz.length < num) return arry;var rndary = new Array();for (var i = 0; i<arry.length; i++) {var x = Math.floor(Math.random()*500)+100;var y = 101+i;rndary[i] = ''+x+y+':'+arry[i];}rndary.sort();var newary = new Array();var sel = '';for (var i=0; i<num; i++) {sel += rndary[i].substr(3,3); newary[i] = rndary[i].substr(7);}document.cookie = 'quizSel='+sel;return newary;}
function sameQuiz(quiz,sel) {var newary = new Array();for (var i=0; i< sel.length/3;i++) {var n = sel.substr(i*3,3);var m = parseInt(n) - 101;newary[i] = quiz[m];}return newary;}
function readCookie(cname) {thisCookie = document.cookie.split('; ');for (var i=0; i<thisCookie.length;i++) {if (thisCookie[i].split('=')[0] == cname) return thisCookie[i].split('=')[1];} return false;}
//var sel = readCookie('quizSel');if (sel) quiz = sameQuiz(quiz,sel);else quiz = randQuiz(quest,quiz);
var sel = readCookie('quizSel');quiz = randQuiz(quest,quiz);

