<!doctype html>
<html>
<head>
<title>Muscle Groups Quiz - RJM Programming - January, 2019 ... Thanks to to HLTAAP001 Recognise healthy body systems TAFE NSW</title>
<link href='//www.rjmprogramming.com.au/PHP/emboss_h1.css' rel='stylesheet' type='text/css'>
<script type='text/javascript'>

var x=0, y=0, lastx=0, lasty=0;
var score=0, goes=0;
var answers=["RmFjaWFsIG11c2NsZXM=", "RGVsdG9pZA==", "QmljZXBzIGJyYWNoaWk=",
"QnJhY2hpYWxpcw==", "SWxsb3Bzb2Fz", "U2FydG9yaXVz", "R2FzdHJvY25lbWl1cw==", "U3RlbW9jbGVpZG9tYXN0b2lk",
"VHJhcGV6aXVz", "UmVjdHVzIGFiZG9taW51cw==", "RXh0ZXJuYWwgYWJkb21pbmFsIG9ibGlxdWU=",
"QWRkdWN0b3IgZ3JvdXA=", "UXVhZHJpY2VwcyBncm91cA==", "VGliaWFsaXMgYW50ZXJpb3I=",
"UGVyb25ldXMgYnJldmlz", "UGVyb25ldXMgbG9uZ3Vz", "UGVjdG9yYWxpcyBtYWpvcg=="];


function checkanswers() {
var j=0;
for (var i=1; i<=answers.length; i++) {
document.getElementById('fld' + i).placeholder=location.search.split('fld' + i + '=')[1] ? decodeURIComponent(location.search.split('fld' + i + '=')[1].split('&')[0]).replace(/\+/g,' ') : 'What is this?';
if (document.getElementById('fld' + i).placeholder != 'What is this?') { goes++; }
if (document.getElementById('fld' + i).placeholder.toLowerCase() == atob(answers[j])) {
score++;
document.getElementById('fld' + i).style.backgroundColor='transparent';
} else if (document.getElementById('fld' + i).placeholder != 'What is this?') {
document.getElementById('fld' + i).style.color='red';
document.getElementById('fld' + i).value=atob(answers[j]);
}
j++;
}
document.getElementById('score').innerHTML=' Score: ' + score + '/' + goes;
}

</script>
</head>
<body onload='checkanswers();' style='background-color:yellow;'>
<div>
<div><div style='vertical-align:top;position:absolute;top:0px;left:0px;transform:scale(0.5);'><form style='position:absolute;top:0px;left:0px;width:1632px;height:1224px;background: URL(muscle_groups.jpg) no-repeat;' action='muscle_groups.html' method='GET'>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 286px;top: 120px;' name=fld1 id=fld1 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 434px;top: 198px;' name=fld2 id=fld2 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 218px;top: 258px;' name=fld3 id=fld3 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 148px;top: 470px;' name=fld4 id=fld4 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 396px;top: 580px;' name=fld5 id=fld5 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 382px;top: 692px;' name=fld6 id=fld6 value=''></input>


<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 276px;top: 984px;' name=fld7 id=fld7 value=''></input>
<input placeholder='What is this?' type=text style='width:370px;height:45px;position:absolute;left: 964px;top: 100px;' name=fld8 id=fld8 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 944px;top: 212px;' name=fld9 id=fld9 value=''></input>
<input placeholder='What is this?' type=text style='width:340px;height:45px;position:absolute;left: 1066px;top: 486px;' name=fld10 id=fld10 value=''></input>
<input placeholder='What is this?' type=text style='width:510px;height:45px;position:absolute;left: 1076px;top: 562px;' name=fld11 id=fld11 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 1090px;top: 674px;' name=fld12 id=fld12 value=''></input>
<input placeholder='What is this?' type=text style='width:340px;height:45px;position:absolute;left: 972px;top: 796px;' name=fld13 id=fld13 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 988px;top: 882px;' name=fld14 id=fld14 value=''></input>
<input placeholder='What is this?' type=text style='width:320px;height:45px;position:absolute;left: 966px;top: 972px;' name=fld15 id=fld15 value=''></input>
<input placeholder='What is this?' type=text style='width:320px;height:45px;position:absolute;left: 968px;top: 1054px;' name=fld16 id=fld16 value=''></input>
<input placeholder='What is this?' type=text style='width:300px;height:45px;position:absolute;left: 1034px;top: 324px;' name=fld17 id=fld17 value=''></input>



<input id='sb' type=submit style='background-color:yellow;position:absolute;left: 1014px;top: 1144px;' value='Check Answers'></input>
</form></div><div style='vertical-align:top;position:absolute;top:0px;left:820px;'><h1> Muscle Groups Quiz</h1>
<blockquote id=blurb style="display:none;">
Major Muscle Groups are Quadriceps, Hamstrings, Calves, Chest, Back, Shoulders, Triceps, Biceps, Forearms, Trapezius, Abs.
</blockquote>
<h3> RJM Programming - January, 2019 ... <br><a onclick="document.getElementById('blurb').style.display='block';" title="Show some in formation that we give thanks for." style="cursor:pointer;text-decoration:underline;">Thanks</a> to HLTAAP001 Recognise healthy body systems TAFE NSW</h3>
<h4 id=score> Score: 0/0</h4>
</div></div>
</div>
</body>
</html>