/***********************************************
* JavaScriptKit.com Multiple Choice Quiz Script (http://www.javascriptkit.com)
* Copyright 2003 JavaScript Kit- http://www.javascriptkit.com
* This notice and footnote must stay intact for use
* Visit JavaScript Kit (http://www.javascriptkit.com/) for full source code
***********************************************/

//Enter total number of questions:
var totalquestions=10

//Enter the solutions corresponding to each question:
var correctchoices=new Array()
correctchoices[1]='False'    //question 1 solution
correctchoices[2]='True'     //question 2 solution, and so on.
correctchoices[3]='True'
correctchoices[4]='True'
correctchoices[5]='False'
correctchoices[6]='True'    
correctchoices[7]='True'   
correctchoices[8]='False'
correctchoices[9]='True'
correctchoices[10]='False'

var questionNum=new Array()
questionNum[1]='Rituximab (Mabthera®) is a novel monoclonal antibody used to treat T-cell lymphomas.' 
questionNum[2]='It is sometimes difficult to distinguish between granulomatous disease and lymphoma on positron emission tomography (PET).' 
questionNum[3]='Size is used as a criterion in computed tomography to determine whether lymph- node enlargement is abnormal.'
questionNum[4]='Genetic abnormalities may be crucial defining features in the pathological diagnosis of lymphoma.'
questionNum[5]='Chromosomal abnormalities such as translocations may be detected by flow cytometry.'
questionNum[6]='Neutropenia is graded 4 if absolute neutrophil count is less than 500 per microlitre.' 
questionNum[7]='Fever of 38°C is not a ‘B’ symptom; fever is considered a ‘B’ symptom only if it is more than 39°C.' 
questionNum[8]='The differential diagnosis of a cervical lymph node excludes sarcoidosis.'
questionNum[9]='Fine-needle aspiration (FNAC) of an enlarged lymph node cannot be used to make a definitive diagnosis of lymphoma.'
questionNum[10]='The sites for a bone-marrow aspiration in an adult include anterior iliac crest, posterior iliac crest, and tibia.'



/////Don't edit beyond here//////////////////////////




function gradeit(){
var incorrect=null
for (q=1;q<=totalquestions;q++){
	var thequestion=eval("document.myquiz.question"+q)
	for (c=0;c<thequestion.length;c++){
		if (thequestion[c].checked==true)
		actualchoices[q]=thequestion[c].value
		}
		
	if (actualchoices[q]!=correctchoices[q]){ //process an incorrect choice
		if (incorrect==null)
		incorrect=q
		else
		incorrect+="/"+q
		}
	}

if (incorrect==null)
incorrect="a/b"
document.cookie='q='+incorrect
if (document.cookie=='')
alert("Your browser does not accept cookies. Please adjust your browser settings.")
else
window.location="results.htm"
}






function showsolution(){
var radioCheck=false;
var win2=window.open("","win2","width=600,height=600, scrollbars")
win2.focus()
win2.document.open()
win2.document.write('<title>Solution</title>')
win2.document.write('<body bgcolor="#FFFFFF">')
win2.document.write('<font face="Arial" >')
win2.document.write('<center><h3>Solution to Quiz</h3></center>')
win2.document.write('<br><br>')
win2.document.write('<center><h4><font color="red">Question that is answered incorrectly is highlighted in RED</font></h4></center>')
win2.document.write('<br><br>')



for (i=1;i<=totalquestions;i++){
for (temp=0;temp<incorrect.length;temp++){
if (i==incorrect[temp])
wrong=1
}

if (wrong==1){
win2.document.write('<b>'+i+'</b>'+") ".bold()+questionNum[i].bold()+"<br><br>"+correctchoices[i].fontcolor("red")+"<br><br>")
wrong=0
}
else

win2.document.write('<b>'+i+'</b>'+") ".bold()+questionNum[i].bold()+"<br><br>"+correctchoices[i]+"<br><br>")
}

win2.document.close()
}

