<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Fixed Building Quiz - RJM Programming - April, 2020</title>
<link href='//www.rjmprogramming.com.au/PHP/emboss_h1.css' rel='stylesheet' type='text/css'>
<style>
div.sticky { /* Thanks to https://www.w3schools.com/css/css_positioning.asp */
position: -webkit-sticky; /* Safari */
position: sticky;
top: 50;
background-color: green;
border: 2px solid #4CAF50;
}
</style>
<script type='text/javascript'>

var cursy=0, maxsy=0;
var trslots=[];
var cursuff=1;
var totqs=0, askedq=0, sofarqs=',-1,', diva='', kcnt=0, neg=1, movedelay=-800;

var qanda=[
"Sport","Judith2nd","Who was Manager at Manchester United Football Club from 1945 to 1969?","#Jack Charlton,Mat Busby,#Alf Ramsey","Saint Valentine's Brook is a fence on which horse racing course?","newbury,ascot,Aintree","Britain's Gemma Spofforth achieved fame in which sport in 2009?","#Tennis,Swimming,#Cycling","Which tennis player won the mixed doubles title at Wimbledon in 1980 with her brother John?","Tracy Austin,#Betty Stöve,#Jo Durie","The French-Canadian Alain Robidoux made his name as a competitor in which sport?","Snooker,#Skiing,#Squash","In which sport was the Kongsberger Technique used for many years in the first half of the twentieth century?","#Table Tennis,Ski-jumping,#Archery",
"Film and Television","Chris2nd","In an April Fool's Day broadcast in 1957 BBC Television viewers were fooled into believing that which food was grown on trees when the story featured in a Panorama special?","#Rice,Spaghetti,#Pizza","Kurt Benson and Natasha Anderson and Jambo Bolton were original characters in which TV series that first aired in 1995?","Hollyoaks,#Eldorado,#Byker Grove","Who played the role of Flash Harry in 2007 film St Trinian's?","#Matthew Horne,Russell Brand,#Rupert Grint","Which French actress starred as the fashion designer Coco Chanel in the 2009 film Coco Before Chanel?","Audrey Tautou,#Ludvine Sagnier,#Emmanuelle Béart","Who directed the film This is Spinal Tap and The Princess Bride and When Harry Met Sally in the 1980s?","#Billy Crystal,#Barry Levinson,Rob Reiner","Which Japanese actor born in 1920 was closely associated with the director Akira Kurosawa appearing in his films Rashamon and The Seven Samurai and Yojimbo?","#Takeshi Kitano,#Ken Watanabe,Toshiro Mifune",
"Science","Daphne2nd","In astronomy the term terrestrial is used to refer to Mars and Earth and Mercury and which other planet?","#Saturn,#Neptune,Venus","Otology is the medical science that deals with the diseases of which part of the human body?","#Heart,#Joints,Ear","George Bool who lived and died in the 19th century is particularly associated with which subject?","Mathematics,#Chemistry,#Biology","In aviation what joins thrust and drag and lift to make up the so-called four forces of flight?","#Friction,Weight,#Magnetism","Sodoku is a disease usually transmitted to humans from which animal?","#Fox,Rat,#Dog","The Jomony End Quench Test measures certain characteristics of which substance?","#Gold,Steel,#Silver",
"Music","*CJ2nd","The Twisted Wheel Club in Manchester and The King Mojo Club in Sheffield and The Wigan Casino were all particularly associated with which musical scene of the 60s and 70s?","#Northern Punk,#Northern Rock,Northern Soul","At the Last Night of the Proms a laurel wreath is traditionally placed on the bust of which figure?","Henry Wood,#Bryn Terfel,#Edward Elgar","Which member of the Rolling Stones has sole UK top 40 hits with the songs Let's Work and Just Another Night and Sweet Thing?","#Keith Richards,Mick Jagger,#Bill Wyman","Who wrote and had a UK top 20 hit with the song It Must Be Love on 1971 ten years before Madness reached the top 5 with a cover version?","desmond dekker,*bobby womack,Labi Siffre","Which singer songwriter's debut opera entitled Prima Donna was first performed at the Manchester National Festival in 2009?","#Beck,#Elton John,Rufus Wainwright","The American musician Ry Cooder is best known for playing which instrument?","*piano,trumpet,Guitar",
"General Knowledge","Kevin++2nd","What nickname was often given to British subjects who migrated to Australia after the Second World War under an assisted passage scheme?","#Five-Bob Brits,#Tuppence Tommies,Ten-Pound Poms","Which computer character was developed by the gaming company Saga in the early 1990s in an attempt to create a rival for the successful Nintendo character name Mario?","#Lara Croft,Sonic the Hedgehog,#Pac-Man","Which fashion and pop culture magazine often seen as a British style bible was launched by journalist Nick Logan in 1980?","#Melody Maker,#New Musical Express,The Face","Which Formula One world champion driver released his first solo album entitled Private Paradise in 2007?","Jacques Villeneuve,#Michael Schumacher,*Damon Hill","According to a report released in the New Economics Foundation on 2009 which country came top of the Happy Planet Index which is a list that ranks nations according to citizen's wellbeing?","#Canada,Costa Rica,#Croatia","What was the first name of Andropov the Soviet General Secretary of the Communist Party who led his country from November 1982 until his death in 1984?","#Dmitri,Yuri,#Anatoly",
"Sudden Death","What is the title of someone who has the letters BT after their name?","Baronet","Which London landmark was relocated to its current site in 1851 when it had to be moved to make room for an extension to Buckingham Palace?","Marble Arch","Which 1980s children's TV program about a school teacher who was a wizard starred Stanley Baxter in the title role?","Mr Mageika","The song Memory from Cats based on a poem by T.S. Eliot was written by Andrew Lloyd Webber and which theatre director?","Trevor Nunn"
];

var qandaq=[
"Who was Manager at Manchester United Football Club from 1945 to 1969?","Saint Valentine's Brook is a fence on which horse racing course?","Britain's Gemma Spofforth achieved fame in which sport in 2009?","Which tennis player won the mixed doubles title at Wimbledon in 1980 with her brother John?","The French-Canadian Alain Robidoux made his name as a competitor in which sport?","In which sport was the Kongsberger Technique used for many years in the first half of the twentieth century?",
"In an April Fool's Day broadcast in 1957 BBC Television viewers were fooled into believing that which food was grown on trees when the story featured in a Panorama special?","Kurt Benson and Natasha Anderson and Jambo Bolton were original characters in which TV series that first aired in 1995?","Who played the role of Flash Harry in 2007 film St Trinian's?","Which French actress starred as the fashion designer Coco Chanel in the 2009 film Coco Before Chanel?","Who directed the film This is Spinal Tap and The Princess Bride and When Harry Met Sally in the 1980s?","Which Japanese actor born in 1920 was closely associated with the director Akira Kurosawa appearing in his films Rashamon and The Seven Samurai and Yojimbo?",
"In astronomy the term terrestrial is used to refer to Mars and Earth and Mercury and which other planet?","Otology is the medical science that deals with the diseases of which part of the human body?","George Bool who lived and died in the 19th century is particularly associated with which subject?","In aviation what joins thrust and drag and lift to make up the so-called four forces of flight?","Sodoku is a disease usually transmitted to humans from which animal?","The Jomony End Quench Test measures certain characteristics of which substance?",
"The Twisted Wheel Club in Manchester and The King Mojo Club in Sheffield and The Wigan Casino were all particularly associated with which musical scene of the 60s and 70s?","At the Last Night of the Proms a laurel wreath is traditionally placed on the bust of which figure?","Which member of the Rolling Stones has sole UK top 40 hits with the songs Let's Work and Just Another Night and Sweet Thing?","Who wrote and had a UK top 20 hit with the song It Must Be Love on 1971 ten years before Madness reached the top 5 with a cover version?","Which singer songwriter's debut opera entitled Prima Donna was first performed at the Manchester National Festival in 2009?","The American musician Ry Cooder is best known for playing which instrument?",
"What nickname was often given to British subjects who migrated to Australia after the Second World War under an assisted passage scheme?","Which computer character was developed by the gaming company Saga in the early 1990s in an attempt to create a rival for the successful Nintendo character name Mario?","Which fashion and pop culture magazine often seen as a British style bible was launched by journalist Nick Logan in 1980?","Which Formula One world champion driver released his first solo album entitled Private Paradise in 2007?","According to a report released in the New Economics Foundation on 2009 which country came top of the Happy Planet Index which is a list that ranks nations according to citizen's wellbeing?","What was the first name of Andropov the Soviet General Secretary of the Communist Party who led his country from November 1982 until his death in 1984?",
"What is the title of someone who has the letters BT after their name?","Which London landmark was relocated to its current site in 1851 when it had to be moved to make room for an extension to Buckingham Palace?","Which 1980s children's TV program about a school teacher who was a wizard starred Stanley Baxter in the title role?","The song Memory from Cats based on a poem by T.S. Eliot was written by Andrew Lloyd Webber and which theatre director?"
];

var qandaa=[
"#Jack Charlton,Mat Busby,#Alf Ramsey","newbury,ascot,Aintree","#Tennis,Swimming,#Cycling","Tracy Austin,#Betty Stöve,#Jo Durie","Snooker,#Skiing,#Squash","#Table Tennis,Ski-jumping,#Archery",
"#Rice,Spaghetti,#Pizza","Hollyoaks,#Eldorado,#Byker Grove","#Matthew Horne,Russell Brand,#Rupert Grint","Audrey Tautou,#Ludvine Sagnier,#Emmanuelle Béart",
"#Billy Crystal,#Barry Levinson,Rob Reiner","#Takeshi Kitano,#Ken Watanabe,Toshiro Mifune",
"#Saturn,#Neptune,Venus","#Heart,#Joints,Ear","Mathematics,#Chemistry,#Biology","#Friction,Weight,#Magnetism","#Fox,Rat,#Dog","#Gold,Steel,#Silver",
"#Northern Punk,#Northern Rock,Northern Soul","Henry Wood,#Bryn Terfel,#Edward Elgar","#Keith Richards,Mick Jagger,#Bill Wyman","desmond Dekker,*bobby Womack,Labi Siffre","#Beck,#Elton John,Rufus Wainwright","*piano,trumpet,Guitar",
"#Five-Bob Brits,#Tuppence Tommies,Ten-Pound Poms","#Lara Croft,Sonic the Hedgehog,#Pac-Man","#Melody Maker,#New Musical Express,The Face","Jacques Villeneuve,#Michael Schumacher,*Damon Hill","#Canada,Costa Rica,#Croatia","#Dmitri,Yuri,#Anatoly",
"#Bartok,Baronet,#Bonnet","Marble Arch,#Elgin Marbles,#Whitechapel Gallery","#Blue Peter,#Kylie Mole,Mr Mageika","#Nicholas Hytner,Trevor Nunn,#Rupert Goold"
];

var score=0, xgoes=0;




function checkpos() {
var qrect=document.getElementById('questionis').getBoundingClientRect();
var vsminyis=0, vsmaxyis=0;
var delayis=2000;
var minyis=qrect.y;
var maxyis=minyis;
maxyis+=qrect.height;
var ijk, vsrect=null, answerwas='';
xgoes++
for (ijk=1; ijk<=cursuff; ijk++) {
if (document.getElementById('tdanswerslot' + ijk)) {
if (document.getElementById('tdanswerslot' + ijk).innerHTML != '') {
if (document.getElementById('tdanswerslot' + ijk).innerHTML.trim() == document.getElementById('tdanswerslot' + ijk).innerHTML) {
vsrect=document.getElementById('tdanswerslot' + ijk).getBoundingClientRect();
vsminyis=vsrect.y;
vsmaxyis=vsminyis;
vsmaxyis+=vsrect.height; // 800=1 200=4
if ((vsminyis >= minyis && vsminyis <= maxyis) || (vsmaxyis >= minyis && vsmaxyis <= maxyis)) {
score+=eval(800 / Math.abs(movedelay)); //score++;
} else if ((minyis >= vsminyis && minyis <= vsmaxyis) || (maxyis >= vsminyis && maxyis <= vsmaxyis)) {
score+=eval(800 / Math.abs(movedelay)); //score++;
} else {
answerwas=' ... correct answer is ' + document.getElementById('tdanswerslot' + ijk).innerHTML.trim();
delayis=7000;
//alert('' + qrect.y);
//document.getElementById('divscore').innerHTML='<div class=sticky style="z-index:456;top:' + eval(0 * eval('' + qrect.y)) + 'px;">' + 'Bad luck' + answerwas;
//document.body.innerHTML+='<div id=d' + kcnt + ' class=sticky style="z-index:456;top:' + eval(0 * eval('' + qrect.y)) + 'px;">' + 'Bad luck' + answerwas;
document.getElementById('divscore').innerHTML=('Bad luck' + answerwas).replace(' answer', ' ' + document.getElementById('smode').outerHTML.replace(' id=', ' data-id=').replace(' value="' + movedelay + '"', ' value="' + movedelay + '" selected') + ' Answer');
kcnt++;
}
//console.log(vsrect);
//console.log(qrect);
}
}
}
}
document.getElementById('xgoes').innerHTML='Score: ' + score + '/' + xgoes + answerwas;
document.getElementById('zscore').innerHTML='Score: ' + score + '/' + xgoes + answerwas;
//document.getElementById('tableanswer').scrollTop = 0;
//document.getElementById('divanswer').scrollBy(0,60);
//document.getElementById('divanswer').innerHTML=diva;

setTimeout(pickquestion, delayis);
}


function pickquestion() {
var thisqis=-1, alistis=[], sfis=',-1,', isfis=0, jsfis=0;
var thethree=[-1,-1,-1];
var suggest=-1;
var kjh=0, jkh=0, ijh=0;
totqs=eval('' + qandaq.length);
//alert(totqs + ' ' + askedq);
document.getElementById('divscore').innerHTML='';
window.scrollTo(0,0);
cursy=0;
neg=1;
if (eval('' + askedq) < eval('' + totqs)) {
//alert('Sofarqs=' + sofarqs + ' vs ' + ',' + thisqis + ',');
while (sofarqs.indexOf(',' + thisqis + ',') != -1) {
//alert('ThisQis=' +thisqis);
thisqis=Math.floor(Math.random() * totqs);
//alert('Thisqis=' +thisqis);
}
sofarqs+=thisqis + ',';
//alert('sofarqs=' + sofarqs);
askedq++;
//alert('thisqis=' +thisqis);
//alert('askedq=' + askedq);
//alert(qandaq[askedq]);
document.getElementById('questionis').innerHTML=qandaq[thisqis];
for (jsfis=1; jsfis<=cursuff; jsfis++) {
if (document.getElementById('tdanswerslot' + jsfis)) {
document.getElementById('tdanswerslot' + jsfis).innerHTML='';
document.getElementById('tdanswerslot' + jsfis).style.background='linear-gradient(to right, pink, 100%, yellow)';
}
}
//alert(qandaq[thisqis] + ' vs ' + qandaa[thisqis]);
alistis=qandaa[thisqis].split(',');
for (isfis=0; isfis<alistis.length; isfis++) {
if (qandaa[thisqis].indexOf('*') != -1) {
if (alistis[isfis].indexOf('*') != -1) {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(1);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML=' ' + alistis[isfis].replace('*','').substring(0,1).toUpperCase() + alistis[isfis].replace('*','').substring(1);
} else if (alistis[isfis].substring(0,1) == alistis[isfis].substring(0,1).toUpperCase()) {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(11);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML='' + alistis[isfis].replace('*','').replace('#','');
} else {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(111);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML=' ' + alistis[isfis].replace('*','').substring(0,1).toUpperCase() + alistis[isfis].replace('*','').substring(1);
}
} else if (qandaa[thisqis].indexOf('#') != -1) {
if (alistis[isfis].indexOf('#') != -1) {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(21);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML=' ' + alistis[isfis].replace('#','').replace('#','');
} else {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(22);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML='' + alistis[isfis].replace('#','').replace('#','');
}
} else {
console.log(qandaa[thisqis] + ' isfis=' + isfis);
console.log(qandaa[thisqis] + ' alistis.length=' + alistis.length);
if (alistis[isfis].substring(0,1) == alistis[isfis].substring(0,1).toUpperCase()) {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(31);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML='' + alistis[isfis].replace('#','');
} else {
while (sfis.indexOf(',' + suggest + ',') != -1) {
suggest=Math.floor(Math.random() * eval(-7 + cursuff)) + 1;
}
sfis+=suggest + ',' + eval(-1 + suggest) + ',' + eval(1 + suggest) + ',' + eval(-2 + suggest) + ',' + eval(2 + suggest) + ',';
console.log(41);
thethree[isfis]=eval(suggest);
document.getElementById('tdanswerslot' + suggest).innerHTML=' ' + alistis[isfis].replace('#','').substring(0,1).toUpperCase() + alistis[isfis].replace('#','').substring(1).toLowerCase();
}
}
}
thethree.sort(function(a, b){return a-b});
kjh=42;
for (jkh=eval(-1 + thethree[0]); jkh>=1; jkh--) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('fRom ' + eval(-1 + thethree[0]) + ' to 1');
document.getElementById('tdanswerslot' + thethree[0]).style.background='linear-gradient(to right, pink, 40%, yellow)';

kjh=42;
//alert(Math.floor(eval(thethree[0] + thethree[1]) / 2) + ' should be bigger than ' + eval(1 + thethree[0]));
for (jkh=eval(1 + thethree[0]); jkh<=Math.floor(eval(thethree[0] + thethree[1]) / 2); jkh++) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('FRom ' + eval(1 + thethree[0]) + ' to ' + Math.floor(eval(thethree[0] + thethree[1]) / 2));

kjh=42;
for (jkh=eval(-1 + thethree[1]); jkh>=Math.floor(eval(thethree[0] + thethree[1]) / 2); jkh--) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('frOm ' + eval(-1 + thethree[1]) + ' to ' + Math.floor(eval(thethree[0] + thethree[1]) / 2));

document.getElementById('tdanswerslot' + thethree[1]).style.background='linear-gradient(to right, pink, 40%, yellow)';


kjh=42;
//alert(Math.floor(eval(thethree[1] + thethree[2]) / 2) + ' should be bigger than ' + eval(1 + thethree[1]));
for (jkh=eval(1 + thethree[1]); jkh<=Math.floor(eval(thethree[1] + thethree[2]) / 2); jkh++) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('FrOm ' + eval(1 + thethree[1]) + ' to ' + Math.floor(eval(thethree[1] + thethree[2]) / 2));


kjh=42;
for (jkh=eval(-1 + thethree[2]); jkh>=Math.floor(eval(thethree[1] + thethree[2]) / 2); jkh--) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('froM ' + eval(-1 + thethree[2]) + ' to ' + Math.floor(eval(thethree[1] + thethree[2]) / 2));



//document.getElementById('tdanswerslot' + eval(-2 + thethree[2])).style.background='linear-gradient(to right, pink, 74%, yellow)';
//document.getElementById('tdanswerslot' + eval(-1 + thethree[2])).style.background='linear-gradient(to right, pink, 72%, yellow)';
document.getElementById('tdanswerslot' + thethree[2]).style.background='linear-gradient(to right, pink, 40%, yellow)';
kjh=42;
for (jkh=eval(1 + thethree[2]); jkh<cursuff; jkh++) {
if (kjh < 100) {
document.getElementById('tdanswerslot' + jkh).style.background='linear-gradient(to right, pink, ' + kjh + '%, yellow)';
}
kjh+=2;
}
console.log('FroM ' + eval(1 + thethree[2]) + ' to ' + cursuff);
} else {
if (confirm('Another go?')) {
location.href=document.URL.split('#')[0].split('?')[0] + '?rnd=' + Math.floor(Math.random() * 19876543);
}
}
}

function dogbcralot() {
cursuff=1;
var tablerect=document.getElementById('tableanswer').getBoundingClientRect();
var trtemplate=document.getElementById('trslot1').outerHTML;
trslots.push(document.getElementById('trslot1').getBoundingClientRect());
while (trslots[eval(-1 + cursuff)].bottom + trslots[eval(-1 + cursuff)].height < tablerect.height) {
//alert('here');
document.getElementById('divanswer').innerHTML=document.getElementById('divanswer').innerHTML.replace('<tr><td', trtemplate.replace(/slot1/g, 'slot' + eval(1 + cursuff)) + '<tr><td');
cursuff++;
trslots.push(document.getElementById('trslot' + cursuff).getBoundingClientRect());
tablerect=document.getElementById('tableanswer').getBoundingClientRect();
maxsy=document.getElementById('trslot' + cursuff).getBoundingClientRect().bottom;
}
diva=document.getElementById('divanswer').innerHTML;
pickquestion();
}

function getScrollTop() { // thanks to https://stackoverflow.com/questions/871399/cross-browser-method-for-detecting-the-scrolltop-of-the-browser-window
if(typeof pageYOffset!= 'undefined'){
//most browsers except IE before #9
return pageYOffset;
}
else{
var B= document.body; //IE 'quirks'
var D= document.documentElement; //IE with doctype
D= (D.clientHeight)? D: B;
return D.scrollTop;
}
}


function ongoingmove() {
//alert(('' + window.scrollTop));
cursy=getScrollTop(); //eval(('' + window.scrollTop).replace('px',''));
cursy+=eval(neg * eval('' + 30));
if (cursy > maxsy) {
cursy-=60;
neg=-1;
}
if (document.getElementById('smode').value.replace('-800','').trim() != '') {
if (neg != 0) { window.scrollTo(0, cursy); }
setTimeout(ongoingmove, Math.abs(movedelay));
}
}


function moving(tv) {
if (document.getElementById('smode').value != tv) {
document.getElementById('smode').value=tv;
}
if (tv.replace('-800','').trim() != '') {
movedelay=eval('' + tv.replace('-',''));
ongoingmove();
}
}

</script>
</head>
<body style="width:100%;height:100%;" onload="dogbcralot();">
<div id=fixedbuilding style="background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)),URL('photos_2015_09_18_fst_760stb7jnsr.jpg');background-size:cover;vertical-align:top;border:20px inset red;position:fixed;top:230px;left:calc(100% - 470px);width:430px;height:calc(100vh - 270px);background-color:yellow;z-index:234;text-align:left;font-size:24px;"><span style='margin-top:30px;background-color:lightblue;'>  Questions      <button onclick="neg=0; checkpos();" style="background-color:lightgreen;border:2px solid blue;">Lock in My Answer Scrolling</button><br><font size=1>  Scroll correct answer (1 of 3)  <br>  next to question  <br>  to score    <span id=zscore></score></font>  </font></span><span id=spadding></span><p id=questionis style='background-color:orange;text-align:left;border:1px solid blue;'>  Why is a duck?</p></div>
<div id=divanswer style="overflow:scroll;position:absolute;top:230px;left:0px;width:100%;height:700vh;">
<table id=tableanswer style="font-size:24px;vertical-align:top;text-align:right;border:20px inset magenta;position:absolute;top:0px;left:0px;width:calc(100% - 470px);height:700vh;background-color:lightgreen;z-index:234;"><tr id=transwer style="height:80px;max-height:80px;border:2px solid blue;"><th colspan=9 style="height:80px;max-height:80px;"></th><th id=thanswer style="width:30%;height:80px;max-height:80px;border:2px solid blue;background-color:pink;"><select style='background-color:pink;' id=smode onchange=moving(this.value);><option value="-800"></option><option value="100">Really Fast Moving</option><option value="200">Fast Moving</option><option value="400">Moving</option><option value="800">Slow Moving</option></select> Answer  <br><font size=1>Scroll correct answer (1 of 3)  <br>next to question  <br>to score  </th></tr>
<tr style="height:10px;max-height:10px;"><td colspan=10 style="height:10px;max-height:10px;"></td></tr>
<tr id=trslot1 style="border:2px solid blue;height:30px;max-height:30px;"><td colspan=9 style="height:30px;max-height:30px;"></td><td id=tdanswerslot1 style="width:30%;height:20px;max-height:20px;border:2px solid blue;background-color:pink;"></td></tr>
<tr><td colspan=10></td></tr>
</table>
</div>
<h1 id='myh1' title='Backgound image courtesy of Clipart Panda at http://www.clipartpanda.com/clipart_images/downloads-15907232' align='center'>Fixed Building Quiz (Modelled on questions of <a target=_blank title='Eggheads BBC2 quiz landing page ... thanks for ideas' style='text-decoration:none;' href='http://www.bbc.co.uk/programmes/b006z736'>Eggheads</a> <font id='small' size=1>Sydney ABC <a id='asmall' href='#' style='text-decoration:none;' onclick="ask('eggheads_simulator_2015-10-15.html');">15/10/2015</a> episode</font>)</h1>
<h2 align='center'>RJM Programming - April, 2020 ... thanks to <a target=_blank title='Freestock Textures' href='//freestocktextures.com/texture/brick-wall-renovated,760.html'>Freestock Textures</a> regarding background image</h2>
<h3 align='center' id=xgoes>Score: 0/0</h3>
<div id=divscore style='z-index:467;position:fixed;left:30px;top:200px;background-color:yellow;'></div>
</body>
</html>