<!-- Begin
var ans = new Array;
var done = new Array;
var yourAns = new Array;
var explainAnswer = new Array;

var score = 0;
ans[1] = "b";
ans[2] = "a";
ans[3] = "d";
ans[4] = "b";
ans[5] = "c";
ans[6] = "d";
ans[7] = "c";
ans[8] = "a";

explainAnswer[1]="Sequencing took 13 years. It was expected to take 15 years, but advances in sequencing technology speeded the process up considerably.";
explainAnswer[2]="There are 30,000 genes in the human genome – perhaps fewer than you might imagine!";
explainAnswer[3]="18 countries have been involved in the human genome project, including the US, the UK, France and Australia.";
explainAnswer[4]="DNA polymerase is used in sequencing. DNA ligase joins the sticky ends in genetic engineering, restriction endonucleases cut segments out of the genome in genetic engineering, and salivary amylase is a digestive enzyme produced in the mouth.";
explainAnswer[5]="The terminating bases which halt the DNA synthesis are known as dideoxynucleotide bases. Nucleotide bases are normal nitrogenous bases which go to make up the DNA strand, adenine is an example of a nucleotide and uracil is a base found only in RNA.";
explainAnswer[6]="The DNA fragments are separated using gel electrophoresis – the DNA fragments are placed on a gel and move in an electric field. The shortest fragments move furthest. Chromatography is a simpler separation of substances using a solid phase and a solvent travelling over it. Spectrophotometry is the analysis of substances using light. Centrifugation involves the separation of different fractions as a result of spinning a mixture at high speed.";
explainAnswer[7]="The human genome project is not expected to lead to the development of new synthetic materials for use in artificial joints. All of the other developments <strong>are</strong> closely linked to the unravelling of the human genome.";
explainAnswer[8]="3 million base pairs make up the human genome – arranged as 30,000 genes and a lot of ‘junk’ DNA (which is increasingly being found not to be ‘junk’ after all).";

function Engine(question, answer) {
yourAns[question]=answer;
}

function Score(){
var answerText = "<p class=pagehddo>How did you do?</p>";
score = 0;
for(i=1;i<=8;i++){
   answerText=answerText+"Question "+i+"<br/>";
  if(ans[i]!=yourAns[i]){
    answerText=answerText+"The correct answer is <font color=#FF0000>"+ans[i]+"</font><br/>"+explainAnswer[i]+"<p>";
  }
  else{
    answerText=answerText+"Correct! <p>";
    score++;
  }
}


answerText=answerText+"Your total score is : "+score+"";


var resWindow = window.open('','pcr_result','width=400,height=400,scrollbars=yes,resizable=yes');


resWindow.document.open("text/html", "replace");
resWindow.document.write("<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN>");
resWindow.document.write("<html><head><title>human genome | quiz results</title><meta http-equiv=Content-Type content=text/html; charset=iso-8859-1><link href=../styles/styles.css rel=stylesheet type=text/css></head><body onLoad=window.focus()>");
resWindow.document.write("<table width=100% border=0 cellspacing=0 cellpadding=3><tr><td>");
resWindow.document.write(answerText);
resWindow.document.write("<p align=<left><a href=# onClick=javascript:window.print()>Print the contents of this window</a>");
resWindow.document.write("<p align=<left><a href=# onClick=self.close()>Close this window</a></p>");
resWindow.document.write("</td></tr></table></body></html>");
resWindow.document.close();

}
//  End -->
