function noRightClick() {
if (event.button==2) {
alert('You can only left click on this page.')
}
}
document.onmousedown=noRightClick


function banner1(){
document.getElementById('ban2').innerHTML="<table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1180 height=110 frameborder=0 src='http://www.grammar-monster.com/scripts/ads.htm'></IFRAME></td></tr></table>";
document.getElementById('ban3').innerHTML="";
document.getElementById('ban4').innerHTML="<table><tr><td><table cellpadding=10 bgcolor=white><tr><td height=177 width=177 style='border: 1px solid #0000FF' class='small'><a href='http://www.grammar-monster.com/download.htm' target='_top'><u>Download all lessons, tests and glossaries on Grammar Monster<br></u></a><br>Your own desktop grammar reference tool - the whole site neatly packaged in an interactive software application for just $7.95.<br><br></td></tr></table></td><td><table cellpadding=10 bgcolor=white><tr><td height=177 width=177 style='border: 1px solid #0000FF' class='small'>WhiteSmoke - the only grammar checker endorsed by Grammar Monster. <a href='http://www.grammar-monster.com/grammar_checker.html' target='_top'><u>Try it now</u>.</a><br><a href='http://www.grammar-monster.com/grammar_checker.html' target='_top'><img border='0' src='http://www.grammar-monster.com/whitesmoke/img3/box_business.gif' width='74' height='89'></a><br></td></tr></table></td></tr></table>";}



exam1=""
explan1=""
exam2=""
explan2=""

example = new Array (50)


example[1] = "Applicants should have at least <font color=green>3 years' experience</font>.#1(three years - apostrophe should be after the s)#2Applicants should have at least 3 year's experience.#3(three years - apostrophe should be after the s)"
example[2] = "My car came with <font color=green>a year's free insurance</font>. #1(one year - apostrophe should be before the s)#2My car came with a years' free insurance.#3(one year - apostrophe should be before the s)"
example[3] = "Sally <font color=green>isn't</font> able to complete her work. #1(The apostrophe is now in the right place, replacing the letter 'o'.)<br>(Should be: isn't)<br>(In full: is not)#2Sally is'nt able to complete her work. #3(The apostrophe is in the wrong place.)<br>(Should be: isn't)<br>(In full: is not)"
example[4] = "What horse <font color=green>can't</font> you ride? #1(The apostrophe is now in the right place, replacing the letters 'no'.)<br>(Should be: can't)<br>(In full: cannot)#2What horse ca'nt you ride? #3(The apostrophe is in the wrong place.)<br>(Should be: can't)<br>(In full: cannot)"
example[5] = "Leave the <font color=green>children's presents</font> in the hall until they have gone to bed. #1(apostrophe should be before the s to show possession with plural words not ending in s)#2Leave the childrens' presents in the hall until they have gone to bed. #3(apostrophe should be before the s to show possession with plural words not ending in s)"
example[6] = "There are <font color=green>24 applicants</font> waiting in the coffee room.#1(do not use an apostrophe just because a word ends in s)#2There are 24 applicant's waiting in the coffee room.#3(do not use an apostrophe just because a word ends in s)"
example[7] = "Hire two <font color=green>videos</font> for the price of three. #1(No apostrophe in videos.  This is correct.)#2Hire two video's for the price of three. #3(Do not add an apostrophe just because a word ends in 's'.)"
example[8] = "8Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[9] = "9Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[10] = "10Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[11] = "11Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[12] = "12Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[13] = "13Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[14] = "14Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[15] = "15Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[16] = "16Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[17] = "17Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[18] = "18Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[19] = "19Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[20] = "20Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[21] = "21Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[22] = "22Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[23] = "23Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[24] = "24Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[25] = "25Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[26] = "26Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[27] = "27Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[28] = "28Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[29] = "29Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[30] = "30Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[31] = "31Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[32] = "32Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[33] = "33Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[34] = "34Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[35] = "35Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[36] = "36Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[37] = "37Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[38] = "38Example One#1(Explanation One)#2Example Two#3(Explanation Two)"
example[39] = "39Example One#1(Explanation One)#2Example Two#3(Explanation Two)"



// for example 1 by cone() at exampone


function cone(a)
{mxd=example[a]; lyn=mxd.length; p1=0; p2=0; p3=0;  
for (i = 0; i < lyn; i++){
if (mxd.substr(i,2)=="#1"){p1=i}
if (mxd.substr(i,2)=="#2"){p2=i}
if (mxd.substr(i,2)=="#3"){p3=i}
}
exam1=mxd.substr(0,p1);
explan1=mxd.substr(p1+2, p2-(p1+2));
exam2=mxd.substr(p2+2, p3-(p2+2));
explan2=mxd.substr(p3+2, lyn);
document.getElementById('exampone').innerHTML="<span id=exampone>" + exam1 + " <img border=0 src=../images/bultick.gif width=11 height=11> <span class=correct onclick=xone(" + a + ")>[<u>make it wrong again</u>]</span><br>" + explan1 + "</span>";}

function xone(b)
{document.getElementById('exampone').innerHTML="<span id=exampone>" + exam2 + " <img border=0 src=../images/bulx.gif width=11 height=11> <span class=correct onclick=cone(" + b + ")>[<u>correct the example</u>]</span><br>" + explan2 + "</span>";}


// for example 2 by ctwo at examptwo


function ctwo(a)
{mxd=example[a]; lyn=mxd.length; p1=0; p2=0; p3=0;  
for (i = 0; i < lyn; i++){
if (mxd.substr(i,2)=="#1"){p1=i}
if (mxd.substr(i,2)=="#2"){p2=i}
if (mxd.substr(i,2)=="#3"){p3=i}
}
exam1=mxd.substr(0,p1);
explan1=mxd.substr(p1+2, p2-(p1+2));
exam2=mxd.substr(p2+2, p3-(p2+2));
explan2=mxd.substr(p3+2, lyn);
document.getElementById('examptwo').innerHTML="<span id=examptwo>" + exam1 + " <img border=0 src=../images/bultick.gif width=11 height=11> <span class=correct onclick=xtwo(" + a + ")>[<u>make it wrong again</u>]</span><br>" + explan1 + "</span>";}

function xtwo(b)
{document.getElementById('examptwo').innerHTML="<span id=examptwo>" + exam2 + " <img border=0 src=../images/bulx.gif width=11 height=11> <span class=correct onclick=ctwo(" + b + ")>[<u>correct the example</u>]</span><br>" + explan2 + "</span>";}


// for example 3 by cthree at exampthree


function cthree(a)
{mxd=example[a]; lyn=mxd.length; p1=0; p2=0; p3=0;  
for (i = 0; i < lyn; i++){
if (mxd.substr(i,2)=="#1"){p1=i}
if (mxd.substr(i,2)=="#2"){p2=i}
if (mxd.substr(i,2)=="#3"){p3=i}
}
exam1=mxd.substr(0,p1);
explan1=mxd.substr(p1+2, p2-(p1+2));
exam2=mxd.substr(p2+2, p3-(p2+2));
explan2=mxd.substr(p3+2, lyn);
document.getElementById('exampthree').innerHTML="<span id=exampthree>" + exam1 + " <img border=0 src=../images/bultick.gif width=11 height=11> <span class=correct onclick=xthree(" + a + ")>[<u>make it wrong again</u>]</span><br>" + explan1 + "</span>";}

function xthree(b)
{document.getElementById('exampthree').innerHTML="<span id=exampthree>" + exam2 + " <img border=0 src=../images/bulx.gif width=11 height=11> <span class=correct onclick=cthree(" + b + ")>[<u>correct the example</u>]</span><br>" + explan2 + "</span>";}




















































