Here are your results:<\/H2>")
if (write1 != "E"){
newWindow.document.write("Q1 was wrong correct answer is:"+write1+" ")
}
if (write2 != "E"){
newWindow.document.write("Q2 was wrong correct answer is:"+write2+" ")
}
if (write3 != "E"){
newWindow.document.writeln("Q3 was wrong correct answer is:"+write3+" ")
}
if (write4 != "E"){
newWindow.document.write("Q4 was wrong correct answer is:"+write4+" ")
}
if (write5 != "E"){
newWindow.document.write("Q5 was wrong correct answer is:"+write5+" ")
}
if (write6 != "E"){
newWindow.document.write("Q6 was wrong correct answer is:"+write6+" ")
}
if (write7 != "E"){
newWindow.document.write("Q7 was wrong correct answer is:"+write7+" ")
}
if (write8 != "E"){
newWindow.document.write("Q8 was wrong correct answer is:"+write8+" ")
}
if (write9 != "E"){
newWindow.document.write("Q9 was wrong correct answer is:"+write9+" ")
}
if (write10 != "E"){
newWindow.document.write("Q10 was wrong correct answer is:"+write10+" ")
}
newWindow.document.write(" Your score was "+mark+" marks out of a possible of 10 marks therefore your percent was "+per+".")
if (per <=50){
newWindow.document.write("
Your score was below 50%, so we suggest you go back and read the information again.")
}
if (per >=50 && per <=90){
newWindow.document.write("
Well done you scored well.")
}
if (per == 100){
newWindow.document.write("
Well done you have everything right.")
}
newWindow.document.write("<\/body><\/html>")
}