// ******************************************************
// Hitchcock JavaScript Document zjsquiz	
// ******************************************************
	

function answer(question)  {

	 var title; 									//picture title
		 
	 switch ( question ) {
	  	case 1:  									// pop-up a small window for the correct answer to question 1
	    	title='"The Lodger"';
     	break;
		
		case 2:  									// pop-up a small window for the correct answer to question 2
		 	title='"Dial M for Murder"';
		break;
		
		case 3:  									// pop-up a small window for the correct answer to questions 3 & 7
		case 7:
		   
			 title='"Suspicion"';
		break;
		
		case 4:  									// pop-up a small window for the correct answer to question 4
		   	 title='"Sabotage"';
		break;
		
		case 5:  									// pop-up a small window for the correct answer to question 5
		  	 title='"Blackmail"';
		break;
		
				
		case 6:  									// pop-up a small window for the correct answer to question 6
		   	 title='"Rear Window"';
		break;
		
		case 8:  									// pop-up a small window for the correct answer to question 8
		  	 title='"Rope"';
	  break;
	 }
	 
	alert(title + " is the CORRECT Answer!");
} // end function

	
	
  // Wrong Answer	
function Wrong()  {
   alert("Sorry,  Wrong Answer.");
} // end function



	