/* quiz13.js
    Requires JavaScript1.1 or later
    (c) 1999 by L.W. Haynes, all rights reserved.
    Permission is granted to reuse, redistribute and modify so long as this copyright notice is retained.
    If you redistribute this code, please comment your additions.
    http://members.home.net/lwhaynes
    One copy of this file, modified, is needed for each quiz
*/
/**********************************************************************************************************************/
// MAKE MODIFICATIONS HERE
var quiz = new Quiz(
    'Quiz-Old',                                                    // quiz name
    'cuir07.gif',                                                   // background image
    '',                                                             // image path for quiz_correct.gif, quiz_incorrect.gif, quiz_blank.gif
    'white',                                                        // background color
    'black',                                                        // text color

//IGOR
    false,                                                           // do you want to shuffle the questions
    10,                                                             // number of questions to display, less than or equal to the number of questions below
    'quiz',                                                         // the name of the variable the quiz is stored in, change if more than one quiz per page
    'theQuiz');                                                     // the name of the form, change if more than one quiz per page

quiz.questions = new Array();                                       // create array of questions
// for multiple choice questions:
//  'qtext' is the question.  It may contain block element (e.g., <OL>, <UL>) and inline element (e.g., <A>, <SUP>) HTML tags
//  'a' is the correct answer, 
//  'comment' is text printed if the answer is incorrect.  It may contain block elements and inline elements
//  5 is the number of answers to shuffle (starting with the first, use 0 for no shuffling),
//  'atext' etc. is the text of each answer.  It may contain block elements and inline elements
// all of the above should be replaced with appropriate text
// note that any quotes in the text must be replaced with &quot; or escaped as \" or \'
// For short answer questions, the question, answer and comment text may only contain inline elements (e.g., <SUP>)
// since regular expression matching cannot be used, answers must be _exactly_ correct

quiz.questions[0] = new mcQuestion('<img src="../../test/diagramms/0-10001.jpg" border=2 align = left width=290 height=335> <font size="5"><u> Evaluate Position: </u></font>', 'd', '<font color="#FF0000"><font size="5"><b>Strategy </b></font></font> - No one has any significant Advantages. After Queens are gone position is equal! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">White is Better! </font><br>', '<font size="4">Black is Better! </font><br>', '<font size="4">Black is Winning!</font><br>', '<font size="4">Equal! <br><br><br><br><br><br><br><br><br><br><br><br></font>');


quiz.questions[1] = new mcQuestion('<img src="../../test/diagramms/0-10001.jpg" border=2 align = left width=290 height=335> <font size="5"><u> How Black should Play? </u></font>', 'c', '<font color="#FF0000"><font size="5"><b>Strategy </b></font></font> - Forcing White to loose castle after 1...Qa5+ 2.Kf1 is not great since White King is a lot safer than Black King for example - 2...0-0 3.h4!. Also, 1...Qg6 is too slow as after 2.0-0  Black cannot play 2...Rc2 due to 3.Qc6! Thus Black should accept equal game after 1...Qxe2 2.Ke2 Rc2+ 3.Ke3 0-0 4.Rd1=. Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">1.Qa5+ </font><br>', '<font size="4">1.Qg6 </font><br>', '<font size="4">1.Qxe2+ </font><br>', '<font size="4">No idea!</font><br><br><br><br><br><br><br><br><br><br><br><br>');

quiz.questions[2] = new mcQuestion('<img src="../../test/diagramms/10002.jpg" border=2 align = left width=290 height=335> <font size="5"><u> Evaluate Position: </u></font>', 'a', '<font color="#FF0000"><font size="5"><b>Strategy </b></font></font> - White has great advantage on Q-side, but he needs to neutralize Black activity on King-side. Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">White is Better! </font><br>', '<font size="4">White is Winning! </font><br>', '<font size="4">Black is better!</font><br>', '<font size="4">Equal! <br><br><br><br><br><br><br><br><br><br><br><br></font>');


quiz.questions[3] = new mcQuestion('<img src="../../test/diagramms/10002.jpg" border=2 align = left width=290 height=335> <font size="5"><u> How White should Play? </u></font>', 'b', '<font color="#FF0000"><font size="5"><b>Calculations </b></font></font> - White is dominating Q-side, but must not underestimate Black threats on the King-side. After 1.g3xf4? White ruins his King cover and gives more play to Black Bishop and Knight. 1.Bd2?! is too slow and Black can start wild attack after 1...e4. Finally, 1.Rd6! sacrifices piece for 2 pawns, but completely eliminates the pressure on White King. After 1...f4xe3 2.Nxe3 Bf8? *2...Nf6 3.Rc6 with 3 pawns and dominating position!* 3.Rxg6! hxg6 4.Qg6 Ng7 5.Ng4 and White won! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">1. Bd2 </font><br>', '<font size="4">1. Rxd6 </font><br>', '<font size="4">1. g3xf4 </font><br>', '<font size="4">No idea!<br><br><br><br><br><br><br><br><br><br><br><br></font>');


quiz.questions[4] = new mcQuestion('<img src="../../test/diagramms/10003.jpg" border=2 align = left width=290 height=335> <font size="5"><u>Does Black Have Immediate Threats? </u></font>', 'b', '<font color="#FF0000"><font size="5"><b>Tactics - Ability to Recognize Threat </b></font></font> - 1...g5! wins Bh4.  Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">No. White can go on with his play. </font><br>', '<font size="4">Yes. White must defend.</font><br>', '<font size="4">Yes, but not serious. White can ignore!</font><br>', '<font size="4">No Idea!<br><br><br><br><br><br><br><br><br><br><br><br></font>');

quiz.questions[5] = new mcQuestion('<img src="../../test/diagramms/10003.jpg" border=2 align = left width=290 height=335> <font size="5"><u> How White should Play? </u></font>', 'c', '<font color="#FF0000"><font size="5"><b>Tactics - Ability to Recognize Threat </b></font></font> - 1.Rc1? g5! wins Bh4. 1.f4 Does not stop the idea - 1.f4? g5! 2.fxg Ng6 wins the Bishop! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">1.Rac1 </font><br>', '<font size="4">1.f4 </font><br>', '<font size="4">1.Bxe7 </font><br>', '<font size="4">No idea!</font><br><br><br><br><br><br><br><br><br><br><br><br>');



quiz.questions[6] = new mcQuestion('<img src="../../test/diagramms/10004.jpg" border=2 align = left width=290 height=335> <font size="5"><u>How this game should end? </u></font>', 'b', '<font color="#FF0000"><font size="5"><b>Basic Endgames - Bishops </b></font></font> - When the pawn is on the rook file (a or h) and the Bishop cannot attack the square of promotion (a8) King must reach that square before the pawn and cannot be forced away! Draw! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">White wins</font><br>', '<font size="4">Draw</font><br>', '<font size="4">Unclear</font><br>', '<font size="4">No Idea! <br><br><br><br><br><br><br><br><br><br><br><br></font>');


quiz.questions[7] = new mcQuestion('<img src="../../test/diagramms/10004.jpg" border=2 align = left width=290 height=335> <font size="5"><u> Can White get the Queen? </u></font>', 'b', 'Logical question - Yes, White cannot win because he can not keep the Queen, but, of course, he can get it, even though maybe only for a few seconds! When his pawn is on a7 he waits for Black to play Kb7 and plays a8Q! Tricky Question! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">No </font><br>', '<font size="4">Yes </font><br>', '<font size="4">Unclear</font><br>', '<font size="4">What Queen?</font><br><br><br><br><br><br><br><br><br><br><br><br>');

quiz.questions[8] = new mcQuestion('<img src="../../test/diagramms/10005.jpg" border=2 align = left width=290 height=335> <font size="5"><u>How this game should end? </u></font>', 'c', '<font color="#FF0000"><font size="5"><b>Basic Endgames - Pawns </b></font></font> - Black has better King and he certainly can win pawn a2. However, White has a defensive idea - after Kxa2 to play Kc2 and box the Black King, thus getting a draw! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">White wins</font><br>', '<font size="4">Black wins</font><br>', '<font size="4">Draw</font><br>', '<font size="4">No Idea! <br><br><br><br><br><br><br><br><br><br><br><br></font>');


quiz.questions[9] = new mcQuestion('<img src="../../test/diagramms/10005.jpg" border=2 align = left width=290 height=335> <font size="5"><u>How White should Play?</u></font>', 'a', '<font color="#FF0000"><font size="5"><b>Basic Endgames - Pawns </b></font></font> -  After 1.Kf8? Kf6! Black has made a step towards square b2 and White cannot make progress, thus he looses valuable time and will not be able to make to c2 in time! After 1.Kh8! Kf6! 2.Kh7 Black needs 5 moves to win pawn a2 and White needs 5 moves to get to c2! Check <a href="../../e-business/product/chessfiles/product_form_temp.htm" target="_blank"><b><font size="4">Special Training Exercises</b></a></font></font> that may help you improve in this area!<br>', 0, '<font size="4">1.Kh8 </font><br>', '<font size="4">1.Kf8</font><br>', '<font size="4">Either move Draws!</font><br>', '<font size="4">No idea!</font><br><br><br><br><br><br><br><br><br><br><br><br>');

