var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "<b>1) In the market, the price for luxury goods like plasma TV sets is higher than the price for general merchandise like cathode-ray tube televisions. That is because:</b>";
choices[0] = new Array();
choices[0][0] = "A. Luxury goods require more specialized labor than general merchandise.";
choices[0][1] = "B. Luxury goods require more individual working hours than general merchandise.";
choices[0][2] = "C. Luxury goods have higher value than general merchandise.";
choices[0][3] = "D. Luxury goods are more perfect in quality than general merchandise.";
answers[0] = choices[0][0];

questions[2] = "<b>3) In 2006, China canceled the agriculture tax. The cancellation of agriculture tax will promote the development of the rural economy. This means:</b>";
choices[2] = new Array();
choices[2][0] = "A. The government no longer taxes farmers.";
choices[2][1] = "B. The government uses tax to adjust the economy.";
choices[2][2] = "C. The government uses tax to organize financial income.";
choices[2][3] = "D. The government uses tax to supervise the economy.";
answers[2] = choices[2][2];

questions[1] = "<b>2) During the 2004 American election, some Western critics pointed out that the competition between John Kerry and George W. Bush was more about who had more money rather than who had the best policy agenda. He who collects more campaign funds has the better chance of winning. According to this, we came to the conclusion that:</b>";
choices[1] = new Array();
choices[1][0] = "A. In the United States, democracy has a hierarchy.";
choices[1][1] = "B. In the United States, political parties don't mean much to politics.";
choices[1][2] = "C. In the United States, money is essential to politics.";
choices[1][3] = "D. In the United States, anyone can be President if he/she owns enough money.";
answers[1] = choices[1][2];

questions[3] = "<br><b>The following question refers to this diagram.<br><img src=squareofdeath.gif><br><br>4) In a square with four sides A, B, C and D, the intersection of lines AC and BD is O, and E is the midpoint of section OD.  AE is the extended line which intersects with CD at F.<br>If the length of line AC = a, and the length of line BD = b, then the length of line AF is =</b>";
choices[3] = new Array();
choices[3][0] = "A. <sup>1</sup>&frasl;<sub>4</sub>a + <sup>1</sup>&frasl;<sub>2</sub>b";
choices[3][1] = "B. <sup>2</sup>&frasl;<sub>3</sub>a + <sup>1</sup>&frasl;<sub>3</sub>b";
choices[3][2] = "C. <sup>1</sup>&frasl;<sub>2</sub>a + <sup>1</sup>&frasl;<sub>4</sub>b";
choices[3][3] = "D. <sup>1</sup>&frasl;<sub>3</sub>a + <sup>2</sup>&frasl;<sub>3</sub>b";
choices[3][4] = "E. Both A and C are correct";
choices[3][5] = "F. Both B and D are correct";
choices[3][6] = "G. None of the above";
answers[3] = choices[3][4];


// response for getting 100%
response[0] = "Excellent, top marks!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Oh dear, I think you need to go back to school (or try again)!";