// Grammar Monster © | Copyright Registration Number: 226604 | All rights reserved  

inc = 0
gp=0
msg = new Array(50)
ln = 0; var schtuck = ""

msg[0] = "Welcome"
msg[1] = "Using an apostrophe in a plural word"
msg[2] = "Putting an apostrophe in a plural word, the singular form of which ends in a vowel"
msg[3] = "Putting an apostrophe in any word that ends in <b>s</b>"
msg[4] = "When showing possession, using an apostrophe after <b>s</b> when it should be before"
msg[5] = "When showing possession, putting an apostrophe before <b>s</b> when it should be after"
msg[6] = "Putting an apostrophe inside the word when showing possession"
msg[7] = "Putting an apostrophe in <b>ours</b>, <b>yours </b>or <b>theirs</b>"
msg[8] = "Writing <b>your </b>when you mean <b>you're</b>"
msg[9] = "Writing <b>its </b>when you mean <b>it's</b>"
msg[10] = "Writing <b>it's </b>when you mean <b>its</b>"
msg[11] = "Failing to use an apostrophe in a temporal expression"
msg[12] = "Using contractions in official letters"
msg[13] = "Expanding <b>should've </b>to <b>should of</b> and not<b> should have</b>"
msg[14] = "Expanding <b>can't </b>to <b>can not</b> and not <b>cannot</b>"
msg[15] = "Using an apostrophe to show the plural of a normal abbreviation"
msg[16] = "Trying too hard to avoid using an apostrophe in the plural of a letter or number and causing ambiguity"
msg[17] = "Extending a sentence with a colon when a semicolon or dash should be used"
msg[18] = "Adding a hyphen to a colon"
msg[19] = "Being inconsistent in lists introduced by a colon"
msg[20] = "Using a semicolon to introduce the next item or a list."
msg[21] = "Extending a sentence with a semicolon when a colon should be used"
msg[22] = "Failing to use semicolons to separate items in a list in which the list items include commas"
msg[23] = "Spelling semicolon with a hyphen or as two words"
msg[24] = "Leaving a hyphen out of one adjective comprising two (or more) words"
msg[25] = "Joining an adverb and adjective with a hyphen"
msg[26] = "Using hyphens in compound adjectives that have been grouped using title case or italics"
msg[27] = "Linking the noun and the adjective with a hyphen"
msg[28] = "Causing ambiguity by failing to link the adverb <b>best </b> to the adjective it modifies with a hyphen"
msg[29] = "Causing ambiguity by failing to link the adverb <b>well </b> to the adjective it modifies with a hyphen"
msg[30] = "Failing to include the second dash in a parenthesis mid sentence"
msg[31] = "Using <b>alleged </b> or <b>so-called</b> and then using quotation marks too"
msg[32] = "Being inconsistent with the use of double and single quotation marks"
msg[33] = "Using quotation marks for reported speech"
msg[34] = "Placing punctuation inside the quotation when it should be outside"
msg[35] = "Placing punctuation outside the quotation when it should be inside"
msg[36] = "Not putting a full stop once you have expressed a complete idea"
msg[37] = "Using a full stop after an interjection"
msg[38] = "Ending a non-sentence with a full stop"
msg[39] = "Putting a comma at the end of a sentence and then starting another one"
msg[40] = "Failing to include the second comma on a parenthesis"
msg[41] = "Not putting a comma after an adjunct at the start of a sentence"
msg[42] = "Placing a comma before <b>however </b>and then writing a new sentence"
msg[43] = "Placing a comma before a conjunction when there is no need"
msg[44] = "Not placing a comma before a conjunction used to merge two sentences"
msg[45] = "Failing to separate adjectives with commas when three or more are used consecutively"
msg[46] = "Failing to use a comma (or commas) around a name in the vocative case"
msg[47] = "Separating the subject and its verb with an erroneous comma"
msg[48] = "Placing a comma before a transition phrase and starting a new sentence"
msg[49] = "Using an exclamation mark for no good reason"
msg[50] = "Using more than one exclamation mark"


prim = new Array(50)

prim[0] = "Click on the <img border='0' src='../images/buttons.gif' width='49' height='26'> buttons left to proceed forwards or backwards "
// apostrophes
prim[1] = "<font color=red><b>Dog's</b></font> look up to us, and <font color=red><b>cat's</b></font> look down on us. I prefer <font color=red><b>pig's</b></font> - they treat us as <font color=red><b>equal's</b></font>. "
prim[2] = "TV and <font color=red><b>video's</b></font> are chewing gum for the eyes. "
prim[3] = "The king of <font color=red><b>heart's</b></font> is the only king without a moustache. "
prim[4] = "<font color=red><b>Wagners'</b></font> music is better than it sounds. "
prim[5] = "All <font color=red><b>duck's</b></font> quacks do not echo, and no one knows why. "
prim[6] = "<font color=red><b>Dicken's</b></font> quotation: &quot;If there were no bad people, there would be no good lawyers.&quot; "
prim[7] = "There are two sides to every divorce: <font color=red><b>your's</b></font> and the selfish git's. "
prim[8] = "Don't fall before <font color=red><b>your</b></font> pushed. Remember <font color=red><b>your</b></font> unique - just like everyone else. "
prim[9] = "Time may be a great healer, but <font color=red><b>its</b></font> also a lousy beautician. "
prim[10] = "Patience has <font color=red><b>it's</b></font> limits.  Too much patience is cowardice. "
prim[11] = "One <font color=red><b>minutes</b></font> success pays the five <font color=red><b>years</b></font> failure. "
prim[12] = "Dear Sir, unfortunately, this company <font color=red><b>can't</b></font> comply with your instructions. "
prim[13] = "I should <font color=red><b>of</b></font> said: &quot;Smoking is one of the leading causes of statistics.&quot; "
prim[14] = "Money <font color=red><b>can not</b></font> buy friends, but it can get you a better class of enemy. "
prim[15] = "Sasha bought four Westlife <font color=red><b>CD's</b></font> for a pound at the car-boot sale. "
prim[16] = "There are two <font color=red><b><i>a</i>s</b></font> in accommodation and two <font color=red><b><i>i</i>s</b></font> in skiing. "
// colon
prim[17] = "Take my advice<font color=red><b>:</b></font> I don't use it anyway. "

prim[18] = "The human race is faced with a cruel choice<font color=red><b>:-</b></font> work or daytime television. "
prim[19] = "Ultrabright fights against: cavities, gum disease, plaque, <font color=red><b>freshens breath</b></font>. "
// semicolons
prim[20] = "Sign in a pet store<font color=red><b>;</b></font> &quot;Buy one dog - get one flea.&quot; "
prim[21] = "My loathings are simple<font color=red><b>;</b></font> stupidity, oppression, crime, cruelty and soft music. "
prim[22] = "There's spam<font color=red><b>,</b></font> bacon, sausage and spam<font color=red><b>,</b></font> and spam, bacon, sausage and spam. "
prim[23] = "It's amazing how many people misuse <font color=red><b>semi-colons</b></font>. "
// hyphens
prim[24] = "It is a <font color=red><b>fool proof</b></font> design - even for a talented fool. "
prim[25] = "It is a <font color=red><b>wonderfully-painted</b></font> picture in a <font color=red><b>skillfully-carved</b></font> frame. "
prim[26] = " Is it an <font color=red><b><i>a-la-carte</i></b></font> menu? Did you collect the <font color=red><b>River-Dance</b></font> tickets? "
prim[27] = "Timothy &quot;Slasher&quot; McFadden has completed half of his <font color=red><b>30-year-sentence</b></font>. "
prim[28] = "Yvarna is the <font color=red><b>best known</b></font> actress in the play. "
prim[29] = "Perkins went to the market in town and bought a <font color=red><b>well fatted</b></font> calf. "
//dashes
prim[30] = "Learn to listen. I know only one bird - the parrot<font color=red><b>,</b></font> that talks, and it can't fly very high. "
// quotation marks
prim[31] = "More than 50,000 bacteria were found on the <font color=red><b>so-called</b></font> <font color=red><b>&quot;</b></font>clean<font color=red><b>&quot;</b></font> surface. "
prim[32] = "What is the difference between 'fat chance' and <font color=red><b>&quot;</b></font>slim chance<font color=red><b>&quot;</b></font>? "
prim[33] = "People who say that <font color=red><b>&quot;</b></font>they sleep like a baby<font color=red><b>&quot;</b></font> usually don't have one. "
prim[34] = "After God had created man, did he say: &quot;Hang on, I can do better<font color=red><b>?</b></font>&quot; "
prim[35] = "When a man tells you that he got rich through hard work, ask him: &quot;Whose&quot;<font color=red><b>?</b></font> "
//Full stops
prim[36] = "It is not enough to aim<font color=red><b>,  y</b></font>ou must hit. "
prim[37] = "Indeed<font color=red><b>. Under</b></font> every stone lurks a politician. "
prim[38] = "Time is an illusion. <font color=red><b>Lunchtime doubly so.</b></font> "
// commas
prim[39] = "We always hold hands<font color=red><b>, if</b></font> I let go, she shops. "
prim[40] = "We have<font color=red><b>, I fear</b></font> confused power with greatness. "
prim[41] = "<font color=red><b>Next time you wave</b></font> use all your fingers. "
prim[42] = "There is a fine line between genius and insanity<font color=red><b>, however</b></font>, I have erased this line. "
prim[43] = "Shallow men believe in luck. Strong men believe in cause<font color=red><b>, and</b></font> effect. "
prim[44] = "The early bird may get the worm <font color=red><b>but</b></font> the second mouse gets the cheese. "
prim[45] = "I wonder if other dogs think poodles are members of a <font color=red><b>small weird religious</b></font> cult. "
prim[46] = "<font color=red><b>Lord</b></font> what fools these mortals be. "
prim[47] = "<font color=red><b>Ninety percent of the politicians,</b></font> give the other ten percent a bad reputation. "
prim[48] = "If you laugh, the world laughs with you<font color=red><b>, conversely</b></font>, if you snore, you sleep alone. "
// Exclamation
prim[49] = "Please note my article in the newsletter about using the photocopier for personal use<font color=red><b>!</b></font> "
prim[50] = "Never employ handsome servants<font color=red><b>!!!</b></font> "

isprav = new Array(50)

isprav[0] = "Click on the <img border='0' src='../images/buttons.gif' width='49' height='26'> buttons <u>LEFT</u> to proceed forwards or backwards "
// apostrophes
isprav[1] = "<font color=#AAFFAA><b>Dogs</b></font> look up to us, and <font color=#AAFFAA><b>cats</b></font> look down on us. I prefer <font color=#AAFFAA><b>pigs</b></font> - they treat us as <font color=#AAFFAA><b>equals</b></font>. "
isprav[2] = "TV and <font color=#AAFFAA><b>videos</b></font> are chewing gum for the eyes. "
isprav[3] = "The king of <font color=#AAFFAA><b>hearts</b></font> is the only king without a moustache. "
isprav[4] = "<font color=#AAFFAA><b>Wagner's</b></font> music is better than it sounds. "
isprav[5] = "All <font color=#AAFFAA><b>ducks'</b></font> quacks do not echo, and no one knows why. "
isprav[6] = "<font color=#AAFFAA><b>Dickens'</b></font> quotation: &quot;If there were no bad people, there would be no good lawyers.&quot; "
isprav[7] = "There are two sides to every divorce: <font color=#AAFFAA><b>yours</b></font> and the selfish git's. "
isprav[8] = "Don't fall before <font color=#AAFFAA><b>you're</b></font> pushed. Remember <font color=#AAFFAA><b>you're</b></font> unique - just like everyone else. "
isprav[9] = "Time may be a great healer, but <font color=#AAFFAA><b>it's</b></font> also a lousy beautician. "
isprav[10] = "Patience has <font color=#AAFFAA><b>its</b></font> limits.  Too much patience is cowardice. "
isprav[11] = "One <font color=#AAFFAA><b>minute's</b></font> success pays the five <font color=#AAFFAA><b>years'</b></font> failure. "
isprav[12] = "Dear Sir, unfortunately, this company <font color=#AAFFAA><b>cannot</b></font> comply with your instructions. "
isprav[13] = "I should <font color=#AAFFAA><b>have</b></font> said: &quot;Smoking is one of the leading causes of statistics.&quot; "
isprav[14] = "Money <font color=#AAFFAA><b>cannot</b></font> buy friends, but it can get you a better class of enemy. "
isprav[15] = "Sasha bought four Westlife <font color=#AAFFAA><b>CDs</b></font> for a pound at the car-boot sale. "
isprav[16] = "There are two <font color=#AAFFAA><b>a's</b></font> in accommodation and two <font color=#AAFFAA><b>i's</b></font> in skiing. "
// colon
isprav[17] = "Take my advice<font color=#AAFFAA><b>;</b></font> I don't use it anyway. "
isprav[18] = "The human race is faced with a cruel choice<font color=#AAFFAA><b>:</b></font> work or daytime television "
isprav[19] = "Ultrabright fights against: cavities, gum disease, plaque, <font color=#AAFFAA><b>bad breath</b></font>. "
// semicolons
isprav[20] = "Sign in a pet store<font color=#AAFFAA><b>:</b></font> &quot;Buy one dog - get one flea.&quot; "
isprav[21] = "My loathings are simple<font color=#AAFFAA><b>:</b></font> stupidity, oppression, crime, cruelty and soft music. "
isprav[22] = "There's spam<font color=#AAFFAA><b>;</b></font> bacon, sausage and spam<font color=#AAFFAA><b>;</b></font> and spam, bacon, sausage and spam. "
isprav[23] = "It's amazing how many people misuse <font color=#AAFFAA><b>semicolons</b></font>. "
// hyphens
isprav[24] = "It is a <font color=#AAFFAA><b>fool-proof</b></font> design - even for a talented fool. "
isprav[25] = "It is a <font color=#AAFFAA><b>wonderfully painted</b></font> picture in a <font color=#AAFFAA><b>skillfully carved</b></font> frame. "
isprav[26] = " Is it an <font color=#AAFFAA><b><i>a la carte</i></b></font> menu? Did you collect the <font color=#AAFFAA><b>River Dance</b></font> tickets? "
isprav[27] = "Timothy &quot;Slasher&quot; McFadden has completed half of his <font color=#AAFFAA><b>30-year sentence</b></font>. "
isprav[28] = "Yvarna is the <font color=#AAFFAA><b>best-known</b></font> actress in the play. "
isprav[29] = "Perkins went to the market in town and bought a <font color=#AAFFAA><b>well-fatted</b></font> calf. "
//dashes
isprav[30] = "Learn to listen. I know only one bird - the parrot <font color=#AAFFAA><b>-</b></font> that talks, and it can't fly very high. "
// quotation marks
isprav[31] = "More than 50,000 bacteria were found on the <font color=#AAFFAA><b>&quot;</b></font>clean<font color=#AAFFAA><b>&quot;</b></font> surface. "
isprav[32] = "What is the difference between 'fat chance' and <font color=#AAFFAA><b>'</b></font>slim chance<font color=#AAFFAA><b>'</b></font>? "
isprav[33] = "People who say that they sleep like a baby usually don't have one. "
isprav[34] = "After God had created man, did he say: &quot;Hang on, I can do better&quot;<font color=#AAFFAA><b>?</b></font> "
isprav[35] = "When a man tells you that he got rich through hard work, ask him: &quot;Whose<font color=#AAFFAA><b>?</b></font>&quot; "
//Full stops
isprav[36] = "It is not enough to aim<font color=#AAFFAA><b>. Y</b></font>ou must hit. "
isprav[37] = "Indeed<font color=#AAFFAA><b>, under</b></font> every stone lurks a politician "
isprav[38] = "Time is an illusion <font color=#AAFFAA><b> - lunchtime doubly so.</b></font> "
// commas
isprav[39] = "We always hold hands<font color=#AAFFAA><b>. If</b></font> I let go, she shops. "
isprav[40] = "We have<font color=#AAFFAA><b>, I fear,</b></font> confused power with greatness. "
isprav[41] = "<font color=#AAFFAA><b>Next time you wave,</b></font> use all your fingers. "
isprav[42] = "There is a fine line between genius and insanity<font color=#AAFFAA><b>. However</b></font>, I have erased this line. "
isprav[43] = "Shallow men believe in luck. Strong men believe in cause<font color=#AAFFAA><b> and</b></font> effect. "
isprav[44] = "The early bird may get the worm<font color=#AAFFAA><b>, but</b></font> the second mouse gets the cheese. "
isprav[45] = "I wonder if other dogs think poodles are members of a <font color=#AAFFAA><b>small, weird, religious</b></font> cult. "
isprav[46] = "<font color=#AAFFAA><b>Lord,</b></font> what fools these mortals be. "
isprav[47] = "<font color=#AAFFAA><b>Ninety percent of the politicians</b></font> give the other ten percent a bad reputation. "
isprav[48] = "If you laugh, the world laughs with you<font color=#AAFFAA><b>. Conversely</b></font>, if you snore, you sleep alone. <img border=0 src=../images/bultickll.gif height=11 width=11>"
// Exclamation
isprav[49] = "Please note my article in the newsletter about using the photocopier for personal use<font color=#AAFFAA><b>.</b></font> "
isprav[50] = "Never employ handsome servants<font color=#AAFFAA><b>!</b></font> "

grup = new Array(9)

grup[1] = "Apostrophes#<a href='../tests/test_apostrophes_general_use.htm'>Quick test</a><br><a href='../lessons/apostrophes_using_apostrophes.htm'>Using apostrophes</a><br><a href='../lessons/apostrophe_error_with_plurals.htm'>The apostrophe error with plurals (e.g. two cat's.)</a><br><a href='../lessons/apostrophes_in_time_(temporal)_expressions.htm'>Apostrophes in time (temporal) expressions (e.g. a year's salary)</a><br><a href='../lessons/apostrophes_replace_letters.htm'>Apostrophes replace letters (e.g. can't)</a><br><a href='../lessons/apostrophes_show_plural_of_abbreviations.htm'>Apostrophes to show the plural of abbreviations (e.g. SOS's)</a><br><a href='../lessons/apostrophes_show_possession.htm'>Apostrophes show possession (e.g. the dog's dinner, women's shower)</a>"
grup[2] = "Colons#<a href='../lessons/colons_extend_a_sentence.htm'>Colons to extend sentences (e.g. ...seen by two men: Jack and Tim.)</a><br><a href='../lessons/colons_in_references.htm'>Colons in references (e.g. Para. 4: Section 2)</a><br><a href='../lessons/colons_introduction.htm'>Using colons for introductions (e.g. ...with the following: a crow, a rook...)</a><br><a href='../lessons/colons_with_bullet_points.htm'>Colons with bullet points</a><br><a href='../lessons/colons_with_long_quotations.htm'>Colons with quotations (e.g. He joked: 'It must be Alan in the old tank.')</a>"
grup[3] = "Semicolons#<a href='../lessons/semicolons_before_conjunctions.htm'>Before conjunctions (e.g. ...is true; but the other one...)</a><br><a href='../lessons/semicolons_before_transitional_phrases.htm'>Before transitional phrases (e.g. ...she knew; however, it was...)</a><br><a href='../lessons/semicolons_in_lists.htm'>In lists (e.g. the master, aged 81; the servant, aged 19)</a><br><a href='../lessons/semicolons_to_extend_a_sentence.htm'>To extend a sentence (e.g. ...not hurt; one man injured his finger.)</a><br>"
grup[4] = "Hyphens#<a href='../lessons/hyphens_in_compound_adjectives.htm'>Hyphens in compound adjectives</a><br><a href='../lessons/hyphens_in_compound_nouns.htm'>Hyphens in compound nouns</a><br><a href='../lessons/hyphens_in_prefixes.htm'>Hyphens in prefixes</a><br><a href='../lessons/hyphens_alternatives_in_compound_adjectives.htm'>Alternatives to hyphens in compound adjectives (e.g. &quot;Get out of here&quot; eyes)</a>"
grup[5] = "Dashes#<a href='../lessons/parethesis_choice_of_parentheses.htm'>A choice of parentheses (dashes & commas as alternatives)</a><br>"
grup[6] = "Quotation Marks#<a href='../tests/test_quotation_marks.htm'>Quick test</a><br><a href='../lessons/quotation_(speech)_marks_colon_or_comma.htm'>Colon or comma before quotation (speech) marks?</a><br><a href='../lessons/quotation_(speech)_marks_ellipsis_three_dots.htm'>Three dots (ellipsis) in quotation (speech) marks</a><br><a href='../lessons/quotation_(speech)_marks_punctuation_in_or_out.htm'>Punctuation inside or outside quotation (speech) marks?</a><br><a href='../lessons/quotation_(speech)_marks_ships_plays_books.htm'>Quotation (speech) marks for ships, plays, books, etc.</a><br><a href='../lessons/quotation_(speech)_marks_single_or_double.htm'>Double or single quotation (speech) marks?</a><br><a href='../lessons/quotation_(speech)_marks_meaning_alleged_so-called.htm'>Quotation (speech) marks meaning ‘alleged’ or ‘so-called’</a><br>"
grup[7] = "Full Stops#aa "
grup[8] = "Commas#<a href='../tests/test_commas.htm'>Quick test</a><br><a href='../lessons/commas_after_a_sentence_introduction.htm'>After a sentence introductions (e.g. At four o'clock, she moved...)</a><br><a href='../lessons/commas_after_a_transitional_phrase.htm'>After a transitional phrase (e.g. However, it is...)</a><br><a href='../lessons/commas_after_interjections.htm'>After interjections (e.g. Yes, I know...)</a><br><a href='../lessons/commas_before_conjunctions.htm'>Before conjunctions (e.g. ...the end, but only when...)</a><br><a href='../lessons/commas_for_parenthesis.htm'>For parenthesis (e.g. Simon, the last man, saw...)</a><br><a href='../lessons/commas_in_lists.htm'>In lists (e.g. egg, milk and butter)</a><br><a href='../lessons/commas_with_a_long_subject.htm'>With a long subject (e.g. A, B and C, are required...)</a><br><a href='../lessons/commas_with_numbers.htm'>With numbers (e.g. 2,232)</a><br><a href='../lessons/commas_with_quotation_(speech)_marks.htm'>With quotation (speech) marks (e.g. He yelled, 'Get out!')</a><br><a href='../lessons/commas_with_vocative_case.htm'>With the vocative case (e.g. I know what you mean, Simon.)</a>"
grup[9] = "Exclamation Marks#aa"
grup[10]= "Nil#aa "

function forward() {
inc++
if (inc >= 51) inc = 0
display()
}

function backward() {
inc--
if (inc < 0) inc = 50
display()
}

function correct() {
document.getElementById('oshib').innerHTML="<font color=yellow>The Error: </font>" + msg[inc] + "<br><br>"
if (inc == 0) {document.getElementById('oshib').innerHTML="" + msg[inc] + "<br><br>"}
document.getElementById('example').innerHTML="<font color=yellow>Example: </font>" + isprav[inc]+ "<img border=0 src=../images/bultickl.gif height=11 width=11>"

if (inc == 0) {document.getElementById('example').innerHTML="" + isprav[inc]}

document.getElementById('but').innerHTML="<INPUT Type = button value = ' Make it wrong again ' onClick = wrong() style='background-color: red; color: #ffffff;'>"
}


function wrong() {
document.getElementById('oshib').innerHTML="<font color=yellow>The Error: </font>"+ msg[inc]  + "<br><br>"
if (inc == 0) {document.getElementById('oshib').innerHTML="" + msg[inc] + "<br><br>"}
document.getElementById('example').innerHTML="<font color=yellow>Example: </font>" + prim[inc]+ "<img border=0 src=../images/bulx.gif height=11 width=11>"

if (inc == 0) {document.getElementById('example').innerHTML="" + prim[inc]}


document.getElementById('but').innerHTML="<INPUT Type = button value = ' Correct the example ' onClick = correct() style='background-color: green; color: #ffffff;'>"
}



function display() {
if (inc >=1 && inc <=16) gp=1
if (inc >=17 && inc <=19) gp=2
if (inc >=20 && inc <=23) gp=3
if (inc >=24 && inc <=29) gp=4
if (inc ==30) gp=5
if (inc >=31 && inc <=35) gp=6
if (inc >=36 && inc <=38) gp=10
if (inc >=39 && inc <=48) gp=8
if (inc >=48 && inc <=50) gp=10
if (inc ==0) gp=10

schtuck = grup[gp]

ln=schtuck.indexOf('#')
if (gp < 10) {document.getElementById('lessons').innerHTML="<b>Other Free Lessons on " + schtuck.substr(0,ln) +":</b><br>" + schtuck.substr(ln+1, (schtuck.length)+1)}
if (gp == 10) {document.getElementById('lessons').innerHTML=""}

document.getElementById('numb').innerHTML="" + inc
document.getElementById('oshib').innerHTML="<font color=yellow>The Error: </font>" + msg[inc] + "<br><br>"
if (inc == 0) {document.getElementById('oshib').innerHTML="" + msg[inc] + "<br><br>"}
document.getElementById('example').innerHTML="<font color=yellow>Example: </font>" + prim[inc]+ "<img border=0 src=../images/bulx.gif height=11 width=11>"

if (inc == 0) {document.getElementById('example').innerHTML="" + prim[inc]}


document.getElementById('but').innerHTML="<INPUT Type = button value = ' Correct the example ' onClick = correct() style='background-color: green; color: #ffffff;'>"
}

function jumpto() {
if (document.frm.drop[1].selected) inc=1 
if (document.frm.drop[2].selected) inc=17
if (document.frm.drop[3].selected) inc=20
if (document.frm.drop[4].selected) inc=24
if (document.frm.drop[5].selected) inc=30
if (document.frm.drop[6].selected) inc=31
if (document.frm.drop[7].selected) inc=36
if (document.frm.drop[8].selected) inc=39
if (document.frm.drop[9].selected) inc=48
display()

}


