<!-- hiding
var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
function getRef(id) {
if (isDOM) return document.getElementById(id);
if (isIE4) return document.all[id];
if (isNS4) return document.layers[id];
}
function getSty(id) {
return (isNS4 ? getRef(id) : getRef(id).style);
} 
// Hide timeout.
var popTimer = 0;
// Array showing highlighted menu items.
var litNow = new Array();
function popOver(menuNum, itemNum) {
clearTimeout(popTimer);
hideAllBut(menuNum);
litNow = getTree(menuNum, itemNum);
changeCol(litNow, true);
targetNum = menu[menuNum][itemNum].target;
if (targetNum > 0) {
thisX = parseInt(menu[menuNum][0].ref.left) + parseInt(menu[menuNum][itemNum].ref.left);
thisY = parseInt(menu[menuNum][0].ref.top) + parseInt(menu[menuNum][itemNum].ref.top);
with (menu[targetNum][0].ref) {
left = parseInt(thisX + menu[targetNum][0].x);
top = parseInt(thisY + menu[targetNum][0].y);
visibility = 'visible';
      }
   }
}
function popOut(menuNum, itemNum) {
if ((menuNum == 0) && !menu[menuNum][itemNum].target)
hideAllBut(0)
else
popTimer = setTimeout('hideAllBut(0)', 500);
}
function getTree(menuNum, itemNum) {

itemArray = new Array(menu.length);

while(1) {
itemArray[menuNum] = itemNum;

if (menuNum == 0) return itemArray;
itemNum = menu[menuNum][0].parentItem;
menuNum = menu[menuNum][0].parentMenu;
   }
}

function changeCol(changeArray, isOver) {
for (menuCount = 0; menuCount < changeArray.length; menuCount++) {
if (changeArray[menuCount]) {
newCol = isOver ? menu[menuCount][0].overCol : menu[menuCount][0].backCol;
// Change the colours of the div/layer background.
with (menu[menuCount][changeArray[menuCount]].ref) {
if (isNS4) bgColor = newCol;
else backgroundColor = newCol;
         }
      }
   }
}
function hideAllBut(menuNum) {
var keepMenus = getTree(menuNum, 1);
for (count = 0; count < menu.length; count++)
if (!keepMenus[count])
menu[count][0].ref.visibility = 'hidden';
changeCol(litNow, false);
}

function Menu(isVert, popInd, x, y, width, overCol, backCol, borderClass, textClass) {
// True or false - a vertical menu?
this.isVert = isVert;
// The popout indicator used (if any) for this menu.
this.popInd = popInd
// Position and size settings.
this.x = x;
this.y = y;
this.width = width;
// Colours of menu and items.
this.overCol = overCol;
this.backCol = backCol;
// The stylesheet class used for item borders and the text within items.
this.borderClass = borderClass;
this.textClass = textClass;
// Parent menu and item numbers, indexed later.
this.parentMenu = null;
this.parentItem = null;
// Reference to the object's style properties (set later).
this.ref = null;
}

function Item(text, href, frame, length, spacing, target) {
this.text = text;
this.href = href;
this.frame = frame;
this.length = length;
this.spacing = spacing;
this.target = target;
// Reference to the object's style properties (set later).
this.ref = null;
}

function writeMenus() {
if (!isDOM && !isIE4 && !isNS4) return;

for (currMenu = 0; currMenu < menu.length; currMenu++) with (menu[currMenu][0]) {

var str = '', itemX = 0, itemY = 0;

for (currItem = 1; currItem < menu[currMenu].length; currItem++) with (menu[currMenu][currItem]) {
var itemID = 'menu' + currMenu + 'item' + currItem;

var w = (isVert ? width : length);
var h = (isVert ? length : width);

if (isDOM || isIE4) {
str += '<div id="' + itemID + '" style="position: absolute; left: ' + itemX + '; top: ' + itemY + '; width: ' + w + '; height: ' + h + '; visibility: inherit; ';
if (backCol) str += 'background: ' + backCol + '; ';
str += '" ';
}
if (isNS4) {
str += '<layer id="' + itemID + '" left="' + itemX + '" top="' + itemY + '" width="' +  w + '" height="' + h + '" visibility="inherit" ';
if (backCol) str += 'bgcolor="' + backCol + '" ';
}
if (borderClass) str += 'class="' + borderClass + '" ';

str += 'onMouseOver="popOver(' + currMenu + ',' + currItem + ')" onMouseOut="popOut(' + currMenu + ',' + currItem + ')">';

str += '<table width="' + (w - 8) + '" border="0" cellspacing="0" cellpadding="' + (!isNS4 && borderClass ? 3 : 0) + '"><tr><td align="left" height="' + (h - 7) + '">' + '<a class="' + textClass + '" href="' + href + '"' + (frame ? ' target="' + frame + '">' : '>') + text + '</a></td>';
if (target > 0) {

menu[target][0].parentMenu = currMenu;
menu[target][0].parentItem = currItem;

if (popInd) str += '<td class="' + textClass + '" align="right">' + popInd + '</td>';
}
str += '</tr></table>' + (isNS4 ? '</layer>' : '</div>');
if (isVert) itemY += length + spacing;
else itemX += length + spacing;
}
if (isDOM) {
var newDiv = document.createElement('div');
document.getElementsByTagName('body').item(0).appendChild(newDiv);
newDiv.innerHTML = str;
ref = newDiv.style;
ref.position = 'absolute';
ref.visibility = 'hidden';
}

if (isIE4) {
document.body.insertAdjacentHTML('beforeEnd', '<div id="menu' + currMenu + 'div" ' + 'style="position: absolute; visibility: hidden">' + str + '</div>');
ref = getSty('menu' + currMenu + 'div');
}

if (isNS4) {
ref = new Layer(0);
ref.document.write(str);
ref.document.close();
}

for (currItem = 1; currItem < menu[currMenu].length; currItem++) {
itemName = 'menu' + currMenu + 'item' + currItem;
if (isDOM || isIE4) menu[currMenu][currItem].ref = getSty(itemName);
if (isNS4) menu[currMenu][currItem].ref = ref.document[itemName];
   }
}
with(menu[0][0]) {
ref.left = x;
ref.top = y;
ref.visibility = 'visible';
   }
}

// Syntaxes: *** START EDITING HERE, READ THIS SECTION CAREFULLY! ***
//
// menu[menuNumber][0] = new Menu(Vertical menu? (true/false), 'popout indicator', left, top,
// width, 'mouseover colour', 'background colour', 'border stylesheet', 'text stylesheet');
//
// Left and Top are measured on-the-fly relative to the top-left corner of its trigger, or
// for the root menu, the top-left corner of the page.
//
// menu[menuNumber][itemNumber] = new Item('Text', 'URL', 'target frame', length of menu item,
//  additional spacing to next menu item, number of target menu to popout);
//
// If no target menu (popout) is desired, set it to 0. Likewise, if your site does not use
// frames, pass an empty string as a frame target.

// The 'length' and 'width' of an item depends on its orientation -- length is how long the item runs for 

var menu = new Array();

// Default colours passed to most menu constructors 
var defOver = '#FF0001', defBack = '#CC2222';

// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var defLength = 28;



menu[0] = new Array();

// *** MOVE ROOT MENU AROUND HERE ***  it's positioned at (140, 120) and is 28px high now.

menu[0][0] = new Menu(false, '<img src=http://www.grammar-monster.com/images/pointdown.gif>', 140, 130, 28, '#FF0001', '#CC2222', '', 'itemText');

menu[0][1] = new Item('&nbsp;Home', 'http://www.grammar-monster.com/index.html', '', 100, 1, 0);
menu[0][2] = new Item('&nbsp;Punctuation', '#', '', 136, 1, 1);
menu[0][3] = new Item('&nbsp;The 8 Parts of Speech', '#', '', 179, 1, 2);
menu[0][4] = new Item('&nbsp;Confused Words', 'http://www.grammar-monster.com/easily_confused_words.htm', '', 145, 1, 3);
menu[0][5] = new Item('&nbsp;Glossary of Terms', 'http://www.grammar-monster.com/grammar_terms_and_definitions.htm', '', 150, 1, 0);
menu[0][6] = new Item('&nbsp;Miscellaneous', '', '', 173, 1, 6);
menu[0][7] = new Item('&nbsp;Follow Us', 'http://www.grammar-monster.com/admin/follow_grammar_monster.htm', '', 156, 0, 7);



// Punctuation Menu.
menu[1] = new Array();
// The File menu is positioned 0px across and 25px down from its trigger, and is 130 wide.
// All text in this menu has the stylesheet class 'item' -- see the <style> section above.

menu[1][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 137, defOver, defBack, 'itemBorder', 'itemText');
menu[1][1] = new Item('Apostrophes', '', '', defLength, 0, 8);
menu[1][2] = new Item('Brackets', '', '', defLength, 0, 9);
menu[1][3] = new Item('Colons', '', '', defLength, 0, 10);
menu[1][4] = new Item('Commas', '', '', defLength, 0, 11);
menu[1][5] = new Item('Dashes', '', '', defLength, 0, 12);
menu[1][6] = new Item('Hyphens', '', '', defLength, 0, 13);
menu[1][7] = new Item('Semicolons', '', '', defLength, 0, 14);
menu[1][8] = new Item('Speech Marks', '', '', defLength, 0, 15);


// Eight Parts of Speech.
menu[2] = new Array();
menu[2][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 180, defOver, defBack, 'itemBorder', 'itemText');
menu[2][1] = new Item('Adjectives', '', '', defLength, 0, 16);
menu[2][2] = new Item('Adverbs', '', '', defLength, 0, 17);
menu[2][3] = new Item('Conjunctions', '', '', defLength, 0, 18);
menu[2][4] = new Item('Interjections', '', '', defLength, 0, 19);
menu[2][5] = new Item('Nouns', '', '', defLength, 0, 20);
menu[2][6] = new Item('Prepositions', '', '', defLength, 0, 21);
menu[2][7] = new Item('Pronouns', '', '', defLength, 0, 22);
menu[2][8] = new Item('Verbs', '', '', defLength, 0, 23);



// Easily Confused Words
menu[3] = new Array();
menu[3][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 146, defOver, defBack, 'itemBorder', 'itemText');
menu[3][1] = new Item('A-B', '', '', defLength, 0, 24);
menu[3][2] = new Item('C-D', '', '', defLength, 0, 25);
menu[3][3] = new Item('E-F-G-H', '', '', defLength, 0, 26);
menu[3][4] = new Item('I-L', '', '', defLength, 0, 27);
menu[3][5] = new Item('M-N-O-P-Q', '', '', defLength, 0, 28);
menu[3][6] = new Item('R-S-T', '', '', defLength, 0, 29);
menu[3][7] = new Item('U-V', '', '', defLength, 0, 30);
menu[3][8] = new Item('W-Y', '', '', defLength, 0, 31);


// Glossary of Terms

menu[4] = new Array();
menu[4][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 151, defOver, defBack, 'itemBorder', 'itemText');
menu[4][1] = new Item('A-B', '', '', defLength, 0, 0);



// Lessons and Tests
menu[5] = new Array();
menu[5][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 151, defOver, defBack, 'itemBorder', 'itemText');
menu[5][1] = new Item('Grammar lessons', '', '', defLength, 0, 0);
menu[5][2] = new Item('Grammar tests', '', '', defLength, 0, 0);

// Miscellaneous
menu[6] = new Array();
menu[6][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 174, defOver, defBack, 'itemBorder', 'itemText');

menu[6][1] = new Item('Book a course', 'http://www.grammar-monster.com/admin/grammar_in_the_workplace.htm', '', defLength, 0, 0);
menu[6][2] = new Item('Contact us', 'http://www.grammar-monster.com/admin/contact_us.htm', '', defLength, 0, 0);
menu[6][3] = new Item('FAQs', 'http://www.grammar-monster.com/faqs.htm', '', defLength, 0, 0);
menu[6][4] = new Item('Fun stuff', 'http://www.grammar-monster.com/entertainment/entertainment.htm', '', defLength, 0, 0);
menu[6][5] = new Item('Grammar checker', 'http://www.grammar-monster.com/grammar_checker.html', '', defLength, 0, 0);
menu[6][6] = new Item('Grammar app', 'http://www.grammar-monster.com/download.htm', '', defLength, 0, 0);
menu[6][7] = new Item('Our shop', 'http://www.grammar-monster.com/admin/grammar_shop.htm', '', defLength, 0, 0);
menu[6][8] = new Item('Search this site', 'http://www.grammar-monster.com/admin/search.htm', '', defLength, 0, 0);
menu[6][9] = new Item('Grammar Rules (book)', 'http://www.grammar-monster.com/grammar_rules.htm', '', defLength, 0, 0);


// Follow Us
menu[7] = new Array();
menu[7][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', -1, 28, 157, defOver, defBack, 'itemBorder', 'itemText');
menu[7][1] = new Item('On Twitter', 'http://twitter.com/grammarmonster', '', defLength, 0, 0);
menu[7][2] = new Item('On Facebook', 'http://www.facebook.com/pages/Grammar-Monster/149862571699002', '', defLength, 0, 0);
menu[7][3] = new Item('Free Newsletter', 'http://www.grammar-monster.com/admin/newsletter.htm', '', defLength, 0, 0);
menu[7][4] = new Item('iGoogle Gadget', 'http://www.google.com/ig/adde?hl=en&moduleurl=hosting.gmodules.com/ig/gadgets/file/102021793797608792281/daily_grammar_tips.xml&source=imag', '', defLength, 0, 0);
menu[7][5] = new Item('Grammar Chat', 'http://pub6.bravenet.com/forum/static/show.php?usernum=467794206&frmid=120&msgid=0', '', defLength, 0, 0);



// SUB-SUB MENU  apostrophes
menu[8] = new Array();
menu[8][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[8][1] = new Item("Overview", "http://www.grammar-monster.com/lessons/apostrophes_using_apostrophes.htm", "", 28, 0, 0);
menu[8][2] = new Item("used incorrectly with plurals", "http://www.grammar-monster.com/lessons/apostrophe_error_with_plurals.htm", "", 28, 0, 0);
menu[8][3] = new Item("in time expressions", "http://www.grammar-monster.com/lessons/apostrophes_in_time_(temporal)_expressions.htm", "", 28, 0, 0);
menu[8][4] = new Item("to replace letters", "http://www.grammar-monster.com/lessons/apostrophes_replace_letters.htm", "", 28, 0, 0);
menu[8][5] = new Item("to show the plural of abbreviations", "http://www.grammar-monster.com/lessons/apostrophes_show_plural_of_abbreviations.htm", "", 28, 0, 0);
menu[8][6] = new Item("to show possession", "http://www.grammar-monster.com/lessons/apostrophes_show_possession.htm", "", 28, 0, 0);
menu[8][7] = new Item("test", "http://www.grammar-monster.com/tests/test_apostrophes_general_use.htm", "", 28, 0, 0);


// SUB-SUB MENU  Brackets
menu[9] = new Array();
menu[9][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[9][1] = new Item("Overview (round & square brackets)", "http://www.grammar-monster.com/lessons/brackets_round_and_square_brackets.htm", "", 28, 0, 0);
menu[9][2] = new Item("replaced by commas or dashes", "http://www.grammar-monster.com/lessons/parethesis_choice_of_parentheses.htm", "", 28, 0, 0);

// SUB-SUB MENU  colons
menu[10] = new Array();
menu[10][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[10][1] = new Item("to extend a sentence", "http://www.grammar-monster.com/lessons/colons_extend_a_sentence.htm", "", 28, 0, 0);
menu[10][2] = new Item("in references", "http://www.grammar-monster.com/lessons/colons_in_references.htm", "", 28, 0, 0);
menu[10][3] = new Item("for introductions", "http://www.grammar-monster.com/lessons/colons_introduction.htm", "", 28, 0, 0);
menu[10][4] = new Item("with bullet points", "http://www.grammar-monster.com/lessons/colons_with_bullet_points.htm", "", 28, 0, 0);
menu[10][5] = new Item("before quotations", "http://www.grammar-monster.com/lessons/colons_with_long_quotations.htm", "", 28, 0, 0);


// SUB-SUB MENU  commas
menu[11] = new Array();
menu[11][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[11][1] = new Item("after 'setting the scene'", "http://www.grammar-monster.com/lessons/commas_after_a_sentence_introduction.htm", "", 28, 0, 0);
menu[11][2] = new Item("after a transitional phrase", "http://www.grammar-monster.com/lessons/commas_after_a_transitional_phrase.htm", "", 28, 0, 0);
menu[11][3] = new Item("after an interjection", "http://www.grammar-monster.com/lessons/commas_after_interjections.htm", "", 28, 0, 0);
menu[11][4] = new Item("before a conjunction", "http://www.grammar-monster.com/lessons/commas_before_conjunctions.htm", "", 28, 0, 0);
menu[11][5] = new Item("to replace brackets", "http://www.grammar-monster.com/lessons/commas_for_parenthesis.htm", "", 28, 0, 0);
menu[11][6] = new Item("in lists", "http://www.grammar-monster.com/lessons/commas_in_lists.htm", "", 28, 0, 0);
menu[11][7] = new Item("with a long subject", "http://www.grammar-monster.com/lessons/commas_with_a_long_subject.htm", "", 28, 0, 0);
menu[11][8] = new Item("with numbers", "http://www.grammar-monster.com/lessons/commas_with_numbers.htm", "", 28, 0, 0);
menu[11][9] = new Item("with speech marks", "http://www.grammar-monster.com/lessons/commas_with_quotation_(speech)_marks.htm", "", 28, 0, 0);
menu[11][10] = new Item("when addressing someone", "http://www.grammar-monster.com/lessons/commas_with_vocative_case.htm", "", 28, 0, 0);
menu[11][11] = new Item("test", "http://www.grammar-monster.com/tests/test_commas.htm", "", 28, 0, 0);


// SUB-SUB MENU  dashes
menu[12] = new Array();
menu[12][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[12][1] = new Item("to extend a sentence", "http://www.grammar-monster.com/lessons/extend_a_sentence.htm", "", 28, 0, 0);
menu[12][2] = new Item("to replace brackets", "http://www.grammar-monster.com/lessons/parethesis_choice_of_parentheses.htm", "", 28, 0, 0);


// SUB-SUB MENU  hyphens
menu[13] = new Array();
menu[13][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[13][1] = new Item("in compound adjectives", "http://www.grammar-monster.com/lessons/hyphens_in_compound_adjectives.htm", "", 28, 0, 0);
menu[13][2] = new Item("in compound nouns", "http://www.grammar-monster.com/lessons/hyphens_in_compound_nouns.htm", "", 28, 0, 0);
menu[13][3] = new Item("in prefixes", "http://www.grammar-monster.com/lessons/hyphens_in_prefixes.htm", "", 28, 0, 0);
menu[13][4] = new Item("Alternatives in compound adjectives", "http://www.grammar-monster.com/lessons/hyphens_alternatives_in_compound_adjectives.htm", "", 28, 0, 0);



// SUB-SUB MENU  semicolons
menu[14] = new Array();
menu[14][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[14][1] = new Item("before conjunctions", "http://www.grammar-monster.com/lessons/semicolons_before_conjunctions.htm", "", 28, 0, 0);
menu[14][2] = new Item("in lists", "http://www.grammar-monster.com/lessons/semicolons_in_lists.htm", "", 28, 0, 0);
menu[14][3] = new Item("to extend a sentence", "http://www.grammar-monster.com/lessons/semicolons_to_extend_a_sentence.htm", "", 28, 0, 0);


// SUB-SUB MENU  speech marks
menu[15] = new Array();
menu[15][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 138, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[15][1] = new Item("with colons or commas", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_colon_or_comma.htm", "", 28, 0, 0);
menu[15][2] = new Item("and three dots (ellipsis)", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_ellipsis_three_dots.htm", "", 28, 0, 0);
menu[15][3] = new Item("and punctuation (inside or outside)", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_punctuation_in_or_out.htm", "", 28, 0, 0);
menu[15][4] = new Item("for ships, plays and books", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_ships_plays_books.htm", "", 28, 0, 0);
menu[15][5] = new Item("Doubles (&quot;) or singles (')", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_single_or_double.htm", "", 28, 0, 0);
menu[15][6] = new Item("meaning alleged or so-called", "http://www.grammar-monster.com/lessons/quotation_(speech)_marks_meaning_alleged_so-called.htm", "", 28, 0, 0);
menu[15][7] = new Item("test", "http://www.grammar-monster.com/tests/test_quotation_marks.htm", "", 28, 0, 0);




// SUB-SUB MENU  adjectives
menu[16] = new Array();
menu[16][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[16][1] = new Item("What are adjectives?", "http://www.grammar-monster.com/lessons/adjectives.htm", "", 28, 0, 0);
menu[16][2] = new Item("What are compound adjectives?", "http://www.grammar-monster.com/lessons/adjectives_compound_adjectives.htm", "", 28, 0, 0);
menu[16][3] = new Item("easy test", "http://www.grammar-monster.com/tests/test_adjectives.htm", "", 28, 0, 0);
menu[16][4] = new Item("hard test", "http://www.grammar-monster.com/tests/test_adjectives_advanced.htm", "", 28, 0, 0);



// SUB-SUB MENU  adverbs
menu[17] = new Array();
menu[17][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[17][1] = new Item("What are adverbs?", "http://www.grammar-monster.com/lessons/adverbs.htm", "", 28, 0, 0);
menu[17][2] = new Item("Adverbial clauses and phrases", "http://www.grammar-monster.com/lessons/adverbial_clauses_phrases.htm", "", 28, 0, 0);
menu[17][3] = new Item("test", "http://www.grammar-monster.com/tests/test_adverbs.htm", "", 28, 0, 0);



// SUB-SUB MENU  conjunctions
menu[18] = new Array();
menu[18][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[18][1] = new Item("What are conjunctions?", "http://www.grammar-monster.com/lessons/conjunctions.htm", "", 28, 0, 0);
menu[18][2] = new Item("and commas", "http://www.grammar-monster.com/lessons/conjunctions_and_commas.htm", "", 28, 0, 0);
menu[18][3] = new Item("and semicolons", "http://www.grammar-monster.com/lessons/conjunctions_and_semicolons.htm", "", 28, 0, 0);
menu[18][4] = new Item("test", "http://www.grammar-monster.com/tests/test_conjunctions.htm", "", 28, 0, 0);



// SUB-SUB MENU  interjections
menu[19] = new Array();
menu[19][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[19][1] = new Item("What are interjections?", "http://www.grammar-monster.com/lessons/interjections.htm", "", 28, 0, 0);
menu[19][2] = new Item("test", "http://www.grammar-monster.com/tests/test_interjections.htm", "", 28, 0, 0);


// SUB-SUB MENU  nouns
menu[20] = new Array();
menu[20][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[20][1] = new Item("What are nouns?", "http://www.grammar-monster.com/lessons/nouns.htm", "", 28, 0, 0);
menu[20][2] = new Item("Different types of nouns", "http://www.grammar-monster.com/lessons/nouns_different_types.htm", "", 28, 0, 0);
menu[20][3] = new Item("test", "http://www.grammar-monster.com/tests/test_nouns.htm", "", 28, 0, 0);



// SUB-SUB MENU  prepositions
menu[21] = new Array();
menu[21][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[21][1] = new Item("What are prepositions?", "http://www.grammar-monster.com/lessons/prepositions.htm", "", 28, 0, 0);
menu[21][2] = new Item("at the end of a sentence", "http://www.grammar-monster.com/lessons/prepositions_ending_a_sentence.htm", "", 28, 0, 0);
menu[21][3] = new Item("and what follows", "http://www.grammar-monster.com/lessons/prepositions_object_of_a_preposition.htm", "", 28, 0, 0);
menu[21][4] = new Item("and verbs", "http://www.grammar-monster.com/lessons/prepositions_with_verbs_succinct_writing.htm", "", 28, 0, 0);
menu[21][5] = new Item("test", "http://www.grammar-monster.com/tests/test_prepositions.htm", "", 28, 0, 0);



// SUB-SUB MENU  pronouns
menu[22] = new Array();
menu[22][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[22][1] = new Item("What are pronouns?", "http://www.grammar-monster.com/lessons/pronouns.htm", "", 28, 0, 0);
menu[22][2] = new Item("Different types of pronouns", "http://www.grammar-monster.com/lessons/pronouns_different_types.htm", "", 28, 0, 0);
menu[22][3] = new Item("test", "http://www.grammar-monster.com/tests/test_pronouns.htm", "", 28, 0, 0);



// SUB-SUB MENU  verbs
menu[23] = new Array();
menu[23][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 180, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[23][1] = new Item("What are verbs?", "http://www.grammar-monster.com/lessons/verbs.htm", "", 28, 0, 0);
menu[23][2] = new Item("test", "http://www.grammar-monster.com/tests/test_verbs.htm", "", 28, 0, 0);



// SUB-SUB MENU  easily confused A-B
menu[24] = new Array();
menu[24][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[24][1] = new Item("accept and except", "http://www.grammar-monster.com/easily_confused/accept_except.htm" , "", 28, 0, 0);
menu[24][2] = new Item("adoptive and adopted", "http://www.grammar-monster.com/easily_confused/adopted_adoptive.htm" , "", 28, 0, 0);
menu[24][3] = new Item("advice and advise", "http://www.grammar-monster.com/easily_confused/advice_advise.htm" , "", 28, 0, 0);
menu[24][4] = new Item("adverse and averse", "http://www.grammar-monster.com/easily_confused/adverse_averse.htm" , "", 28, 0, 0);
menu[24][5] = new Item("affect and effect", "http://www.grammar-monster.com/easily_confused/affect_effect.htm" , "", 28, 0, 0);
menu[24][6] = new Item("aid and aide", "http://www.grammar-monster.com/easily_confused/aid_aide.htm" , "", 28, 0, 0);
menu[24][7] = new Item("a lot, allot and alot", "http://www.grammar-monster.com/easily_confused/alot_a_lot_allot.htm" , "", 28, 0, 0);
menu[24][8] = new Item("allowed and aloud", "http://www.grammar-monster.com/easily_confused/allowed_aloud.htm" , "", 28, 0, 0);
menu[24][9] = new Item("allude and elude", "http://www.grammar-monster.com/easily_confused/allude_elude.htm" , "", 28, 0, 0);
menu[24][10] = new Item("allusion and illusion", "http://www.grammar-monster.com/easily_confused/allusion_illusion.htm" , "", 28, 0, 0);
menu[24][11] = new Item("already and all ready", "http://www.grammar-monster.com/easily_confused/already_all_ready.htm" , "", 28, 0, 0);
menu[24][12] = new Item("alright or all right", "http://www.grammar-monster.com/easily_confused/alright_all_right.htm" , "", 28, 0, 0);
menu[24][13] = new Item("altar and alter", "http://www.grammar-monster.com/easily_confused/altar_alter.htm" , "", 28, 0, 0);
menu[24][14] = new Item("altogether and all together", "http://www.grammar-monster.com/easily_confused/altogether_all_together.htm" , "", 28, 0, 0);
menu[24][15] = new Item("amoral and immoral", "http://www.grammar-monster.com/easily_confused/immoral_amoral.htm" , "", 28, 0, 0);
menu[24][16] = new Item("amount, quantity and number", "http://www.grammar-monster.com/easily_confused/amount_quantity_and_number.htm" , "", 28, 0, 0);
menu[24][17] = new Item("appraise and apprise", "http://www.grammar-monster.com/easily_confused/appraise_apprise.htm" , "", 28, 0, 0);
menu[24][18] = new Item("bare and bear", "http://www.grammar-monster.com/easily_confused/bare_bear.htm" , "", 28, 0, 0);
menu[24][19] = new Item("being or been", "http://www.grammar-monster.com/easily_confused/being_been.htm" , "", 28, 0, 0);
menu[24][20] = new Item("beside and besides", "http://www.grammar-monster.com/easily_confused/beside_besides.htm" , "", 28, 0, 0);
menu[24][21] = new Item("breathe and breath", "http://www.grammar-monster.com/easily_confused/breathe_breath.htm" , "", 28, 0, 0);



// SUB-SUB MENU  easily confused C-D
menu[25] = new Array();
menu[25][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[25][1] = new Item("capital and capitol", "http://www.grammar-monster.com/easily_confused/capital_capitol.htm" , "", 28, 0, 0);
menu[25][2] = new Item("can and may", "http://www.grammar-monster.com/easily_confused/can_may.htm" , "", 28, 0, 0);
menu[25][3] = new Item("canvas and canvass", "http://www.grammar-monster.com/easily_confused/canvas_canvass.htm" , "", 28, 0, 0);
menu[25][4] = new Item("censor, censure and sensor", "http://www.grammar-monster.com/easily_confused/censor_sensor_censure.htm" , "", 28, 0, 0);
menu[25][5] = new Item("cite, sight and site", "http://www.grammar-monster.com/easily_confused/cite_sight_site.htm" , "", 28, 0, 0);
menu[25][6] = new Item("climactic and climatic", "http://www.grammar-monster.com/easily_confused/climactic_climatic.htm" , "", 28, 0, 0);
menu[25][7] = new Item("coarse and course", "http://www.grammar-monster.com/easily_confused/coarse_course.htm" , "", 28, 0, 0);
menu[25][8] = new Item("complement and compliment", "http://www.grammar-monster.com/easily_confused/complement_compliment.htm" , "", 28, 0, 0);

menu[25][9] = new Item("compose and comprise", "http://www.grammar-monster.com/easily_confused/comprise_compose.htm" , "", 28, 0, 0);
menu[25][10] = new Item("confident, confidant and confidante", "http://www.grammar-monster.com/easily_confused/confident_confidant_confidante.htm" , "", 28, 0, 0);
menu[25][11] = new Item("council and counsel", "http://www.grammar-monster.com/easily_confused/council_counsel.htm" , "", 28, 0, 0);
menu[25][12] = new Item("dependant and dependent", "http://www.grammar-monster.com/easily_confused/dependant_dependent.htm" , "", 28, 0, 0);
menu[25][13] = new Item("decent, descent and dissent", "http://www.grammar-monster.com/easily_confused/decent_descent_dissent.htm" , "", 28, 0, 0);
menu[25][14] = new Item("defuse and diffuse", "http://www.grammar-monster.com/easily_confused/defuse_diffuse.htm" , "", 28, 0, 0);
menu[25][15] = new Item("definite and definitive", "http://www.grammar-monster.com/easily_confused/definite_definitive.htm" , "", 28, 0, 0);
menu[25][16] = new Item("desert and dessert", "http://www.grammar-monster.com/easily_confused/desert_dessert.htm" , "", 28, 0, 0);
menu[25][17] = new Item("discreet and discrete", "http://www.grammar-monster.com/easily_confused/discrete_discreet.htm" , "", 28, 0, 0);
menu[25][18] = new Item("disinterested and uninterested", "http://www.grammar-monster.com/easily_confused/disinterested_uninterested.htm" , "", 28, 0, 0);


// SUB-SUB MENU  easily confused E-H
menu[26] = new Array();
menu[26][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[26][1] = new Item("economic and economical", "http://www.grammar-monster.com/easily_confused/economic_economical.htm" , "", 28, 0, 0);
menu[26][2] = new Item("effect and affect", "http://www.grammar-monster.com/easily_confused/affect_effect.htm" , "", 28, 0, 0);
menu[26][3] = new Item("e.g. and i.e.", "http://www.grammar-monster.com/easily_confused/eg_ie.htm" , "", 28, 0, 0);
menu[26][4] = new Item("elicit and illicit", "http://www.grammar-monster.com/easily_confused/elicit_illicit.htm" , "", 28, 0, 0);
menu[26][5] = new Item("elude and allude", "http://www.grammar-monster.com/easily_confused/allude_elude.htm" , "", 28, 0, 0);
menu[26][6] = new Item("envelop and envelope", "http://www.grammar-monster.com/easily_confused/envelop_envelope.htm" , "", 28, 0, 0);
menu[26][7] = new Item("enquiry and inquiry", "http://www.grammar-monster.com/easily_confused/enquiry_inquiry.htm" , "", 28, 0, 0);
menu[26][8] = new Item("except and accept", "http://www.grammar-monster.com/easily_confused/accept_except.htm" , "", 28, 0, 0);
menu[26][9] = new Item("fewer or less", "http://www.grammar-monster.com/easily_confused/fewer_less.htm" , "", 28, 0, 0);
menu[26][10] = new Item("fourth and forth", "http://www.grammar-monster.com/easily_confused/forth_fourth.htm" , "", 28, 0, 0);
menu[26][11] = new Item("getaway and get away", "http://www.grammar-monster.com/easily_confused/getaway_get_away.htm" , "", 28, 0, 0);
menu[26][12] = new Item("grisly and grizzly", "http://www.grammar-monster.com/easily_confused/grisly_grizzly.htm" , "", 28, 0, 0);
menu[26][13] = new Item("historic and historical", "http://www.grammar-monster.com/easily_confused/historic_historical.htm" , "", 28, 0, 0);



// SUB-SUB MENU  easily confused I-L
menu[27] = new Array();
menu[27][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[27][1] = new Item("i.e. and e.g.", "http://www.grammar-monster.com/easily_confused/eg_ie.htm" , "", 28, 0, 0);
menu[27][2] = new Item("if or whether", "http://www.grammar-monster.com/easily_confused/if_and_whether.htm" , "", 28, 0, 0);
menu[27][3] = new Item("illicit and elicit", "http://www.grammar-monster.com/easily_confused/elicit_illicit.htm" , "", 28, 0, 0);
menu[27][4] = new Item("illusion and allusion", "http://www.grammar-monster.com/easily_confused/allusion_illusion.htm" , "", 28, 0, 0);
menu[27][5] = new Item("immoral and amoral", "http://www.grammar-monster.com/easily_confused/immoral_amoral.htm" , "", 28, 0, 0);
menu[27][6] = new Item("imply and infer", "http://www.grammar-monster.com/easily_confused/imply_infer.htm" , "", 28, 0, 0);
menu[27][7] = new Item("incidence and incidents", "http://www.grammar-monster.com/easily_confused/incidence_incidents.htm" , "", 28, 0, 0);
menu[27][8] = new Item("incite and insight", "http://www.grammar-monster.com/easily_confused/incite_insight.htm" , "", 28, 0, 0);
menu[27][9] = new Item("inquiry and enquiry", "http://www.grammar-monster.com/easily_confused/enquiry_inquiry.htm" , "", 28, 0, 0);
menu[27][10] = new Item("instance and instants", "http://www.grammar-monster.com/easily_confused/instance_instants.htm" , "", 28, 0, 0);
menu[27][11] = new Item("into, onto and up to", "http://www.grammar-monster.com/easily_confused/into_onto_up_to.htm" , "", 28, 0, 0);
menu[27][12] = new Item("its and it's", "http://www.grammar-monster.com/easily_confused/its_its.htm" , "", 28, 0, 0);
menu[27][13] = new Item("law and lore", "http://www.grammar-monster.com/easily_confused/law_lore.htm" , "", 28, 0, 0);
menu[27][14] = new Item("lay and lie", "http://www.grammar-monster.com/easily_confused/lay_lie.htm" , "", 28, 0, 0);
menu[27][15] = new Item("lead and led", "http://www.grammar-monster.com/easily_confused/lead_led.htm" , "", 28, 0, 0);
menu[27][16] = new Item("less and fewer", "http://www.grammar-monster.com/easily_confused/fewer_less.htm" , "", 28, 0, 0);
menu[27][17] = new Item("licence and license", "http://www.grammar-monster.com/easily_confused/licence_license.htm" , "", 28, 0, 0);
menu[27][18] = new Item("loath and loathe", "http://www.grammar-monster.com/easily_confused/loath_loathe.htm" , "", 28, 0, 0);
menu[27][19] = new Item("loose and lose", "http://www.grammar-monster.com/easily_confused/loose_lose.htm" , "", 28, 0, 0);




// SUB-SUB MENU  easily confused M-Q
menu[28] = new Array();
menu[28][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[28][1] = new Item("may and can", "http://www.grammar-monster.com/easily_confused/can_may.htm" , "", 28, 0, 0);
menu[28][2] = new Item("may be and maybe", "http://www.grammar-monster.com/easily_confused/maybe_may_be.htm" , "", 28, 0, 0);
menu[28][3] = new Item("no-one and no one", "http://www.grammar-monster.com/easily_confused/no-one_no_one.htm" , "", 28, 0, 0);
menu[28][4] = new Item("notable and noticeable", "http://www.grammar-monster.com/easily_confused/notable_noticeable.htm" , "", 28, 0, 0);
menu[28][5] = new Item("number, amount and quantity", "http://www.grammar-monster.com/easily_confused/amount_quantity_and_number.htm" , "", 28, 0, 0);
menu[28][6] = new Item("onto, into and up to", "http://www.grammar-monster.com/easily_confused/into_onto_up_to.htm" , "", 28, 0, 0);
menu[28][7] = new Item("past and passed", "http://www.grammar-monster.com/easily_confused/past_passed.htm" , "", 28, 0, 0);
menu[28][8] = new Item("plain and plane", "http://www.grammar-monster.com/easily_confused/plain_plane.htm" , "", 28, 0, 0);
menu[28][9] = new Item("pore, pour and poor", "http://www.grammar-monster.com/easily_confused/pore_pour_poor.htm" , "", 28, 0, 0);
menu[28][10] = new Item("practice and practise", "http://www.grammar-monster.com/easily_confused/practice_practise.htm" , "", 28, 0, 0);
menu[28][11] = new Item("precedence and precedent", "http://www.grammar-monster.com/easily_confused/precedence_precedent.htm" , "", 28, 0, 0);
menu[28][12] = new Item("principal and principle", "http://www.grammar-monster.com/easily_confused/principal_principle.htm" , "", 28, 0, 0);
menu[28][13] = new Item("precede and proceed", "http://www.grammar-monster.com/easily_confused/precede_proceed.htm" , "", 28, 0, 0);
menu[28][14] = new Item("prophecy and prophesy", "http://www.grammar-monster.com/easily_confused/prophecy_prophesy.htm" , "", 28, 0, 0);
menu[28][15] = new Item("proscribe and prescribe", "http://www.grammar-monster.com/easily_confused/prescribe_proscribe.htm" , "", 28, 0, 0);
menu[28][16] = new Item("provided and providing", "http://www.grammar-monster.com/easily_confused/provided_providing.htm" , "", 28, 0, 0);
menu[28][17] = new Item("quantity, amount and number", "http://www.grammar-monster.com/easily_confused/amount_quantity_and_number.htm" , "", 28, 0, 0);




// SUB-SUB MENU  easily confused R-T
menu[29] = new Array();
menu[29][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[29][1] = new Item("raise, rise and raze", "http://www.grammar-monster.com/easily_confused/raise_rise_raze.htm" , "", 28, 0, 0);
menu[29][2] = new Item("role and roll", "http://www.grammar-monster.com/easily_confused/role_roll.htm" , "", 28, 0, 0);
menu[29][3] = new Item("site, cite and sight", "http://www.grammar-monster.com/easily_confused/cite_sight_site.htm" , "", 28, 0, 0);
menu[29][4] = new Item("stationary and stationery", "http://www.grammar-monster.com/easily_confused/stationary_stationery.htm" , "", 28, 0, 0);
menu[29][5] = new Item("sensor, censor and censure", "http://www.grammar-monster.com/easily_confused/censor_sensor_censure.htm" , "", 28, 0, 0);
menu[29][6] = new Item("story and storey", "http://www.grammar-monster.com/easily_confused/storey_story.htm" , "", 28, 0, 0);
menu[29][7] = new Item("that, which and who", "http://www.grammar-monster.com/easily_confused/that_which_who.htm" , "", 28, 0, 0);
menu[29][8] = new Item("their, there and they're", "http://www.grammar-monster.com/easily_confused/there_their_theyre.htm" , "", 28, 0, 0);
menu[29][9] = new Item("then and than", "http://www.grammar-monster.com/easily_confused/than_then.htm" , "", 28, 0, 0);
menu[29][10] = new Item("too or to", "http://www.grammar-monster.com/easily_confused/too_to.htm" , "", 28, 0, 0);



// SUB-SUB MENU  easily confused U-V
menu[30] = new Array();
menu[30][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[30][1] = new Item("up to, into and onto", "http://www.grammar-monster.com/easily_confused/into_onto_up_to.htm" , "", 28, 0, 0);
menu[30][2] = new Item("uninterested and disinterested", "http://www.grammar-monster.com/easily_confused/disinterested_uninterested.htm" , "", 28, 0, 0);
menu[30][3] = new Item("vain, vein and vane", "http://www.grammar-monster.com/easily_confused/vain_vein_vane.htm" , "", 28, 0, 0);



// SUB-SUB MENU  easily confused W-Z
menu[31] = new Array();
menu[31][0] = new Menu(true, '<img src=http://www.grammar-monster.com/images/pointright.gif>', 146, 0, 250, '#FF0001', '#CC2222', 'crazyBorder', 'crazyText');
menu[31][1] = new Item("waist and waste", "http://www.grammar-monster.com/easily_confused/waist_waste.htm" , "", 28, 0, 0);
menu[31][2] = new Item("weather, whether and wether", "http://www.grammar-monster.com/easily_confused/weather_whether_wether.htm" , "", 28, 0, 0);
menu[31][3] = new Item("whether or if", "http://www.grammar-monster.com/easily_confused/if_and_whether.htm" , "", 28, 0, 0);
menu[31][4] = new Item("which, who and that", "http://www.grammar-monster.com/easily_confused/that_which_who.htm" , "", 28, 0, 0);
menu[31][5] = new Item("who or whom", "http://www.grammar-monster.com/lessons/who_whom.htm" , "", 28, 0, 0);
menu[31][6] = new Item("who's and whose", "http://www.grammar-monster.com/easily_confused/whos_whose.htm" , "", 28, 0, 0);
menu[31][7] = new Item("you're and your", "http://www.grammar-monster.com/easily_confused/youre_your.htm" , "", 28, 0, 0);

















// *** OPTIONAL CODE FROM HERE DOWN ***
// These two lines handle the window resize bug in NS4. See <body onResize="...">.
// I recommend you leave this here as otherwise when you resize NS4's width menus are hidden.
var popOldWidth = window.innerWidth;
nsResizeHandler = new Function('if (popOldWidth != window.innerWidth) location.reload()');

// This is a quick snippet that captures all clicks on the document and hides the menus
// every time you click. Use if you want.
if (isNS4) document.captureEvents(Event.CLICK);
document.onclick = clickHandle;

function clickHandle(evt)
{
 if (isNS4) document.routeEvent(evt);
 hideAllBut(0);
}

// This is just the moving command for the example.
function moveRoot()
{
 with(menu[0][0].ref) left = ((parseInt(left) < 100) ? 100 : 5);
}
//  End -->


// WhiteSmoke ads


function banner1(a){

if (a==0) {

document.getElementById('ban1').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1200 height=110 frameborder=0 src='http://www.grammar-monster.com/scripts/googlebar.htm'></IFRAME></td></tr></table>";

document.getElementById('ban4').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1035 height=125 frameborder=0 src='http://www.grammar-monster.com/scripts/gmbar.htm'></IFRAME></td></tr></table>";}

if (a==1) {

document.getElementById('ban4').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1035 height=110 frameborder=0 src='http://www.grammar-monster.com/scripts/googlebar1.htm'></IFRAME></td></tr></table>";

document.getElementById('ban1').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1200 height=125 frameborder=0 src='http://www.grammar-monster.com/scripts/gmbar1.htm'></IFRAME></td></tr></table>";}

if (a==2) {

document.getElementById('ban1').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1200 height=125 frameborder=0 src='http://www.grammar-monster.com/scripts/gmbar1.htm'></IFRAME></td></tr></table>";

document.getElementById('ban4').innerHTML="<br><table border=0 nowrap cellpadding=0 cellspacing=0><tr><td height=1 width=1><IFRAME width=1035 height=1 frameborder=0></IFRAME></td></tr></table>";}

}


function showbutton(a){


var wstr = ""

if (a==1){wstr = "Follow us on <b>Twitter</b>"}
if (a==2){wstr = "Use our gadget on <b>iGoogle</b>"}
if (a==3){wstr = "Follow us on <b>Facebook</b>"}
if (a==4){wstr = "<b>Ask</b> a grammar question"}
if (a==5){wstr = "<b>Search</b> this site"}
if (a==6){wstr = "&nbsp;"}

document.getElementById('ban3').innerHTML = wstr

}





