//  examples2.0.js
//  JavaScript functions for TEI Guidelines
//  created 2000-07-14 Peter C. Gorman
//  last modified 2005-11-16 Peter C. Gorman


var correct = 0;
var incorrect = 0;
var response = "";
var iresponse = "";
	
function stopError() {

	var bName = navigator.appName;
	var bAppVer = navigator.appVersion;
	var bVer = parseFloat(navigator.appVersion);

	theBrowser = bName + " " + bVer;

	alert('Your Browser (' + theBrowser + ') does not support some of the JavaScript features used in these examples. As a result, you may not be able to view the examples.');

	return true;
}

//window.onerror = stopError;

function GetS1Text(xmpl) {

	var theText = "";
	
	if (xmpl == '1a') {
		theText = '<p>Here\'s where you\'ll see an example. The important parts will <span class="showoff">look like this</span>.</p>';
	}

	return theText;

}

function GetS2Text(xmpl) {

	var theText = "";
	
	if (xmpl == '2a0') {
		theText = '<pre><span class="showoff">&lt;!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD TEI Lite 1.6//EN" </span>[\n' +
			'&lt;!ENTITY % figureEntities	SYSTEM "WI.WAR00420001.ent"&gt;\n' +
			'%figureEntities;]&gt;\n&lt;TEI.2&gt;\n';
	}
	else if (xmpl == '2a1') {
		theText = '<pre>    ...\n\n&lt;body&gt;\n&lt;pb n="13"&gt;\n&lt;head&gt;THE FAMINE IN IRELAND.&lt;/head&gt;\n' +
			'<span class="showoff">&lt;div1 n="1" type="Chapter"&gt;</span>\n\n    ...\n\n<span class="showoff">&lt;/div1&gt;</span></pre>';
	}
	else if (xmpl == '2a2') {
		theText = '<p><img src="examples/div0.gif" alt="div0 example" width="620" height="409" border="0"></p>\n' +
			'<pre>\n<span class="showoff">&lt;div0 type="Part" n="I"&gt;</span>\n  &lt;pb n="1"&gt;\n' +
			'  &lt;head&gt;PART I.&lt;/head&gt;\n' +
			'  &lt;head&gt;THE DEVELOPMENT AND PRESENT STATE OF THE HOUSING PROBLEM OF ENGLAND.&lt;/head&gt;\n  &lt;pb n="2"&gt;\n' +
			'  <span class="showoff">&lt;div1 type="Chapter" n="I"&gt;</span>\n  &lt;pb n="3"&gt;\n' +
			'    &lt;head&gt;CHAPTER I.&lt;/head&gt;\n' +
			'    &lt;head&gt;THE ENGLISH HOUSING PROBLEM AND ITS DEVELOPMENT.&lt;/head&gt;\n' +
			'    &lt;p&gt;In 1750, just prior ...&lt;/p&gt;\n    ...\n  <span class="showoff">&lt;/div1&gt;</span>\n<span class="showoff">&lt;/div0&gt;</span>\n</pre>';
	}
	else if (xmpl == '2b') {
		theText = '<pre>\n&lt;div1 type="Contents" id="MC.contents"&gt;\n<span class="showoff">&lt;pb n="7"&gt;</span>\n\n    ...\n\n' +
			'<span class="showoff">&lt;pb n="8"&gt;</span>\n&lt;/div1&gt;\n\n&lt;div1 type="Contents" id="MC.illus"&gt;\n<span class="showoff">&lt;pb n="9"&gt;</span>\n' +
			'    &lt;head&gt;ILLUSTRATIONS&lt;/head&gt;\n\n    ...\n\n' +
			'<span class="showoff">&lt;pb n="12"&gt;</span>\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '2c') {
		theText = '<pre>\n&lt;list type="simple"&gt;\n    &lt;item&gt;Buildings must have a minimum intervening space of ' +
			'3 metres.<span class="showoff">&lt;/item&gt;</span>\n    &lt;item&gt;Maximum height 18 metres.<span ' +
			'class="showoff">&lt;/item&gt;</span>\n    &lt;item&gt;Maximum number of stories 3, above the ground ' +
			'floor.<span class="showoff">&lt;/item&gt;</span>\n    &lt;item&gt;Building in groups is permitted ' +
			'under certain regulations.<span class="showoff">&lt;/item&gt;</span>\n&lt;/list&gt;\n</pre>';
	}

	return theText;

}

function GetS3Text(xmpl) {

	var theText = "";
	
	if (xmpl == '3a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/transcribe.gif" alt="" width="313" height="269" border="0"></p>\n' +
			'<p><em>Transcription:</em></p>\n' +
			'<pre>\nANNALS\n\nOF THE\n\nFAMINE IN IRELAND\n\nIN 1847, 1848, AND 1849\n</pre>';
	}
	else if (xmpl == '3b1') {
		theText = '<p><em>Source:</em></p><p></p><img src="examples/charents.gif" alt="" width="559" height="109" border="0">\n' +
			'<p><em>Wrong:</em></p>\n<pre>\n&lt;p&gt;... In the middle of this front elevation is the main door of the\n' +
			'    farmstead, giving access to the front hall (b<span class="showoff">&amp;#230;</span>jardyr) and,\n    behind it, the central axial passageway (b<span class="showoff">&amp;#230;</span>jarg<span class="showoff">&amp;#246;</span>ng)\n' +
			'    leading to the back of the complex. The artist has taken pains to show\n    the wooden panelling (timbur<span class="showoff">&amp;#254;</span>il) of the three fa<span class="showoff">&amp;#231;</span>ades,\n' +
			'    as well as the decorative finials (vindskei<span class="showoff">&amp;#240;</span>ar) and weather-vanes\n    (vindhanar) that crown the gables....&lt;/p&gt;\n</pre>\n' +
			'<p><em>Avoid:</em></p>\n<pre>\n&lt;p&gt;... In the middle of this front elevation is the main door of the\n    farmstead, giving access to the front hall (b<span class="showoff">&amp;aelig;</span>jardyr) and,\n' +
			'    behind it, the central axial passageway (b<span class="showoff">&amp;aelig;</span>jarg<span class="showoff">&amp;ouml;</span>ng)\n    leading to the back of the complex. The artist has taken pains to show\n' +
			'    the wooden panelling (timbur<span class="showoff">&amp;thorn;</span>il) of the three fa<span class="showoff">&amp;ccedil;</span>ades,\n' +
			'    as well as the decorative finials (vindskei<span class="showoff">&amp;eth;</span>ar) and weather-vanes\n    (vindhanar) that crown the gables....&lt;/p&gt;\n</pre>' +
			'<p><em>Right:</em></p>\n<pre>\n&lt;p&gt;... In the middle of this front elevation is the main door of the\n' +
			'    farmstead, giving access to the front hall (b<span class="showoff">æ</span>jardyr) and,\n    behind it, the central axial passageway (b<span class="showoff">æ</span>jarg<span class="showoff">ö</span>ng)\n' +
			'    leading to the back of the complex. The artist has taken pains to show\n    the wooden panelling (timbur<span class="showoff">þ</span>il) of the three fa<span class="showoff">ç</span>ades,\n' +
			'    as well as the decorative finials (vindskei<span class="showoff">ð</span>ar) and weather-vanes\n    (vindhanar) that crown the gables....&lt;/p&gt;\n</pre>\n';
	}
	else if (xmpl == '3b2') {
		theText = '<p><em>Source\:</em></p>\n' +
			'<p><img src="examples/grkcharents.gif" alt="" width="426" height="78" border="0"></p>\n' +
			'<p><em>Transcription\:</em></p>\n' +
			'<pre>\nThe "countless varied bodies" ("hinir &amp;oacute;teljandi og margbreyttu\n' +
			'l&amp;iacute;kamir") are the embodiment (<span class="showoff">&amp;sgr;&amp;ohacugr;&amp;mgr;&amp;agr;&amp;tgr;&amp;agr;</span>),\n' +
			'in the matrix of "matter", of Plato\'s ideal model...\n</pre>\n';
	}
	else if (xmpl == '3c1') {
		theText = '<p><em>Source:</em></p>\n<pre>\n[...]\nles dice<span class="showoff">:</span> <span class="showoff">&laquo;</span>No es Deidad nueva<span class="showoff">,</span>\n' +
			'sino la no conocida\nque ador&aacute;is en este altar<span class="showoff">,</span>\nla que mi voz os publica<span class="showoff">.&raquo;</span>\n' +
			'As&iacute<span class="showoff">;</span> yo<span class="showoff">...</span> <span class="showoff">&iexcl;</span>Occidente<span class="showoff">,</span> escucha<span class="showoff">;</span>\n' +
			'oye<span class="showoff">,</span> ciega Idolatr&iacute;a<span class="showoff">,</span>\npues en escuchar mis voces\nconsisten todas tus dichas<span class="showoff">!</span>\n</pre>' +
			'<p><em>Transcription:</em></p>\n<pre>\n[...]\nles dice<span class="showoff">:</span> <span class="showoff">&amp;laquo;</span>No es Deidad nueva<span class="showoff">,</span>\n' +
			'sino la no conocida\nque ador&aacute;is en este altar<span class="showoff">,</span>\nla que mi voz os publica<span class="showoff">.&amp;raquo;</span>\n' +
			'As&iacute<span class="showoff">;</span> yo<span class="showoff">...</span> <span class="showoff">&amp;iexcl;</span>Occidente<span class="showoff">,</span> escucha<span class="showoff">;</span>\n' +
			'oye<span class="showoff">,</span> ciega Idolatr&iacute;a<span class="showoff">,</span>\npues en escuchar mis voces\nconsisten todas tus dichas<span class="showoff">!</span>\n</pre>\n';
	}
	else if (xmpl == '3c2') {
		theText = '<p><em>Using ASCII:</em></p>\n<pre>\n&lt;p&gt;<span class="showoff">"</span>By dad,<span class="showoff">"</span> exclaimed one as he passed it,\n' +
			'<span class="showoff">"</span>and there<span class="showoff">\'</span>s the cratur that<span class="showoff">\'</span>ll du the heart good;\n' +
			'not a ha<span class="showoff">\'</span>porth of the blackguards will be fightin<span class="showoff">\'</span> for\n' +
			'the <span class="showoff">\'</span>yaller Indian<span class="showoff">\'</span> when that<span class="showoff">\'</span>s in the stomach.<span class="showoff">"</span>&lt;/p&gt;\n' +
			'</pre>\n<p><em>Using character entities:</em></p>\n<pre>\n' +
			'&lt;p&gt;<span class="showoff">&amp;ldquo;</span>By dad,<span class="showoff">&amp;rdquo;</span> exclaimed one as he passed it,\n' +
			'<span class="showoff">&amp;ldquo;</span>and there<span class="showoff">&amp;apos;</span>s the cratur that<span class="showoff">&amp;apos;</span>ll du the heart good;\n' +
			'not a ha<span class="showoff">&amp;apos;</span>porth of the blackguards will be fightin<span class="showoff">&amp;apos;</span> for\n' +
			'the <span class="showoff">&amp;lsquo;</span>yaller Indian<span class="showoff">&amp;rsquo;</span> when that<span class="showoff">&amp;apos;</span>s in the stomach.<span class="showoff">&amp;rdquo;</span>&lt;/p&gt;\n</pre>\n';
	}
	else if (xmpl == '3d') {
		theText = '<p><em>Source\:</em></p>\n<p><img src="examples/emdash.gif" alt="emdash example" width="351" height="161" border="0"></p>\n' +
			'<p><em>Transcription\:</em></p>\n<pre>\n"One remark before I conclude. I refer your noble Excellency for the\n' +
			'authenticity of the above statement to the Rev. H. O\'F<span class="showoff">&amp;mdash;&amp;mdash;</span>, Parish\n' +
			'Priest, and to Mr. R<span class="showoff">&amp;mdash;&amp;mdash;</span>, Chief Constable, stationed at Gweedore,\n' +
			'in said parish, and Mr. P<span class="showoff">&amp;mdash;&amp;mdash;</span>, Chief Officer of Coast Guard,\nin same district. ...\n</pre>';
	}
	else if (xmpl == '3e1') {
		theText = '<p><em>Source:</em></p>\n' +
			'<p><img src="examples/hyphens.gif" alt="" width="460" height="124" border="0"></p>\n' +
			'<p><em>Transcription:</em></p>\n' +
			'<pre>\n... In a central situation, on a fine hill, <span class="showoff">seventy-five</span> feet above Lake Monona,\n' +
			'but not <span class="showoff">fronting</span> on either lake, the Capitol Park of about thirteen acres\n' +
			'was located with broad avenues eight rods wide running from its center and\n' +
			'narrower ones radiating from its corners. ...\n</pre>\n';
	}
	else if (xmpl == '3e2') {
		theText = '<p><img src="examples/hyphenkeep2.gif" alt="hyphen example" width="365" height="72" border="0"></p>\n' +
			'<pre>\n&lt;p&gt;... and attractive sites round about for a number of important\n' +
			'    public and <span class="showoff">&lt;!-- normally hyphenated --&gt; <strong>semi-public</strong></span> buildings....&lt;/p&gt;\n</pre>\n' +
			'<br>\n<p><img src="examples/hyphenkeep1.gif" alt="hyphen example" width="366" height="66" border="0"></p>\n' +
			'<pre>\n&lt;p&gt;... might, perhaps, be most profitably used for\n' +
			'    <span class="showoff">&lt;!-- so we keep the hyphen here --&gt; <strong>semi-public</strong></span> purposes...&lt;/p&gt;\n</pre>';
	}

	return theText;

}

function GetS4Text(xmpl) {

	var theText = "";
	
	if (xmpl == '4b') {
		theText = '<pre>\n&lt;titleStmt&gt;\n' +
			'    &lt;title type="245" level="m"&gt;Madison: a model city : electronic text&lt;/title&gt;\n' +
			'    &lt;author id="MC.au"&gt;<span class="showoff">Nolen, John, 1869-1937</span>&lt;/author&gt;\n' +
			'    &lt;principal&gt;<span class="showoff">Gorman, Peter C.</span>&lt;/principal&gt;\n\n    ...\n\n</pre>\n';
	}
	else if (xmpl == '4.1a') {
		theText = '<pre>\n&lt;titleStmt&gt;\n' +
			'    <span class="showoff">&lt;title type="245" level="m"&gt;</span>Madison: a model city : electronic text&lt;/title&gt;\n' +
			'    &lt;author id="MC.au"&gt;Nolen, John, 1869-1937&lt;/author&gt;\n\n    ...\n\n</pre>\n';
	}
	else if (xmpl == '4.1.1a1') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;<span class="showoff">Madison : a model city</span> : electronic text&lt;/title&gt;\n' +
			'    &lt;/titleStmt&gt;\n    ...\n    &lt;sourceDesc&gt;\n        ...\n        &lt;titleStmt&gt;\n' +
			'            &lt;title type="245" level="m"&gt;<span class="showoff">Madison : a model city</span>&lt;/title&gt;\n            ...\n' +
			'        &lt;/titleStmt&gt;\n        ...\n    &lt;/sourceDesc&gt;\n&lt;/fileDesc&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.1a2') {
		theText = '<pre>\n&lt;FILEDESC&gt;\n    &lt;TITLESTMT&gt;\n' +
			'        &lt;TITLE TYPE="245" LEVEL="a"&gt;<span class="showoff">LOA PARA EL AUTO SACRAMENTAL DE "EL Divino Narciso"</span> : electronic text&lt;/TITLE&gt;\n' +
			'        ...\n    &lt;/TITLESTMT&gt;\n    ...\n    &lt;SOURCEDESC&gt;\n        ...\n        &lt;TITLESTMT&gt;\n' +
			'             &lt;TITLE TYPE="245" LEVEL="m"&gt;<span class="showoff">Obras completas de Sor Juana In&eacute;s de la Cruz, III</span>&lt;/TITLE&gt;\n' +
			'             ...\n        &lt;/TITLESTMT&gt;\n        ...\n    &lt;/SOURCEDESC&gt;\n&lt;/FILEDESC&gt;\n</pre>';
	}
	else if (xmpl == '4.1.1a3') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Madison : a model city <span class="showoff">: electronic text</span>&lt;/title&gt;\n' +
			'    &lt;/titleStmt&gt;\n    ...\n    &lt;sourceDesc&gt;\n        ...\n        &lt;titleStmt&gt;\n' +
			'            &lt;title type="245" level="m"&gt;Madison : a model city&lt;/title&gt;\n            ...\n' +
			'        &lt;/titleStmt&gt;\n        ...\n    &lt;/sourceDesc&gt;\n&lt;/fileDesc&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.1a4') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" <span class="showoff">level="m"</span>&gt;Madison : a model city : electronic text&lt;/title&gt;\n' +
			'    &lt;/titleStmt&gt;\n    ...\n</pre>' +
			'<br><br><br>\n<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" <span class="showoff">level="j"</span>&gt;Wisconsin academy review: electronic text&lt;/title&gt;\n' +
			'        ...\n    &lt;/titleStmt&gt;\n    ...\n';
	}
	else if (xmpl == '4.1.1a5') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m" <span class="showoff">rend="nfc:4"</span>&gt;The homes of the New world; impressions of America : electronic text&lt;/title&gt;\n' +
			'    &lt;/titleStmt&gt;\n    ...\n</pre>' +
			'<br>\n<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="j"&gt;Wisconsin academy review: electronic text&lt;/title&gt;\n' +
			'        ...\n    &lt;/titleStmt&gt;\n    ...\n' +
			'<br><strong>[Or]</strong><br>\n<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="j" <span class="showoff">rend="nfc:0"</span>&gt;Wisconsin academy review: electronic text&lt;/title&gt;\n' +
			'        ...\n    &lt;/titleStmt&gt;\n    ...\n';
	}
	else if (xmpl == '4.1.1b') {
		theText = '<p><em>Catalog record:</em></p>\n' +
			'<pre>\n035    (OCoLC)02693382\n035    $9 ABA7763UW\n040    DLC $c AZU $d AZU $d OCL $d SER $d WIH\n041 1  eng $h swe\n050 0  E166 $b .B84\n100 10 Bremer, Fredrika, $d 1801-1865.\n' +
			'245 14 <span class="showoff">The homes of the New world; $b impressions of America.</span> $c By \n       Frederika Bremer. Tr. by Mary Howitt ...\n' +
			'260 0  New York, $b Harper & Brothers, $c 1853.\n300    2 v. $c 20 cm.\n' +
			'651  0 Cuba $x Description and travel.\n651  0 United States $x Description and travel $y 1848-1865.\n' +
			'651  0 United States $x Social life and customs.\n700 10 Howitt, Mary Botham, $d 1799-1888,\n' +
			'740 01 <span class="showoff">Hemmen i den Nya verlden.</span>\n710 2  Cairns Collection of American Women Writers.\n</pre>' +
			'<p><em>Header:</em></p>\n' +
			'<pre>\n&lt;fileDesc&gt;\n&lt;titleStmt&gt;\n' +
			'    <span class="showoff">&lt;title type="245" level="m" rend="nfc:4"&gt;The homes of the New world; impressions of America : electronic text&lt;/title&gt;</span>\n' +
			'    <span class="showoff">&lt;title type="740" level="m"&gt;Hemmen i den Nya verlden&lt;/title&gt;</span>\n' +
			'    ...\n&lt;/titleStmt&gt;\n...\n&lt;sourceDesc&gt;\n    &lt;biblFull&gt;\n        &lt;titleStmt&gt;\n' +
			'            <span class="showoff">&lt;title type="245" level="m" rend="nfc:4"&gt;The homes of the New world; impressions of America&lt;/title&gt;</span>\n' +
			'            <span class="showoff">&lt;title type="740" level="m"&gt;Hemmen i den Nya verlden&lt;/title&gt;</span>\n' +
			'            ...\n        &lt;/titleStmt&gt;\n        ...\n    &lt;/biblFull&gt;\n&lt;/sourceDesc&gt;\n&lt;/fileDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.1.1c') {
		theText = '<pre>\n<span class="showoff">&lt;author&gt;</span>Nicholson, Mrs. A. (Asenath)<span class="showoff">&lt;/author&gt;</span>\n</pre>';
	}
	else if (xmpl == '4.1.1d') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Annals of the famine in Ireland, in 1847, 1848, and 1849 : electronic text&lt;/title&gt;\n' +
			'        <span class="showoff">&lt;author&gt;Nicholson, Mrs. A. (Asenath)&lt;/author&gt;</span>\n' +
			'        ...\n    &lt;/titleStmt&gt;\n    ...\n    &lt;sourceDesc&gt;\n        &lt;biblFull&gt;\n' +
			'            &lt;titleStmt&gt;\n                &lt;title type="245" level="m"&gt;Annals of the famine in Ireland, in 1847, 1848, and 1849&lt;/title&gt;\n' +
			'                <span class="showoff">&lt;author&gt;Nicholson, Mrs. A. (Asenath)&lt;/author&gt;</span>\n' +
			'            &lt;/titleStmt&gt;\n         ...\n    &lt;/sourceDesc&gt;\n&lt;/fileDesc&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.1e') {
		theText = '<pre>\n<span class="showoff">&lt;author&gt;J&oacute;nas Hallgr&iacute;msson, 1807-1845&lt;/author&gt;\n' +
			'&lt;principal&gt;Ringler, Richard N.&lt;/principal&gt;\n&lt;editor&gt;Ringler, Richard N.&lt;/editor&gt;\n' +
			'&lt;respStmt&gt;\n    &lt;resp&gt;Translator&lt;/resp&gt;\n    &lt;name&gt;Ringler, Richard N.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;\n&lt;respStmt&gt;\n    &lt;resp&gt;TEI Markup&lt;/resp&gt;\n    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;</span>\n&lt;respStmt&gt;\n    &lt;resp&gt;Technical advisor&lt;/resp&gt;\n' +
			'    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n&lt;/respStmt&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.1f') {
		theText = '<pre>\n&lt;author&gt;J&oacute;nas Hallgr&iacute;msson, 1807-1845&lt;/author&gt;\n&lt;principal&gt;Ringler, Richard N.&lt;/principal&gt;\n' +
			'&lt;editor&gt;Ringler, Richard N.&lt;/editor&gt;\n&lt;respStmt&gt;\n    &lt;resp&gt;Translator&lt;/resp&gt;\n' +
			'    &lt;name&gt;Ringler, Richard N.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;\n&lt;respStmt&gt;\n    &lt;resp&gt;TEI Markup&lt;/resp&gt;\n    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;\n<span class="showoff">&lt;respStmt&gt;\n    &lt;resp&gt;Technical advisor&lt;/resp&gt;\n' +
			'    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n&lt;/respStmt&gt;</span>\n</pre>\n';
	}
	// no example needed for 4.1.1g
	else if (xmpl == '4.1.1h') {
		theText = '<pre>\n&lt;author&gt;J&oacute;nas Hallgr&iacute;msson, 1807-1845&lt;/author&gt;\n' +
			'<span class="showoff">&lt;principal&gt;Ringler, Richard N.&lt;/principal&gt;\n' +
			'&lt;editor&gt;Ringler, Richard N.&lt;/editor&gt;\n&lt;respStmt&gt;\n    &lt;resp&gt;Translator&lt;/resp&gt;\n' +
			'    &lt;name&gt;Ringler, Richard N.&lt;/name&gt;\n&lt;/respStmt&gt;</span>\n&lt;respStmt&gt;\n' +
			'    &lt;resp&gt;TEI Markup&lt;/resp&gt;\n    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n&lt;/respStmt&gt;\n' +
			'&lt;respStmt&gt;\n    &lt;resp&gt;Technical advisor&lt;/resp&gt;\n    &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.1i') {
		theText = '<p><em>Wrong:</em></p>\n<pre>\n&lt;respStmt&gt;\n    &lt;resp&gt;<span class="showoff">Translated by</span>&lt;/resp&gt;\n' +
			'    &lt;name&gt;Ringler, Richard N. <span class="showoff">UW-Madison Dept. of Scandinavian Studies</span>&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;</span>\n</pre>\n<br><p><em>Right:</em></p>\n<pre>\n&lt;respStmt&gt;\n' +
			'    &lt;resp&gt;<span class="showoff">Translator</span>&lt;/resp&gt;\n    &lt;name&gt;Ringler, Richard N.&lt;/name&gt;\n' +
			'&lt;/respStmt&gt;</span>\n</pre>\n';
	}
	else if (xmpl == '4.1.2a') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Madison : a model city : electronic text&lt;/title&gt;\n        ...\n' +
			'    &lt;/titleStmt&gt;\n    <span class="showoff">&lt;editionStmt&gt;\n' +
			'        &lt;edition n="1"&gt;UW-Madison TEI edition&lt;/edition&gt;\n    &lt;/editionStmt&gt;</span>\n</pre>\n';
	}
	else if (xmpl == '4.1.2b') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Madison : a model city : electronic text&lt;/title&gt;\n        ...\n' +
			'        &lt;respStmt&gt;\n            &lt;resp&gt;TEI Markup&lt;/resp&gt;\n' +
			'            &lt;name&gt;Gorman, Peter C.&lt;/name&gt;\n        &lt;/respStmt&gt;\n    &lt;/titleStmt&gt;\n    &lt;editionStmt&gt;\n' +
			'        &lt;edition <span class="showoff">n="2"</span>&gt;Second UW-Madison TEI edition&lt;/edition&gt;\n' +
			'        <span class="showoff">&lt;respStmt&gt;\n            &lt;resp&gt;TEI Markup&lt;/resp&gt;\n' +
			'            &lt;name&gt;Doe, John&lt;/name&gt;\n        &lt;/respStmt&gt;</span>\n    &lt;/editionStmt&gt;\n</pre>\n';
	}
	// no example needed for 4.1.3
	// no example needed for 4.1.4a
	else if (xmpl == '4.1.4b') {
		theText = '<pre>\n&lt;idno <span class="showoff">type="Issue-ID"</span>&gt;<span class="showoff">HistPriSrc.</span>NichoAnnal&lt;/idno&gt;\n</pre>';
	}
	else if (xmpl == '4.1.4c') {
		theText = '<pre>\n&lt;publicationStmt&gt;\n    &lt;publisher&gt;University of Wisconsin-Madison Libraries&lt;/publisher&gt;\n' +
			'    &lt;pubPlace&gt;Madison, Wisconsin&lt;/pubPlace&gt;\n    &lt;idno <span class="showoff">type="Issue-ID"</span>&gt;<span class="showoff">WI.WAR00420001</span>&lt;/idno&gt;\n' +
			'    &lt;idno <span class="showoff">type="Issue-Printed"</span>&gt;<span class="showoff">Volume 42, Issue 1</span>&lt;/idno&gt;\n' +
			'    ...\n&lt;/publicationStmt&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.4d') {
		theText = '<pre>\n&lt;availability&gt;\n    &lt;p&gt;Copyright &amp;copy; 1996-9 Dick Ringler. All rights reserved.&lt;/p&gt;\n' +
			'    &lt;p&gt;All or part of this collection of materials may be freely copied by individuals for personal use, research,\n' +
			'        and teaching (including distribution to classes), provided a copy of this statement is included. The\n' +
			'        materials may be freely linked to on the Internet. For permission to use them in any other circumstances,\n' +
			'        contact the University of Wisconsin-Madison Libraries.&lt;/p&gt;\n' +
			'    &lt;p&gt;TEI source file available at http://www.library.wisc.edu/etext/Jonas/Jonas.sgml&lt;/p&gt;\n' +
			'&lt;/availability&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.4e') {
		theText = '<pre>\n&lt;date value="<span class="showoff">2000-07</span>"&gt;<span class="showoff">July 2000</span>&lt;/date&gt;\n</pre>';
	}
	else if (xmpl == '4.1.5a') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Madison : a model city : electronic text&lt;/title&gt;\n        ...\n' +
			'    &lt;/titleStmt&gt;\n    ...\n    <span class="showoff">&lt;seriesStmt&gt;\n' +
			'        &lt;title type="Collection" level="s" id="History" rend="nfc:4"&gt;The History Collection&lt;/title&gt;\n' +
			'        &lt;title type="Subcollection" level="s" id="History.HistPriSrc"&gt;Historical Primary Sources&lt;/title&gt;\n' +
			'    &lt;/seriesStmt&gt;</span>\n</pre>';
	}
	else if (xmpl == '4.1.6a') {
				theText = '<pre><span class="showoff">&lt;notesStmt&gt;\n' +
			'    &lt;note type="Abstract"&gt;</span>&lt;p&gt;Fredrika Bremer (1801-1865) was a Swedish\n' +
			'        author and suffragist whose books were widely read and translated\n' +
			'        during the nineteenth century. &lt;hi rend="italic"&gt;Homes of the New\n' +
			'        World&lt;/hi&gt; is an insightful account of her American journey in the\n' +
			'        years 1849-1851. She visited much of the United States and Cuba,\n' +
			'        recording what she encountered with a clarity that has made her\n' +
			'        account one of the classic descriptions of America.&lt;/p&gt;<span class="showoff">&lt;/note&gt;\n' +
			'&lt;/notesStmt&gt;</span>\n</pre>';
	}
	else if (xmpl == '4.1.7a') {
		theText = '<p><em>Catalog record:</em></p>\n' +
			'<pre>\n035    (OCoLC)02693382\n035    $9 ABA7763UW\n040    DLC $c AZU $d AZU $d OCL $d SER $d WIH\n041 1  <span class="showoff">eng</span> $h swe\n' +
			'<span class="showoff">050</span> 0  <span class="showoff">E166 $b .B84</span>\n100 10 <span class="showoff">Bremer, Fredrika, $d 1801-1865</span>.\n' +
			'245 1<span class="showoff">4 The homes of the New world; $b impressions of America.</span> $c By \n       Frederika Bremer. <span class="showoff">Tr. by</span> Mary Howitt ...\n' +
			'260 0  <span class="showoff">New York, $b Harper & Brothers, $c 1853.</span>\n300    <span class="showoff">2 v. $c 20 cm.</span>\n' +
			'651  <span class="showoff">0 Cuba $x Description and travel.</span>\n651  <span class="showoff">0 United States $x Description and travel $y 1848-1865.</span>\n' +
			'651  <span class="showoff">0 United States $x Social life and customs.</span>\n700 10 <span class="showoff">Howitt, Mary Botham, $d 1799-1888</span>,\n' +
			'740 01 <span class="showoff">Hemmen i den Nya verlden.</span>\n710 2  Cairns Collection of American Women Writers.\n</pre>' +
			'<p><em>Header:</em></p>\n' +
			'<pre>\n&lt;teiHeader&gt;\n&lt;fileDesc&gt;\n&lt;titleStmt&gt;\n' +
			'    &lt;title type="245" level="m" <span class="showoff">rend="nfc:4"</span>&gt;<span class="showoff">The homes of the New world; impressions of America</span> : electronic text&lt;/title&gt;\n' +
			'    &lt;title type="740" level="m"&gt;<span class="showoff">Hemmen i den Nya verlden</span>&lt;/title&gt;\n    &lt;author&gt;<span class="showoff">Bremer, Fredrika, 1801-1865</span>&lt;/author&gt;\n' +
			'    ...\n&lt;/titleStmt&gt;\n...\n&lt;sourceDesc&gt;\n    &lt;biblFull&gt;\n        &lt;titleStmt&gt;\n' +
			'            &lt;title type="245" level="m" <span class="showoff">rend="nfc:4"</span>&gt;<span class="showoff">The homes of the New world; impressions of America</span>&lt;/title&gt;\n' +
			'            &lt;title type="740" level="m"&gt;<span class="showoff">Hemmen i den Nya verlden</span>&lt;/title&gt;\n            &lt;author&gt;<span class="showoff">Bremer, Frederika, 1801-1865</span>&lt;/author&gt;\n' +
			'            &lt;respStmt&gt;\n                &lt;resp&gt;<span class="showoff">Translator</span>&lt;/resp&gt;\n' +
			'                &lt;name&gt;<span class="showoff">Howitt, Mary Botham, 1799-1888</span>&lt;/name&gt;\n            &lt;/respStmt&gt;\n' +
			'        &lt;/titleStmt&gt;\n        &lt;extent&gt;<span class="showoff">2 v. 20 cm.</span>&lt;/extent&gt;\n        &lt;publicationStmt&gt;\n' +
			'            &lt;publisher&gt;<span class="showoff">Harper &amp; Brothers</span>&lt;/publisher&gt;\n            &lt;pubPlace&gt;<span class="showoff">New York</span>&lt;/pubPlace&gt;\n' +
			'            &lt;date&gt;<span class="showoff">1853</span>&lt;/date&gt;\n            ...\n        &lt;/publicationStmt&gt;\n    &lt;/biblFull&gt;\n' +
			'&lt;/sourceDesc&gt;\n&lt;/fileDesc&gt;\n&lt;encodingDesc&gt;\n    ...\n    &lt;classDecl&gt;\n        &lt;taxonomy id="LCSH"&gt;\n' +
			'            &lt;bibl&gt;Library of Congress Subject Headings&lt;/bibl&gt;\n        &lt;/taxonomy&gt;\n        &lt;taxonomy id="LCC"&gt;\n' +
			'            &lt;bibl&gt;Library of Congress Classification&lt;/bibl&gt;\n        &lt;/taxonomy&gt;\n    &lt;/classDecl&gt;\n&lt;/encodingDesc&gt;\n&lt;profileDesc&gt;\n' +
			'    &lt;langUsage&gt;\n        &lt;p&gt;<span class="showoff">Text in English.</span>&lt;/p&gt;\n    &lt;/langUsage&gt;\n    &lt;textClass&gt;\n        &lt;keywords <span class="showoff">scheme="LCSH"</span>&gt;\n' +
			'            &lt;term&gt;<span class="showoff">Cuba--Description and travel</span>&lt;/term&gt;\n            &lt;term&gt;<span class="showoff">United States--Description and travel--1848-1865</span>&lt;/term&gt;\n' +
			'            &lt;term&gt;<span class="showoff">United States--Social life and customs</span>&lt;/term&gt;\n        &lt;/keywords&gt;\n' +
			'        &lt;classCode <span class="showoff">scheme="LCC"</span>&gt;<span class="showoff">E166 .B84</span>&lt;/classCode&gt;\n    &lt;/textClass&gt;\n&lt;/profileDesc&gt;\n    ...\n&lt;/teiHeader&gt;\n</pre>';
	}
	else if (xmpl == '4.1.7b') {
		theText = '<pre>\n&lt;sourceDesc&gt;\n    <span class="showoff">&lt;biblFull&gt;</span>\n        &lt;titleStmt&gt;\n' +
			'            &lt;title type="245" level="m"&gt;Annals of the famine in Ireland, in 1847, 1848, and 1849.&lt;/title&gt;\n' +
			'            &lt;author&gt;Nicholson, Mrs. A. (Asenath)&lt;/author&gt;\n        &lt;/titleStmt&gt;\n' +
			'        &lt;extent&gt;336 p.&lt;/extent&gt;\n        &lt;publicationStmt&gt;\n            &lt;publisher&gt;E. French&lt;/publisher&gt;\n' +
			'            &lt;pubPlace&gt;New York&lt;/pubPlace&gt;\n            &lt;date&gt;1851&lt;/date&gt;\n' +
			'        &lt;/publicationStmt&gt;\n        ...\n    <span class="showoff">&lt;/biblFull&gt;</span>\n&lt;/sourceDesc&gt;\n</pre>\n';
	}
	else if (xmpl == '4.1.7c') {
		theText = '<pre>\n&lt;fileDesc&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Selected Poetry and Prose [computer file]&lt;/title&gt;\n' +
			'        ...\n    &lt;/titleStmt&gt;\n    ...\n    <span class="showoff">&lt;sourceDesc&gt;\n' +
			'        &lt;p&gt;Created in electronic form; no other source.&lt;/p&gt;\n    &lt;/sourceDesc&gt;</span>\n</pre>';
	}
	else if (xmpl == '4.1.7d') {
		theText = '<p><em>Catalog record:</em></p>\n' +
			'<pre>\n035    (OCoLC)02693382\n035    $9 ABA7763UW\n040    DLC $c AZU $d AZU $d OCL $d SER $d WIH\n041 1  eng $h swe\n050 0  E166 $b .B84\n100 10 Bremer, Fredrika, $d 1801-1865.\n' +
			'<span class="showoff">245</span> 14 <span class="showoff">The homes of the New world; $b impressions of America.</span> $c By \n       Frederika Bremer. Tr. by Mary Howitt ...\n' +
			'260 0  New York, $b Harper & Brothers, $c 1853.\n300    2 v. $c 20 cm.\n' +
			'651  0 Cuba $x Description and travel.\n651  0 United States $x Description and travel $y 1848-1865.\n' +
			'651  0 United States $x Social life and customs.\n700 10 Howitt, Mary Botham, $d 1799-1888,\n' +
			'<span class="showoff">740</span> 01 <span class="showoff">Hemmen i den Nya verlden.</span>\n710 2  Cairns Collection of American Women Writers.\n</pre>' +
			'<p><em>Header:</em></p>\n' +
			'<pre>\n&lt;sourceDesc&gt;\n    &lt;biblFull&gt;\n        &lt;titleStmt&gt;\n' +
			'            &lt;title type="<span class="showoff">245</span>" level="m" rend="nfc:4"&gt;<span class="showoff">The homes of the New world; impressions of America</span>&lt;/title&gt;\n' +
			'            &lt;title type="<span class="showoff">740</span>" level="m"&gt;<span class="showoff">Hemmen i den Nya verlden</span>&lt;/title&gt;\n            ...\n' +
			'        &lt;/titleStmt&gt;\n        ...\n    &lt;/biblFull&gt;\n&lt;/sourceDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.1.7e') {
		theText = '<pre>\n&lt;SOURCEDESC&gt;\n    ...\n    &lt;TITLESTMT&gt;\n' +
			'        &lt;TITLE TYPE="245" LEVEL="m"&gt;Obras completas de Sor Juana In&eacute;s de la Cruz, III&lt;/TITLE&gt;\n' +
			'        &lt;AUTHOR&gt;Juana In&eacute;s de la Cruz&lt;/AUTHOR&gt;\n        ...\n    &lt;/TITLESTMT&gt;\n' +
			'    <span class="showoff">&lt;EDITIONSTMT&gt;\n        &lt;EDITION&gt;1 ed.&lt;/EDITION&gt;\n    &lt;/EDITIONSTMT&gt;</span>\n    ...\n' +
			'    &lt;PUBLICATIONSTMT&gt;\n' +
			'        &lt;PUBLISHER&gt;Fondo de Cultura Económica&lt;/PUBLISHER&gt;\n' +
			'        &lt;PUBPLACE&gt;México&lt;/PUBPLACE&gt;\n' +
			'        &lt;DATE value="1955"&gt;1955&lt;/DATE&gt;\n' +
			'        &lt;IDNO TYPE="Issue-Printed"&gt;27&lt;/IDNO&gt;\n' +
			'    &lt;/PUBLICATIONSTMT&gt;\n' +
			'    <span class="showoff">&lt;SERIESSTMT&gt;\n        &lt;TITLE TYPE="440" LEVEL="s" ID="IbrAmerTxt.BASLC"&gt;Biblioteca Americana. Serie de Literatura Colonial&lt;/TITLE&gt;\n' +
			'    &lt;/SERIESSTMT&gt;</span>\n    ...\n&lt;/SOURCEDESC&gt;\n</pre>';
	}
	else if (xmpl == '4.1.7f') {
		theText = '<pre>\n&lt;SOURCEDESC&gt;\n    ...\n    &lt;TITLESTMT&gt;\n' +
			'        &lt;TITLE TYPE="245" LEVEL="m"&gt;Obras completas de Sor Juana In&eacute;s de la Cruz, III&lt;/TITLE&gt;\n' +
			'        &lt;AUTHOR&gt;Juana In&eacute;s de la Cruz&lt;/AUTHOR&gt;\n        ...\n    &lt;/TITLESTMT&gt;\n' +
			'    &lt;EDITIONSTMT&gt;\n        &lt;EDITION&gt;1 ed.&lt;/EDITION&gt;\n    &lt;/EDITIONSTMT&gt;\n    ...\n' +
			'    &lt;PUBLICATIONSTMT&gt;\n' +
			'        &lt;PUBLISHER&gt;Fondo de Cultura Económica&lt;/PUBLISHER&gt;\n' +
			'        &lt;PUBPLACE&gt;México&lt;/PUBPLACE&gt;\n' +
			'        &lt;DATE value="1955"&gt;1955&lt;/DATE&gt;\n' +
			'        <span class="showoff">&lt;IDNO TYPE="Issue-Printed"&gt;27&lt;/IDNO&gt;</span>\n' +
			'    &lt;/PUBLICATIONSTMT&gt;\n' +
			'    &lt;SERIESSTMT&gt;\n        &lt;TITLE <span class="showoff">TYPE="440" LEVEL="s" ID="IbrAmerTxt.BASLC"</span>&gt;Biblioteca Americana. Serie de Literatura Colonial&lt;/TITLE&gt;\n' +
			'    &lt;/SERIESSTMT&gt;\n    ...\n&lt;/SOURCEDESC&gt;\n</pre>';
	}
	else if (xmpl == '4.1.7g') {
		theText = '<pre>\n&lt;sourceDesc&gt;\n&lt;biblFull&gt;\n    &lt;titleStmt&gt;\n' +
			'        &lt;title type="245" level="m"&gt;Annals of the famine in Ireland, in 1847, 1848, and 1849.&lt;/title&gt;\n' +
			'        &lt;author&gt;Nicholson, Mrs. A. (Asenath)&lt;/author&gt;\n    &lt;/titleStmt&gt;\n    ...\n' +
			'    <span class="showoff">&lt;notesStmt&gt;\n' +
			'        &lt;note&gt;Being pt. III, enlarged, of the author\'s Lights and shades of Ireland, London, 1850.&lt;/note&gt;\n' +
			'    &lt;/notesStmt&gt;</span>\n&lt;/biblFull&gt;\n&lt;/sourceDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.2.1a') {
		theText = '<pre>\n&lt;projectDesc&gt;\n    &lt;p&gt;Nolen\'s plan for the city of Madison is hard to find in the original;\n' +
			'       most of the few library copies have been stolen or have been mutilated.\n' +
			'       The first digital encodings were a PDF version stored on CD-ROM and an\n' +
			'       HTML version (at http://www.library.wisc.edu/etext/ModelCity/ModelCity_top.html),\n' +
			'       taken from an intact copy of the original book.&lt;/p&gt;\n' +
			'    &lt;p&gt;This encoding was derived from the HTML version, but the print edition is the\n' +
			'       authoritative source text.&lt;/p&gt;\n&lt;/projectDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.2.2a1') {
		theText = '<pre>\n&lt;editorialDecl&gt;\n    <span class="showoff">&lt;p id="TEIr.2.0"&gt;' +
			'Encoded according to Guidelines for Markup of Electronic Texts: UW-Madison Libraries, version 2.0, Reading Level.&lt;/p&gt;</span>\n' +
			'    ...\n&lt;/editorialDecl&gt;\n</pre>';
	}
	else if (xmpl == '4.2.2a2') {
		theText = '<pre>\n&lt;editorialDecl&gt;\n    &lt;p id="TEIr1.0"&gt;' +
			'TEI encoding is based on the UW-Madison Libraries Guidelines\n    for Markup of Electronic Texts at the Reading Level' +
			'\n    (Version 1.0: http://www.library.wisc.edu/help/tech/TEI/guidelines1.0.html)<span class="showoff">,\n    with the addition' +
			' of &lt;sic&gt;, &lt;name&gt;, and &lt;foreign&gt; elements.</span>&lt;/p&gt;\n' +
			'    ...\n&lt;/editorialDecl&gt;\n</pre>';
	}
	else if (xmpl == '4.2.2b') {
		theText = '<pre>\n&lt;editorialDecl&gt;\n    ...\n    &lt;p&gt;The figure of Weimar was moved from its original location on p. 159\n' +
			'       to avoid structural problems with the content model of the &lt;gi&gt;list&lt;/gi&gt;\n       element.&lt;/p&gt;\n&lt;/editorialDecl&gt;\n</pre>';
	}
	else if (xmpl == '4.2.2c') {
		theText = '<pre>\n&lt;EDITORIALDECL&gt;\n    &lt;P&gt;The text has been checked and proofread against the\n' +
			'       Méndez Plancarte edition seven times. Corrections\n       have been represented using editorial tags.&lt;/P&gt;\n' +
			'    &lt;P&gt;The Spanish has been modernized.&lt;/P&gt;\n    &lt;P&gt;All quotation marks have been retained by using the proper\n' +
			'       Spanish typographic symbols: &amp;laquo;...&amp;raquo;&lt;/P&gt;\n    &lt;P&gt;All \'soft\' end-of-line hyphenation has been removed: any\n' +
			'       remaining hyphenation represents \'hard hyphens\'.&lt;/P&gt;\n&lt;/EDITORIALDECL&gt;\n</pre>';
	}
	else if (xmpl == '4.2.2d') {
		theText = '<pre>\n&lt;editorialDecl&gt;\n    ...\n    &lt;p&gt;Abbreviations have not been expanded.&lt;/p&gt;\n    ...\n&lt;/editorialDecl&gt;\n</pre>';
	}
	// no example needed for 4.2.3
	else if (xmpl == '4.2.4a') {
		theText = '<pre>\n&lt;encodingDesc&gt;\n    ...\n    &lt;classDecl&gt;\n        <span class="showoff">&lt;taxonomy <strong>id="LCSH"</strong>&gt;\n' +
			'            &lt;bibl&gt;Library of Congress Subject Headings&lt;/bibl&gt;\n        &lt;/taxonomy&gt;</span>\n' +
			'        ...\n    &lt;/classDecl&gt;\n&lt;/encodingDesc&gt;\n&lt;profileDesc&gt;\n    ...\n    &lt;textClass&gt;\n' +
			'        &lt;keywords <span class="showoff">scheme="LCSH"</span>&gt;\n            &lt;term&gt;Cuba--Description and travel&lt;/term&gt;\n' +
			'            &lt;term&gt;United States--Description and travel--1848-1865&lt;/term&gt;\n            &lt;term&gt;United States--Social life and customs&lt;/term&gt;\n' +
			'        &lt;/keywords&gt;\n        ...\n    &lt;/textClass&gt;\n&lt;/profileDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.3.1a1') {
		theText = '<pre>\n&lt;teiHeader&gt;\n...\n&lt;langUsage&gt;\n    <span class="showoff">&lt;p&gt;Text in English.&lt;/p&gt;</span>\n' +
			'&lt;/langUsage&gt;\n...\n&lt;/teiHeader&gt;\n&lt;text&gt;\n...\n&lt;/text&gt;\n</pre>';
	}
	else if (xmpl == '4.3.1a2') {
		theText = '<pre>\n&lt;teiHeader&gt;\n...\n&lt;langUsage&gt;\n    <span class="showoff">&lt;language id="<strong>eng</strong>"&gt;English&lt;/language&gt;</span>\n' +
			'&lt;/langUsage&gt;\n...\n&lt;/teiHeader&gt;\n&lt;text <span class="showoff">lang="<strong>eng</strong>"</span>&gt;\n...\n&lt;/text&gt;\n</pre>';
	}
	else if (xmpl == '4.3.2a') {
		theText = '<pre>\n&lt;encodingDesc&gt;\n    ...\n    &lt;classDecl&gt;\n        &lt;taxonomy <span class="showoff">id="LCSH"</span>&gt;\n' +
			'            &lt;bibl&gt;<span class="showoff">Library of Congress Subject Headings</span>&lt;/bibl&gt;\n        &lt;/taxonomy&gt;\n' +
			'        ...\n    &lt;/classDecl&gt;\n&lt;/encodingDesc&gt;\n&lt;profileDesc&gt;\n    ...\n    &lt;textClass&gt;\n' +
			'        &lt;keywords <span class="showoff">scheme="LCSH"</span>&gt;\n            &lt;term&gt;Cuba--Description and travel&lt;/term&gt;\n' +
			'            &lt;term&gt;United States--Description and travel--1848-1865&lt;/term&gt;\n            &lt;term&gt;United States--Social life and customs&lt;/term&gt;\n' +
			'        &lt;/keywords&gt;\n        ...\n    &lt;/textClass&gt;\n&lt;/profileDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.3.2b') {
		theText = '' +
			'' +
			'' +
			'' +
			'' +
			'' +
			'';
	}
	else if (xmpl == '4.3.2c') {
		theText = '<p><em>Catalog record:</em></p>\n<p><img src="examples/subTerms.gif" alt="screen shot of subject terms" width="512" height="175" border="0"></p>' +
			'<p><em>Header:</em></p>\n<pre>\n&lt;keywords scheme="LCSH"&gt;\n' +
			'    &lt;term&gt;<span class="showoff">Cuba--Description and travel</span>&lt;/term&gt;\n' +
			'    &lt;term&gt;<span class="showoff">United States--Description and travel--1848-1865</span>&lt;/term&gt;\n' +
			'    &lt;term&gt;<span class="showoff">United States--Social life and customs</span>&lt;/term&gt;\n' +
			'&lt;/keywords&gt;\n</pre>';
	}
	else if (xmpl == '4.3.2d') {
		theText = '<pre>\n&lt;keywords scheme="LCSH"&gt;\n' +
			'	<span class="showoff">&lt;term&gt;</span>Cuba--Description and travel<span class="showoff">&lt;/term&gt;</span>\n' +
			'	<span class="showoff">&lt;term&gt;</span>United States--Description and travel--1848-1865<span class="showoff">&lt;/term&gt;</span>\n' +
			'	<span class="showoff">&lt;term&gt;</span>United States--Social life and customs<span class="showoff">&lt;/term&gt;</span>\n' +
			'&lt;/keywords&gt;\n</pre>';
	}
	else if (xmpl == '4.3.2e') {
		theText = '<p><em>Catalog record:</em></p>\n<pre>\n035    (OCoLC)02693382\n035    $9 ABA7763UW\n' +
			'040    DLC $c AZU $d AZU $d OCL $d SER $d WIH\n041 1  eng $h swe\n<span class="showoff">050 0  E166 $b .B84</span>\n' +
			'100 10 Bremer, Fredrika, $d 1801-1865.\n245 14 The homes of the New world; $b impressions of America. $c By \n' +
			'       Frederika Bremer. Tr. by Mary Howitt ...\n...\n</pre>\n<p><em>Header:</em></p>\n' +
			'<pre>\n&lt;encodingDesc&gt;\n    ...\n    &lt;classDecl&gt;\n        ...\n        <span class="showoff">&lt;taxonomy id="LCC"&gt;\n' +
			'            &lt;bibl&gt;Library of Congress Classification&lt;/bibl&gt;\n        &lt;/taxonomy&gt;</span>\n    &lt;/classDecl&gt;\n' +
			'&lt;/encodingDesc&gt;\n&lt;profileDesc&gt;\n    ...\n    &lt;textClass&gt;\n        ...\n' +
			'        <span class="showoff">&lt;classCode scheme="LCC"&gt;E166 .B84&lt;/classCode&gt;</span>\n    &lt;/textClass&gt;\n&lt;/profileDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.3.2f') {
		theText = '<pre>\n&lt;textClass&gt;\n        ...\n' +
			'        &lt;classCode scheme="LCC"&gt;<span class="showoff">E166 .B84</span>&lt;/classCode&gt;\n' +
			'&lt;/textClass&gt;\n</pre>';
	}
	else if (xmpl == '4.4a') {
		theText = '<pre>\n&lt;revisionDesc&gt;\n	&lt;change&gt;&lt;date&gt;2000-04/2000-07&lt;/date&gt;\n' +
			'	&lt;respStmt&gt;&lt;name&gt;Gorman, Peter C.&lt;/name&gt;&lt;resp&gt;TEI Markup&lt;/resp&gt;&lt;/respStmt&gt;\n' +
			'	&lt;item&gt;<span class="showoff">edited markup for production implementation</span>&lt;/item&gt;\n' +
			'	&lt;change&gt;&lt;date&gt;1996-11&lt;/date&gt;\n' +
			'	&lt;respStmt&gt;&lt;name&gt;Gorman, Peter C.&lt;/name&gt;&lt;resp&gt;TEI Markup&lt;/resp&gt;&lt;/respStmt&gt;\n' +
			'	&lt;item&gt;<span class="showoff">conversion from HTML to TEI</span>&lt;/item&gt;\n&lt;/revisionDesc&gt;\n</pre>';
	}
	else if (xmpl == '4.4b') {
		theText = '' +
			'' +
			'' +
			'' +
			'' +
			'' +
			'';
	}
	else if (xmpl == '4.4c') {
		theText = '<pre>\n&lt;revisionDesc&gt;\n	&lt;change&gt;&lt;date&gt;<span class="showoff">2000-04/2000-07</span>&lt;/date&gt;\n' +
			'	&lt;respStmt&gt;&lt;name&gt;Gorman, Peter C.&lt;/name&gt;&lt;resp&gt;TEI Markup&lt;/resp&gt;&lt;/respStmt&gt;\n' +
			'	&lt;item&gt;edited markup for production implementation&lt;/item&gt;\n' +
			'	&lt;change&gt;&lt;date&gt;<span class="showoff">1996-11</span>&lt;/date&gt;\n' +
			'	&lt;respStmt&gt;&lt;name&gt;Gorman, Peter C.&lt;/name&gt;&lt;resp&gt;TEI Markup&lt;/resp&gt;&lt;/respStmt&gt;\n' +
			'	&lt;item&gt;conversion from HTML to TEI&lt;/item&gt;\n&lt;/revisionDesc&gt;\n</pre>';
	}
	else if (xmpl == 'foo') {
		theText = '' +
			'' +
			'' +
			'' +
			'' +
			'' +
			'';
	}

	return theText;

}

function GetS5Text(xmpl) {

	var theText = "";
	
	if (xmpl == '5.2.1a') {
		theText = '<pre>\n&lt;teiHeader&gt;\n...\n&lt;langUsage&gt;\n    &lt;language <span class="showoff">id="<strong>eng</strong>"</span>&gt;English&lt;/language&gt;\n' +
			'&lt;/langUsage&gt;\n...\n&lt;/teiHeader&gt;\n&lt;text <span class="showoff">lang="<strong>eng</strong>"</span>&gt;\n...\n&lt;/text&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1a1') {
		theText = '<pre>\n&lt;div2 type="Subsection" <span class="showoff">lang="isl"</span>&gt;\n' +
			'&lt;head&gt;Lýðræði í fámennu landi&lt;/head&gt;\n' +
			'  &lt;p&gt;Lýðræði í landi þar sem íbúarnir eru aðeins 280.000 hefur\n' +
			'  sérstöðu um margt.&lt;/p&gt;\n[...]\n&lt;/div2&gt;\n\n' +
			'&lt;div2 type="Subsection" <span class="showoff">lang="eng"</span>&gt;\n' +
			'&lt;head&gt;Democracy in a Small Nation&lt;/head&gt;\n' +
			'  &lt;p&gt;Democracy in a small nation of only 280,000 inhabitants\n' +
			'  is unusual in many respects.&lt;/p&gt;\n[...]\n&lt;/div2&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1a2') {
		theText = '<pre>\n&lt;div3 type="Subsubsection"&gt;\n&lt;head&gt;A Few Words About Snow and Snowfall&lt;/head&gt;\n\n' +
			'&lt;p&gt;<span class="showoff">&lt;foreign lang="isl"&gt;</span>snjór<span class="showoff">&lt;/foreign&gt;</span>: snow; <span class="showoff">&lt;foreign lang="isl"&gt;</span>snær<span class="showoff">&lt;/foreign&gt;</span>:\n' +
			'snow; <span class="showoff">&lt;foreign lang="isl"&gt;</span>hjarn<span class="showoff">&lt;/foreign&gt;</span>: crust of snow or snow that does not melt\n' +
			'in summer; <span class="showoff">&lt;foreign lang="isl"&gt;</span>mjöll<span class="showoff">&lt;/foreign&gt;</span> and <span class="showoff">&lt;foreign lang="isl"&gt;</span>nýsnævi<span class="showoff">&lt;/foreign&gt;</span>:\n' +
			'new-fallen snow; <span class="showoff">&lt;foreign lang="isl"&gt;</span>fönn<span class="showoff">&lt;/foreign&gt;</span>: drifted heap of snow, snow-wreath,\n' +
			'also snow that does not melt in summer; <span class="showoff">&lt;foreign lang="isl"&gt;</span>lausamjöll<span class="showoff">&lt;/foreign&gt;</span>: powder\n' +
			'snow; <span class="showoff">&lt;foreign lang="isl"&gt;</span>krap<span class="showoff">&lt;/foreign&gt;</span>: slush&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1b') {
		theText = '<pre>\n<span class="showoff">&lt;front&gt;</span>\n    &lt;div1 type="<span class="showoff">Frontispiece</span>"&gt;\n' +
			'        ...\n    &lt;/div1&gt;\n    &lt;<span class="showoff">titlepage</span>&gt;\n        ...\n' +
			'    &lt;/titlepage&gt;\n    &lt;div1 type="<span class="showoff">Contents</span>"&gt;\n        ...\n    &lt;/div1&gt;\n    ...\n' +
			'<span class="showoff">&lt;/front&gt;</span>\n&lt;body&gt;\n    ...\n&lt;/body&gt;\n<span class="showoff">&lt;back&gt;</span>\n' +
			'    &lt;div1 type="<span class="showoff">Notes</span>"&gt;\n        ...\n    &lt;/div1&gt;\n<span class="showoff">&lt;/back&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.1c') {
		theText = '<p><img src="examples/titlepage.gif" alt="title page image" width="435" height="327" border="0"></p>\n' +
			'<pre>\n<span class="showoff">&lt;titlepage&gt;</span>\n&lt;pb n="5"&gt;\n    <span class="showoff">&lt;doctitle&gt;</span>\n' +
			'        <span class="showoff">&lt;titlepart type="main"&gt;</span>MADISON: A MODEL CITY<span class="showoff">&lt;/titlepart&gt;&lt;/doctitle&gt;</span>\n' +
			'    <span class="showoff">&lt;byline&gt;</span>BY\n        <span class="showoff">&lt;docAuthor&gt;</span>JOHN NOLEN<span class="showoff">&lt;/docAuthor&gt;</span>\n' +
			'            &lt;lb&gt;FELLOW OF THE AMERICAN SOCIETY OF&lt;lb&gt; LANDSCAPE ARCHITECTS\n' +
			'    <span class="showoff">&lt;/byline&gt;</span>\n    <span class="showoff">&lt;docimprint&gt;</span>\n' +
			'        <span class="showoff">&lt;pubPlace&gt;</span>BOSTON, MASS.<span class="showoff">&lt;/pubPlace&gt;</span>\n' +
			'        <span class="showoff">&lt;docDate&gt;</span>1911<span class="showoff">&lt;/docDate&gt;</span>\n' +
			'    <span class="showoff">&lt;/docimprint&gt;</span>\n&lt;pb n="6"&gt;\n<span class="showoff">&lt;/titlepage&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.1d') {
		theText = '<pre>\n&lt;<span class="showoff">div0 type="Part"</span> n="I"&gt;\n  &lt;pb n="1"&gt;\n' +
			'  &lt;head&gt;PART I.&lt;/head&gt;\n' +
			'  &lt;head&gt;THE DEVELOPMENT AND PRESENT STATE OF THE HOUSING PROBLEM OF ENGLAND.&lt;/head&gt;\n  &lt;pb n="2"&gt;\n' +
			'  &lt;div1 type="Chapter" n="I"&gt;\n  &lt;pb n="3"&gt;\n' +
			'    &lt;head&gt;CHAPTER I.&lt;/head&gt;\n' +
			'    &lt;head&gt;THE ENGLISH HOUSING PROBLEM AND ITS DEVELOPMENT.&lt;/head&gt;\n' +
			'    &lt;p&gt;In 1750, just prior ...&lt;/p&gt;\n    ...\n  &lt;/div1&gt;\n&lt;/div0&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1e') {
		theText = '<pre>\n&lt;div0 type="Part" n="I"&gt;\n  &lt;pb n="1"&gt;\n' +
			'  &lt;head&gt;PART I.&lt;/head&gt;\n' +
			'  &lt;head&gt;THE DEVELOPMENT AND PRESENT STATE OF THE HOUSING PROBLEM OF ENGLAND.&lt;/head&gt;\n  &lt;pb n="2"&gt;\n' +
			'  &lt;<span class="showoff">div1 type="Chapter"</span> n="I"&gt;\n  &lt;pb n="3"&gt;\n' +
			'    &lt;head&gt;CHAPTER I.&lt;/head&gt;\n' +
			'    &lt;head&gt;THE ENGLISH HOUSING PROBLEM AND ITS DEVELOPMENT.&lt;/head&gt;\n' +
			'    &lt;p&gt;In 1750, just prior ...&lt;/p&gt;\n    ...\n  &lt;/div1&gt;\n&lt;/div0&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1f') {
		theText = '<p><img src="examples/illus.gif" alt="illustrations image" width="437" height="225" border="0"></p>\n' +
			'<pre>\n<span class="showoff">&lt;div1 type="Contents"&gt;</span>\n&lt;pb n="9"&gt;\n	&lt;head&gt;<span class="showoff">ILLUSTRATIONS</span>&lt;/head&gt;\n' +
			'	&lt;list&gt;\n		...\n	&lt;/list&gt;\n<span class="showoff">&lt;/div1&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.1g') {
		theText = '' +
			'';
	}
	else if (xmpl == '5.2.1h') {
		theText = '<pre>\n&lt;p&gt;... nor does he seldom, if ever, regain that standard of manly independence\n' +
			'which belongs to man, whatever hisfuture lot may be.&lt;/p&gt;\n&lt;/div2&gt;\n\n<span class="showoff">&lt;div2 type="Subsection"&gt;</span>\n' +
			'&lt;head&gt;TURNIPS.&lt;/head&gt;\n\n&lt;p&gt;As turnips made a prominent feature in the absence of their predecessors,\n' +
			'the potatoes, during the famine, they should not be overlooked in the annals\nof that history. ...&lt;/p&gt;\n...\n&lt;/div2&gt;\n</pre>';
	}
	else if (xmpl == '5.2.1i') {
		theText = '<pre>\n&lt;p&gt;... She died unheeded, the dogs lacerated the body,\ngnawed the bones, and strewed them about the bog.&lt;/p&gt;\n\n' +
			'<span class="showoff">&lt;div3 type="Subsection"&gt;</span>\n&lt;head&gt;DEATH AND BURIAL OF ABRAHAM.&lt;/head&gt;\n\n' +
			'&lt;p&gt;Abraham called one day in December, at the house of Mr. Savage,\nand sorrow and hunger had greatly changed his looks...&lt;/p&gt;\n...\n&lt;/div3&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2a') {
		theText = '<p><img src="examples/chaphead.gif" alt="chapter heading" width="313" height="207" border="0"></p>\n' +
			'<pre>\n&lt;div1 <span class="showoff">type="Chapter" n="I"</span>&gt;\n  &lt;pb n="3"&gt;\n' +
			'    <span class="showoff">&lt;head&gt;CHAPTER I.&lt;/head&gt;</span>\n' +
			'    <span class="showoff">&lt;head&gt;THE ENGLISH HOUSING PROBLEM AND ITS DEVELOPMENT.&lt;/head&gt;</span>\n' +
			'    &lt;p&gt;In 1750, just prior ...&lt;/p&gt;\n    ...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2b') {
		theText = '<p><img src="examples/div2head.gif" alt="heading example" width="396" height="201" border="0"></p>\n' +
			'<pre>\n&lt;div1 type="Chapter" n="VIII"&gt;\n&lt;pb n="264"&gt;\n' +
			'&lt;head&gt;CHAPTER VIII.&lt;/head&gt;\n&lt;epigraph&gt;\n&lt;lg type="group"&gt;\n' +
			'&lt;l&gt;&ldquo;Oh! could we from death but recover.&rdquo;&lt;/l&gt;\n&lt;/lg&gt;\n&lt;/epigraph&gt;\n<span class="showoff">&lt;div2 type="Subsection"&gt;</span>\n' +
			'<span class="showoff">&lt;head&gt;</span>THE GRAVE OF CHARLES WOLFE.<span class="showoff">&lt;/head&gt;</span>\n' +
			'&lt;p&gt;IT was in the cottage of Dr. Power...&lt;/p&gt;\n...\n&lt;/div2&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2c') {
		theText = '<table border="0" cellpadding="5"><tr><td><p><em>Source:</em></p>\n<p><img src="examples/headtypes.gif" alt="head example" width="315" height="441"></p></td>\n' +
			'<td><p><em>Encoding:</em></p>\n<pre>\n&lt;div1 type="Article"&gt;\n&lt;pb n="26"&gt;\n' +
			'<span class="showoff">&lt;head type="<strong>main</strong>"&gt;</span>"Pulse of the Continent"&lt;/head&gt;\n' +
			'<span class="showoff">&lt;head type="<strong>sub</strong>"&gt;</span>The Railroad in American Literature&lt;/head&gt;\n' +
			'&lt;byline&gt;By Merton M. Sealts, Jr.&lt;/byline&gt;\n&lt;p&gt;Long before twentieth-century Americans became entranced ... &lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre></td></tr></table>';
	}
	else if (xmpl == '5.2.2d1') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/epigraph.gif" alt="epigraph example" width="363" height="203"></p>\n<p><em>Encoding:</em></p>\n' +
			'<pre>\n&lt;div1 type="Chapter" n="VI"&gt;\n&lt;pb n="166"&gt;\n' +
			'&lt;head&gt;CHAPTER VI.&lt;/head&gt;\n' +
			'<span class="showoff">&lt;epigraph&gt;</span>\n&lt;lg type="group"&gt;\n' +
			'    &lt;l&gt;"There is no god, the oppressors say,&lt;/l&gt;\n    &lt;l rend="indent1"&gt;To mete us out chastisement."&lt;/l&gt;\n&lt;/lg&gt;\n<span class="showoff">&lt;/epigraph&gt;</span>\n' +
			'&lt;head&gt;POOR-HOUSES, TURNIPS, AND BLACK BREAD.&lt;/head&gt;\n&lt;p&gt;THESE splendid monuments of Ireland\'s poverty number ... &lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2d2') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/argument.gif" alt="argument example" width="461" height="244"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;div1 type="Chapter" n="XIV"&gt;\n&lt;pb n="116"&gt;\n' +
			'&lt;head&gt;CHAPTER XIV.&lt;/head&gt;\n' +
			'<span class="showoff">&lt;argument&gt;</span>\n  Disastrous Adventure with Abyssinians.&mdash;Akabah brings\n  the Alarm.&mdash;Two of our Party surprised by a Hundred armed\n' +
			'  Abyssinians.&mdash;Making Friends.&mdash;Treachery of the\n  Abyssinians.&mdash;Mahomet fearfully wounded.&mdash;The Search for\n  him.&mdash;The Dembelas Tribe.&amp;mdash.Contemplated Expedition against\n' +
			'  the Dembelas abandoned.\n<span class="showoff">&lt;/argument&gt;</span>\n&lt;p&gt;ON the 11th  ... &lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2d3') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/byline.gif" alt="byline example" width="315" height="223"></p>\n<p><em>Encoding:</em></p>\n' +
			'<pre>\n&lt;div1 type="Article"&gt;\n...\n&lt;head type="sub"&gt;The Railroad in American Literature&lt;/head&gt;\n' +
			'<span class="showoff">&lt;byline&gt;</span>By Merton M. Sealts, Jr.<span class="showoff">&lt;/byline&gt;</span>\n&lt;p&gt;Long before twentieth-century Americans became entranced ... &lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.2e') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/trailer.gif" alt="trailer.gif" width="378" height="228"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;body&gt;\n...\n&lt;div1&gt;\n   ...\n  &lt;p&gt; ... To describe these faithfully and truthfully has been the object\n' +
			'     of the writer.&lt;note&gt;See appendix M.&lt;/note&gt;&lt;/p&gt;\n&lt;/div1&gt;\n<span class="showoff">&lt;trailer&gt;</span>THE END.<span class="showoff">&lt;/trailer&gt;</span>\n' +
			'<span class="showoff">&lt;trailer&gt;</span>Printed by Cowan &amp; Co., Limited, Perth.<span class="showoff">&lt;/trailer&gt;</span>\n&lt;pb n="148"&gt;\n&lt;/body&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3a1') {
		theText = '<pre>\n<span class="showoff">&lt;LG TYPE="group"&gt;</span>\n    <span class="showoff">&lt;L&gt;</span>diciendo que ya<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>conocen las Indias<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>al que es Verdadero<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>Dios de las Semillas!<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>Y en l&aacute;grimas tiernas<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>que el gozo destila,<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>repitan alegres<span class="showoff">&lt;/L&gt;</span>\n' +
			'    <span class="showoff">&lt;L&gt;</span>con voces festivas:<span class="showoff">&lt;/L&gt;</span>\n<span class="showoff">&lt;/LG&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.3a2') {
		theText = '<p><img src="examples/lglg.gif" alt="lg example" width="375" height="200" border="0"></p>\n' +
			'<pre>\n&lt;q rend="block"&gt;\n<span class="showoff">&lt;lg type="group"&gt;</span>\n    &lt;lg type="group"&gt;\n' +
			'        &lt;l&gt;"She is far from the land where her young hero sleeps,&lt;/l&gt;\n        &lt;l rend="indent1"&gt;And lovers are round her sighing;&lt;/l&gt;\n' +
			'        &lt;l&gt;But coldly she turns from their gaze and weeps.&lt;/l&gt;\n        &lt;l rend="indent1"&gt;For her heart in his grave is lying.&lt;/l&gt;\n' +
			'    &lt;/lg&gt;\n    &lt;lg type="group"&gt;\n        &lt;l&gt;"O! make her a grave where the sunbeams rest,&lt;/l&gt;\n' +
			'        &lt;l rend="indent1"&gt;When they promise a glorious morrow,&lt;/l&gt;\n        &lt;l&gt;They\'ll shine o\'er her sleep like a smile from the West,&lt;/l&gt;\n' +
			'        &lt;l rend="indent1"&gt;From her own lov\'d island of sorrow."&lt;/l&gt;\n    &lt;/lg&gt;\n<span class="showoff">&lt;/lg&gt;</span>\n&lt;/q&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3a3') {
		theText = '<pre>\n&lt;SP&gt;\n&lt;SPEAKER&gt;M&Uacute;SICA&lt;/SPEAKER&gt;\n' +
			'<span class="showoff">&lt;LG TYPE="group"&gt;</span>\n    &lt;L&gt;NOBLES Mejicanos,&lt;/L&gt;\n    &lt;L&gt;cuya estirpe antigua,&lt;/L&gt;\n    ...\n' +
			'&lt;/LG&gt;\n&lt;/SP&gt;\n&lt;SP&gt;\n&lt;SPEAKER&gt;M&Uacute;SICA&lt;/SPEAKER&gt;\n<span class="showoff">&lt;LG&gt;</span>\n' +
			'    &lt;L&gt;Y pues la abundancia&lt;/L&gt;\n    &lt;L&gt;de nuestras provincias&lt;/L&gt;\n    ...\n&lt;/LG&gt;\n&lt;/SP&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3b') {
		theText = '<p><img src="examples/poem.gif" alt="poem example" width="385" height="312" border="0"></p>\n<pre>\n<span class="showoff">&lt;lg type="poem"&gt;</span>\n' +
			'    <span class="showoff">&lt;head&gt;</span>"THEY THAT SOW IN TEARS SHALL REAP IN JOY."<span class="showoff">&lt;/head&gt;</span>\n' +
			'    <span class="showoff">&lt;lg type="group"&gt;</span>\n        &lt;l&gt;"Sow thy seed, there is need, never be weary,&lt;/l&gt;\n' +
			'        &lt;l rend="indent1"&gt;Morning and evening withhold not thine hand;&lt;/l&gt;\n        &lt;l&gt;By the side of all waters let faith and hope cheer thee,&lt;/l&gt;\n' +
			'        &lt;l rend="indent1"&gt;Where the blessing may rest is not thine to command.&lt;/l&gt;\n    &lt;/lg&gt;\n    ...\n&lt;/lg&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3b1') {
		theText = '<pre>&lt;p&gt;[...]Thus a point of rock, somewhat nose-like in form, which runs out into\n' +
			'the river, is called &lt;name type="place"&gt;St. Anthony\'s Nose&lt;/name&gt;; and\n' +
			'in sailing past it, I could not help thinking of a merry little poem\n' +
			'which Mr. Downing read to me, in which St. Anthony is represented as\n' +
			'preaching to the fishes, who came up out of the depths quite astonished\n' +
			'and delighted to hear the zealous father of the Church preaching for\n' +
			'their conversion. The end, however, is,\n<span class="showoff">&lt;q&gt;</span>&lt;lg type="group"&gt;\n' +
			'	&lt;l&gt;Much delighted were they,&lt;/l&gt;\n	&lt;l&gt;But preferred the old way.&lt;/l&gt;\n' +
			'&lt;/lg&gt;<span class="showoff">&lt;/q&gt;</span>\nAnd thus continued in their natural vices; and St. Anthony got--a long\nnose.&lt;/p&gt;</pre>\n';
	}
	else if (xmpl == '5.2.3c') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/inlinepoetry.gif" alt="poetry example" width="488" height="156" border="0"></p>\n<p><em>Encoding:</em></p>\n' +
			'<pre>\n&lt;p&gt;... But there are more tender moments, as in "Wind Gauge": \n<span class="showoff">&lt;!-- no markup! --&gt;</span>"the long afternoon,/variations of light playing out,/thoughts\n' +
			'like steeping tea" and "She walks by the valley\'s swelling drifts;/In her eyes\nthe snow-light shines./She kneels by the stream where dry grass lifts/Through\n' +
			'layers of ice designs" from "Welder\'s Girl," a poem also frightening in both\nlyrics and execution.&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3d') {
		theText = '<pre>\n&lt;DIV1 <span class="showoff">TYPE="Scene"</span>&gt;\n    &lt;HEAD&gt;ESCENA III&lt;/HEAD&gt;\n' +
			'    &lt;SP&gt;\n        &lt;SPEAKER&gt;RELIGI&amp;Oacute;N&lt;/SPEAKER&gt;\n        &lt;LG&gt;\n' +
			'            &lt;L&gt;&amp;iexcl;R&amp;iacute;ndete, altivo Occidente!&lt;/L&gt;\n       &lt;/LG&gt;\n    &lt;/SP&gt;\n    ...\n&lt;/DIV1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.3e') {
		theText = '<pre>\n<span class="showoff">&lt;LIST&gt;\n</span>    &lt;HEAD&gt;PERSONAS QUE HABLAN EN ELLA&lt;/HEAD&gt;\n\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>EL OCCIDENTE Indio gal&aacute;n.<span class="showoff">&lt;/ITEM&gt;</span>\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>LA AM&Eacute;RICA India bizarra.<span class="showoff">&lt;/ITEM&gt;</span>\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>EL CELO Capit&aacute;n general.<span class="showoff">&lt;/ITEM&gt;</span>\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>LA RELIGI&Oacute;N Dama espa&ntilde;ola.<span class="showoff">&lt;/ITEM&gt;</span>\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>M&Uacute;SICOS Indios mexicanos.<span class="showoff">&lt;/ITEM&gt;</span>\n' +
			'    <span class="showoff">&lt;ITEM&gt;</span>SOLDADOS Soldados espa&ntilde;oles.<span class="showoff">&lt;/ITEM&gt;\n&lt;/LIST&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.3f') {
		theText = '<pre>\n<span class="showoff">&lt;sp&gt;&lt;speaker&gt;</span>VILBORG:<span class="showoff">&lt;/speaker&gt;</span> &lt;seg&gt;Well, there\'s nothing else to\n' +
			'do but to bide and see how things go. <span class="showoff">&lt;stage&gt;</span>(Sits by the hearth,\n' +
			'takes a tobacco pouch out of her pocket, rubs it a good while, and\n' +
			'takes a pinch of snuff.)<span class="showoff">&lt;/stage&gt;</span>&lt;/seg&gt;<span class="showoff">&lt;/sp&gt;</span>\n\n' +
			'<span class="showoff">&lt;sp&gt;&lt;speaker&gt;</span>OLD WOMAN:<span class="showoff">&lt;/speaker&gt;</span> &lt;seg&gt;I asked him this morning if\n' +
			'he wouldn\'t like the priest to come and give him the holy sacrament,\n' +
			'but that didn\'t suit him. He\'s never been wishful to go to God\'s table.\n' +
			'<span class="showoff">&lt;stage&gt;</span>(Sits on the chest, knitting. A pause.)<span class="showoff">&lt;/stage&gt;</span>&lt;/seg&gt;<span class="showoff">&lt;/sp&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.4a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/inlinelist.gif" alt="list example" width="374" height="197" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... It appears (1) that without any additional legislation many of the\n' +
			'recommendations of that plan can be adopted and practical steps taken to\ncarry them into effect; (2) that the Illinois legislature has ample power\n' +
			'to grant either to the city or to other governmental agencies such\nadditional authority as may be necessary to carry out all of the\n' +
			'recommendations of the plan as fully and as rapidly as may be found wise;\nand (3) that additional authority, and especially a substantial increase in\n' +
			'the local bonding power, is essential to the effective accomplishment of the\nmost important of these recommendations. ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.4b') {
		theText = '<p><img src="examples/simplelist.gif" alt="list example" width="471" height="199" border="0"></p>\n<pre>\n&lt;div2 type="Note" n="7"&gt;\n' +
			'&lt;pb n="166"&gt;\n&lt;head&gt;LIST OF PLACES FOR WHICH GENERAL PLANS HAVE BEEN PREPARED.&lt;/head&gt;\n\n' +
			'<span class="showoff">&lt;list type="simple"&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Atlantic City, N. J.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Baltimore, Md.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Boston, Mass.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Buffalo, N. Y.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Chattanooga, Tenn.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Chicago, Ill.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Cleveland, Ohio.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Colorado Springs, Colo.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    <span class="showoff">&lt;item&gt;</span>Columbia, S. C.<span class="showoff">&lt;/item&gt;</span>\n' +
			'    ...\n<span class="showoff">&lt;/list&gt;</span>\n...\n&lt;/div2&gt;\n</pre>';
	}
	else if (xmpl == '5.2.4c') {
		theText = '<p><img src="examples/illus.gif" alt="list example" width="437" height="225" border="0"></p>\n<pre>\n' +
			'&lt;div1 <span class="showoff">type="Contents"</span>&gt;\n&lt;pb n="9"&gt;\n&lt;head&gt;ILLUSTRATIONS&lt;/head&gt;\n' +
			'<span class="showoff">&lt;list&gt;</span>\n    &lt;item&gt;Proposed approaches to the Capitol, Madison Frontispiece&lt;/item&gt;\n' +
			'    &lt;item&gt;Lake Wingra from the south 20&lt;/item&gt;\n    &lt;item&gt;Original Plan of Madison 22&lt;/item&gt;\n' +
			'    &lt;item&gt;L\'Enfant\'s Plan of Washington 23&lt;/item&gt;\n    &lt;item&gt;Original Plan of Savannah, Ga. 24&lt;/item&gt;\n' +
				'    ...\n<span class="showoff">&lt;/list&gt;</span>\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.4d1') {
		theText = '<p><img src="examples/itemno.gif" alt="list example" width="395" height="198" border="0"></p>\n<pre>\n&lt;list&gt;\n' +
			'    <span class="showoff">&lt;item n="1"&gt;</span>To pass suitable laws for the protection of the environs\n        of the State Capitol.&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;item n="2"&gt;</span>To acquire the property between Capitol Square and Lake\n        Monona and adopt an appropriate plan for its development.&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;item n="3"&gt;</span>To widen and improve State Street from the Capitol to\n        the University.&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;item n="4"&gt;</span>To establish, widen and improve the main thoroughfares\n        in and near Madison.&lt;/item&gt;\n    ...\n&lt;/list&gt;\n</pre>';
	}
	else if (xmpl == '5.2.4d2') {
		theText = '<p><img src="examples/listlabel.gif" alt="label example" width="541" height="131" border="0"></p>\n<pre>\n&lt;list&gt;\n' +
			'    <span class="showoff">&lt;label&gt;</span>Date:<span class="showoff">&lt;/label&gt;</span>\n        &lt;item&gt;1826-8.&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;label&gt;</span>Form:<span class="showoff">&lt;/label&gt;</span>\n        &lt;item&gt;One fornyr&eth;islag strophe.&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;label&gt;</span>Manuscript:<span class="showoff">&lt;/label&gt;</span>\n        &lt;item&gt;KG 31 b I, where it has the title "Dalab&oacute;ndinn &iacute; &oacute;&thorn;urrknum" (facsimile KJH4).&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;label&gt;</span>First published:<span class="showoff">&lt;/label&gt;</span>\n        &lt;item&gt;1847 (A15).&lt;/item&gt;\n' +
			'    <span class="showoff">&lt;label&gt;</span>Sound recording:<span class="showoff">&lt;/label&gt;</span>\n        &lt;item&gt;Anton Helgi J&oacute;nsson reads "Dalab&oacute;ndinn &iacute; &oacute;&thorn;urrknum".&lt;/item&gt;\n    ...\n&lt;/list&gt;\n</pre>';
	}
	else if (xmpl == '5.2.4e1') {
		theText = '<p><img src="examples/table1.gif" alt="table example" width="411" height="232" border="0"></p>\n' +
			'<pre>\n<span class="showoff">&lt;table rows="11" cols="5"&gt;</span>\n&lt;head&gt;MUNICIPAL LAND OWNERSHIP IN GERMAN CITIES.&lt;lb&gt;Proportion of area owned.&lt;/head&gt;\n' +
			'&lt;row n="1"&gt;&lt;cell rows="2"&gt;CITY &lt;/cell&gt;&lt;cell&gt;Total Area&lt;lb&gt;of City&lt;/cell&gt;\n' +
			'	&lt;cell&gt;Total Amount&lt;lb&gt;of land&lt;lb&gt;owned by City&lt;/cell&gt;\n	&lt;cell cols="2"&gt;Proportion of Total Area&lt;lb&gt;owned by City&lt;/cell&gt;&lt;/row&gt;\n' +
			'&lt;row n="2"&gt;&lt;cell&gt;Acres&lt;/cell&gt;\n        &lt;cell&gt;Acres&lt;/cell&gt;\n' +
			'	&lt;cell&gt;Within City&lt;lb&gt;Boundary&lt;/cell&gt;\n	&lt;cell&gt;Without City&lt;lb&gt;Boundary&lt;/cell&gt;&lt;/row&gt;\n' +
			'&lt;row n="3"&gt;&lt;cell&gt;Berlin&lt;/cell&gt;\n        &lt;cell&gt;15,689.54&lt;/cell&gt;\n' +
			'        &lt;cell&gt;39,151.28&lt;/cell&gt;\n        &lt;cell&gt;9.2&lt;/cell&gt;\n' +
			'        &lt;cell&gt;240.8&lt;/cell&gt;&lt;/row&gt;\n...\n<span class="showoff">&lt;/table&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.4e2') {
		theText = '<p><img src="examples/listlabel.gif" alt="label example" width="541" height="131" border="0"></p>\n<pre>\n<span class="showoff">&lt;list&gt;</span>\n' +
			'    &lt;label&gt;Date:&lt;/label&gt;\n        &lt;item&gt;1826-8.&lt;/item&gt;\n' +
			'    &lt;label&gt;Form:&lt;/label&gt;\n        &lt;item&gt;One fornyr&eth;islag strophe.&lt;/item&gt;\n' +
			'    &lt;label&gt;Manuscript:&lt;/label&gt;\n        &lt;item&gt;KG 31 b I, where it has the title "Dalab&oacute;ndinn &iacute; &oacute;&thorn;urrknum" (facsimile KJH4).&lt;/item&gt;\n' +
			'    &lt;label&gt;First published:&lt;/label&gt;\n        &lt;item&gt;1847 (A15).&lt;/item&gt;\n' +
			'    &lt;label&gt;Sound recording:&lt;/label&gt;\n        &lt;item&gt;Anton Helgi J&oacute;nsson reads "Dalab&oacute;ndinn &iacute; &oacute;&thorn;urrknum".&lt;/item&gt;\n    ...\n<span class="showoff">&lt;/list&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.4f') {
		theText = '<img src="examples/table.jpg" alt="table example" width="489" height="283" border="0">';
	}
	else if (xmpl == '5.2.5a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/inlinenote.gif" alt="note example" width="509" height="129" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;It took really till this long Thanksgiving weekend for me to write\n' +
			'you this overdue letter. <span class="showoff">&lt;!-- no note element here! --&gt;[Felix had\nsuffered a heart attack.]</span> Forgive me. With my new schedule (2 hours for\n' +
			'lunch so I can rest) and therefore one hour longer work in the evening,\nI rarely  come home before 7 ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.5b1') {
		theText = '<pre>\n&lt;div1 type="Chapter" n="4"&gt;\n...\n' +
			'&lt;p&gt;... platting of all property within one and one-half miles of the corporate\n    limits is a move in the right direction and is especially needed in view of\n' +
			'    the overcontracted limits of most Wisconsin cities.<span class="showoff">&lt;note place="foot" <strong>n="*"</strong>&gt;</span>See\n' +
			'    notes at the end of the report.&lt;/note&gt;&lt;/p&gt;\n...\n&lt;p&gt;... imparting stability to real estate values, homogeneity to neighborhoods and\n' +
			'    protection from nuisances.<span class="showoff">&lt;note place="foot" <strong>n="5"</strong>&gt;</span>Refers to German city building\n' +
			'    regulations.&lt;/note&gt; But such regulations must sooner or later prevail ...&lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.5b2') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/joinnote.gif" alt="note example" width="758" height="151" border="0"></p>\n<p><em>Encoding:</em></p>\n<pre>\n' +
			'&lt;p&gt;In all realms of Christendom, people are becoming aware of his presence--are speaking\n    of him, combating for him, combating against him, and--preparing for him a way. For\n' +
			'    his day is at hand, and he will come with it. <span class="showoff">&lt;note place="foot"&gt;</span>As a beautiful proof\n    of this may be instanced, it seems to me, that ready, cordial homage which free nations\n' +
			'    at the present time pay to noble and liberal-minded rulers, such as Leopold, Victoria,\n    Oscar. What tri<span class="showoff">&lt;!-- rest taken from foot of following page --&gt;</span>umphal procession of\n' +
			'    antiquity can indeed be compared to those noble human thanksgiving festivals which\n    were this year celebrated, in Sweden and Norway, for the restored health of King\n' +
			'    Oscar--homage as much due to the man as to the monarch!<span class="showoff">&lt;/note&gt;</span>&lt;/p&gt;\n&lt;pb n="640"&gt;\n&lt;p&gt;I wished to see ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.5c') {
		theText = '' +
			'' +
			'' +
			'' +
			'' +
			'' +
			'';
	}
	else if (xmpl == '5.2.5d') {
		theText = '<pre>\n&lt;p&gt;... This account will be briefer than is theoretically desirable,\n' +
			'   mostly because so much of the subject is not fully intelligible to\n   people unacquainted with the sciences and with the major branches of\n' +
			'   chemistry<span class="showoff">&lt;note place="foot"&gt;</span>The branch of science that studies the\n' +
			'   natural elements and their combination.&lt;/note&gt; (which it would not\n' +
			'   be reasonable to expect the general public to be familiar with).\n...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.5e') {
		theText = '<pre>\n<span class="showoff">&lt;div1 type="Notes"&gt;</span>\n' +
			'    &lt;head&gt;SUPPLEMENTARY NOTES&lt;/head&gt;\n    <span class="showoff">&lt;div2 type="Note" n="1"&gt;</span>\n' +
			'        &lt;head&gt;&lt;hi rend="super"&gt;1&lt;/hi&gt; AN ACT RELATIVE TO THE HEIGHT OF BUILDINGS IN THE CITY OF BOSTON.&lt;/head&gt;\n        ...\n    <span class="showoff">&lt;/div2&gt;</span>\n' +
			'\n    <span class="showoff">&lt;div2 type="Note" n="2"&gt;</span>\n        &lt;head&gt;&lt;hi rend="super"&gt;2&lt;/hi&gt; THE FILLING OF THE BACK BAY MUD FLATS, BOSTON.&lt;/head&gt;\n' +
			'        ...\n    <span class="showoff">&lt;/div2&gt;</span>\n    ...\n<span class="showoff">&lt;/div1&gt;</span>\n</pre>';
	}
	else if (xmpl == '5.2.5f') {
		theText = '<pre>\n&lt;div1 type="Chapter" id="MC.ch2" n="2"&gt;\n    ...\n    &lt;p&gt;... Action should be taken without delay for the demands upon\n' +
			'       these blocks are now rapidly changing, and the "sky-scraper"\n       or other offensive structure may be begun at any\n' +
			'       time.<span class="showoff">&lt;ref targType="div2" <strong>target="MC.nt.1"</strong>&gt;</span>&lt;hi rend="super"&gt;1&lt;/hi&gt;<span class="showoff">&lt;/ref&gt;</span>\n    &lt;/p&gt;\n    ...\n&lt;/div1&gt;\n...\n' +
			'&lt;div1 type="Notes" id="MC.nt"&gt;\n    &lt;head&gt;SUPPLEMENTARY NOTES&lt;/head&gt;\n    ...\n    <span class="showoff">&lt;div2 type="Note" <strong>id="MC.nt.1"</strong> n="1"&gt;</span>\n' +
			'        &lt;head&gt;&lt;hi rend="super"&gt;1&lt;/hi&gt; AN ACT RELATIVE TO THE HEIGHT OF\n            BUILDINGS IN THE CITY OF BOSTON.&lt;/head&gt;\n        ...\n    <span class="showoff">&lt;/div2&gt;</span>\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.5g') {
		theText = '<pre>\n&lt;div1 type="Chapter" id="MC.ch2" n="2"&gt;\n    ...\n    &lt;p&gt;... Action should be taken without delay for the demands upon\n' +
			'       these blocks are now rapidly changing, and the "sky-scraper"\n       or other offensive structure may be begun at any\n' +
			'       time.&lt;ref targType="div2" target="MC.nt.1"&gt;<span class="showoff">&lt;hi rend="super"&gt;<strong>1</strong>&lt;/hi&gt;</span>&lt;/ref&gt;\n    &lt;/p&gt;\n    ...\n&lt;/div1&gt;\n...\n' +
			'&lt;div1 type="Notes" id="MC.nt"&gt;\n    &lt;head&gt;SUPPLEMENTARY NOTES&lt;/head&gt;\n    ...\n    &lt;div2 type="Note" id="MC.nt.1" <span class="showoff">n="<strong>1</strong>"</span>&gt;\n' +
			'        &lt;head&gt;<span class="showoff">&lt;hi rend="super"&gt;<strong>1</strong>&lt;/hi&gt;</span> AN ACT RELATIVE TO THE HEIGHT OF\n            BUILDINGS IN THE CITY OF BOSTON.&lt;/head&gt;\n        ...\n    &lt;/div2&gt;\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.6a1') {
		theText = '<table><tr><td><p><em>Source:</em></p>\n<p><img src="examples/basicfig.gif" alt="figure example" width="420" height="454" border="0"></p>\n' +
			'</td><td><p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;That period, called early historic or protohistoric, was the watershed\n' +
			'    between prehistory and the inception of the chronicle of\n\n<span class="showoff">&lt;figure entity="ProjPoint"&gt;</span>\n' +
			'    &lt;p&gt;Chert projectile points of the North Bay culture.&lt;/p&gt;\n    &lt;figDesc&gt;Black and white photo of various projectile points.&lt;/figDesc&gt;\n' +
			'<span class="showoff">&lt;/figure&gt;</span>\n\n    Indian-European relations. Things would never be the same again. An\n' +
			'    old world was sliding into the gloom of oblivion, a new one usurping\n    its place. Only centuries later would the development of archaeology\n' +
			'    lay bare the ruins of what once had been and implant in a Eurocentric\n    heritage a consciousness of what had been lost.&lt;/p&gt;\n</pre></td></tr></table>';
	}
	else if (xmpl == '5.2.6a2') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/incidentalfig.gif" alt="figure example" width="510" height="193" border="0"></p>\n<p><em>Encoding:</em></p>\n<pre>\n' +
			'<span class="showoff">&lt;!-- ornament not included! --&gt;</span>\n&lt;div2 type="Letter"&gt;\n    &lt;opener&gt;&lt;dateline&gt;November 30, 1958&lt;/dateline&gt;\n' +
			'    &lt;salute&gt;[Ana&iuml;s:]&lt;/salute&gt;&lt;/opener&gt;\n    &lt;p&gt;It took really till this long Thanksgiving weekend... &lt;/p&gt;\n    ...\n&lt;/div2&gt;\n</pre>';
	}
	else if (xmpl == '5.2.6b') {
		theText = '<table><tr><td><p><em>Source:</em></p>\n<p><img src="examples/basicfig.gif" alt="figure example" width="420" height="454" border="0"></p>\n' +
			'</td><td><p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;That period, called early historic or protohistoric, was the watershed\n' +
			'    between prehistory and the inception of the chronicle of\n\n&lt;figure entity="ProjPoint"&gt;\n' +
			'    &lt;p&gt;Chert projectile points of the North Bay culture.&lt;/p&gt;\n    <span class="showoff">&lt;figDesc&gt;Black and white photo of various projectile points.&lt;/figDesc&gt;</span>\n' +
			'&lt;/figure&gt;\n\n    Indian-European relations. Things would never be the same again. An\n' +
			'    old world was sliding into the gloom of oblivion, a new one usurping\n    its place. Only centuries later would the development of archaeology\n' +
			'    lay bare the ruins of what once had been and implant in a Eurocentric\n    heritage a consciousness of what had been lost.&lt;/p&gt;\n</pre></td></tr></table>';
	}
	else if (xmpl == '5.2.6c') {
		theText = '<table><tr><td><p><em>Source:</em></p>\n<p><img src="examples/basicfig.gif" alt="figure example" width="420" height="454" border="0"></p>\n' +
			'</td><td><p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;That period, called early historic or protohistoric, was the watershed\n' +
			'    between prehistory and the inception of the chronicle of\n\n&lt;figure entity="ProjPoint"&gt;\n' +
			'    <span class="showoff">&lt;p&gt;Chert projectile points of the North Bay culture.&lt;/p&gt;</span>\n    &lt;figDesc&gt;Black and white photo of various projectile points.&lt;/figDesc&gt;\n' +
			'&lt;/figure&gt;\n\n    Indian-European relations. Things would never be the same again. An\n' +
			'    old world was sliding into the gloom of oblivion, a new one usurping\n    its place. Only centuries later would the development of archaeology\n' +
			'    lay bare the ruins of what once had been and implant in a Eurocentric\n    heritage a consciousness of what had been lost.&lt;/p&gt;\n</pre></td></tr></table>';
	}
	else if (xmpl == '5.2.6d1') {
		theText = '<table><tr><td><p><em>Source:</em></p>\n<p><img src="examples/basicfig.gif" alt="figure example" width="420" height="454" border="0"></p>\n' +
			'</td><td><p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;That period, called early historic or protohistoric, was the watershed\n' +
			'    between prehistory and the inception of the chronicle of\n<span class="showoff">&lt;-- interrupts the sentence --&gt;</span>\n&lt;figure entity="ProjPoint"&gt;\n' +
			'    &lt;p&gt;Chert projectile points of the North Bay culture.&lt;/p&gt;\n    &lt;figDesc&gt;Black and white photo of various projectile points.&lt;/figDesc&gt;\n' +
			'&lt;/figure&gt;\n<span class="showoff">&lt;-- resume the sentence --&gt;</span>\n    Indian-European relations. Things would never be the same again. An\n' +
			'    old world was sliding into the gloom of oblivion, a new one usurping\n    its place. Only centuries later would the development of archaeology\n' +
			'    lay bare the ruins of what once had been and implant in a Eurocentric\n    heritage a consciousness of what had been lost.&lt;/p&gt;\n</pre></td></tr></table>';
	}
	else if (xmpl == '5.2.6d2') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/marginfig.gif" alt="figure example" width="481" height="374" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;div1 type="Contents"&gt;\n&lt;pb n="1"&gt;\n' +
			'&lt;head&gt;Contents&lt;/head&gt;\n' +
			'<span class="showoff">&lt;!--  encode the figures first --&gt;</span>\n' +
			'&lt;p&gt;&lt;figure entity="WAR0360200301.jpeg"&gt;...&lt;/figure&gt;&lt;/p&gt;\n&lt;p&gt;&lt;figure entity="WAR0360200302.jpeg"&gt;...&lt;/figure&gt;&lt;/p&gt;\n' +
			'&lt;p&gt;&lt;figure entity="WAR0360200303.jpeg"&gt;...&lt;/figure&gt;&lt;/p&gt;\n...\n<span class="showoff">&lt;!-- then the table of contents --&gt;</span>\n&lt;p&gt;&lt;table&gt;\n' +
			'    &lt;row&gt;&lt;cell&gt;Art&lt;/cell&gt;&lt;cell&gt;3&lt;/cell&gt;&lt;cell&gt;Alfred Waud\'s Wisconsin ...&lt;/cell&gt;&lt;/row&gt;\n' +
			'    &lt;row&gt;&lt;cell&gt;Science&lt;/cell&gt;&lt;cell&gt;8&lt;/cell&gt;&lt;cell&gt;Effective Wind Barrier Design ...&lt;/cell&gt;&lt;/row&gt;\n' +
			'    &lt;row&gt;&lt;cell&gt;Poetry&lt;/cell&gt;&lt;cell&gt;10&lt;/cell&gt;&lt;cell&gt;One by One by One ...&lt;/cell&gt;&lt;/row&gt;\n    ...\n&lt;/table&gt;&lt;/p&gt;\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.2.6e') {
		theText = '<p><em>Markup:</em></p>\n' +
			'<pre>\n<span class="showoff">&lt;figure entity="<strong>Brittingham</strong>" rend="thumb"&gt;</span>\n	&lt;head&gt;BRITTINGHAM PARK, MADISON.&lt;/head&gt;\n' +
			'	&lt;p&gt;The advantages of a lake shore drive are here already demonstrated.&lt;/p&gt;\n	&lt;figDesc&gt;Photo of Brittingham Park, Madison&lt;/figDesc&gt;\n&lt;/figure&gt;\n</pre>\n' +
			'<br><p><em>Entity definition file:</em></p>\n<pre>\n...\n&lt;!ENTITY Newport     SYSTEM "NolenMadsn/images/reference/Newport.jpg"     NDATA jpeg&gt;\n' +
			'<span class="showoff">&lt;!ENTITY <strong>Brittingham</strong> SYSTEM "NolenMadsn/images/reference/Brittingham.jpg" NDATA jpeg&gt;</span>\n' +
			'&lt;!ENTITY hotel       SYSTEM "NolenMadsn/images/reference/hotel.jpg"       NDATA jpeg&gt;\n&lt;!ENTITY marsh       SYSTEM "NolenMadsn/images/reference/marsh.jpg"       NDATA jpeg&gt;\n...\n</pre>';
	}
	else if (xmpl == '5.2.6f') {
		theText = '<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... more possible is it for the little handful of people living\n\n' +
			'<span class="showoff">&lt;figure entity="Brittingham" <strong>rend="thumb"</strong>&gt;</span>\n	&lt;head&gt;BRITTINGHAM PARK, MADISON.&lt;/head&gt;\n' +
			'	&lt;p&gt;The advantages of a lake shore drive are here already demonstrated.&lt;/p&gt;\n	&lt;figDesc&gt;Photo of Brittingham Park, Madison&lt;/figDesc&gt;\n' +
			'&lt;/figure&gt;\n\nin Madison now, or even the larger population likely to live there later ...&lt;/p&gt;\n</pre>' +
			'<p><em>Display:</em></p>\n<p><img src="examples/figurethumb.gif" alt="figure example" width="449" height="214" border="0"></p>\n';
	}
	else if (xmpl == '5.2.7a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/quote.jpg" alt="quote example" width="345" height="149" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... and when the echo was beginning to swell on the breeze, \n<span class="showoff">&lt;q rend="block"&gt;</span>\n' +
			'    &lt;lg type="group"&gt;\n    &lt;l&gt;"Up flew the windows all,"&lt;/l&gt;\n    &lt;/lg&gt;\n<span class="showoff">&lt;/q&gt;</span>\n' +
			'of many a dwelling, whose inmates would shrink from the gaze\nof the vulgar...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.7b') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/quote.jpg" alt="quote example" width="345" height="149" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... and when the echo was beginning to swell on the breeze, \n&lt;q rend="block"&gt;\n' +
			'    &lt;lg type="group"&gt;\n    &lt;l&gt;<span class="showoff"><strong>"</strong></span>Up flew the windows all,<span class="showoff"><strong>"</strong></span>&lt;/l&gt;\n    &lt;/lg&gt;\n&lt;/q&gt;\n' +
			'of many a dwelling, whose inmates would shrink from the gaze\nof the vulgar...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.8a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/letterquote1.gif" alt="letter example" width="500" height="287" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... oblivious to the sound of every other instrument in\n    the office. This is what he heard:\n' +
			'<span class="showoff">&lt;q&gt;&lt;text&gt;&lt;body&gt;<strong>&lt;div1 type="Letter"&gt;</strong></span>\n    &lt;opener&gt;\n        &lt;dateline&gt;SOUTH BEND, July 6, 1902.&lt;/dateline&gt;\n' +
			'        &lt;salute&gt;Conductors Jennings and Brown:&lt;/salute&gt;\n    &lt;/opener&gt;\n    &lt;p&gt;Jennings will pilot Extra 326 and Brown will pilot Extra 1032\n' +
			'        Spring Valley to Ortonville. These extras are circus trains due\n        at Ortonville 4 A. M. and must not be delayed.&lt;/p&gt;\n    &lt;signed&gt;J. P. S.,&lt;lb&gt;&lt;hi rend="italic"&gt;Chief Train Despatcher&lt;/hi&gt;.&lt;/signed&gt;\n' +
			'<span class="showoff"><strong>&lt;/div1&gt;</strong>&lt;/body&gt;&lt;/text&gt;&lt;/q&gt;</span>\n&lt;/p&gt;\n\n&lt;p&gt;Hatheway had known from the large posters ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.8b') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/letterquote2.gif" alt="letter example" width="500" height="287" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... oblivious to the sound of every other instrument in\n    the office. This is what he heard:\n' +
			'&lt;q&gt;&lt;text&gt;&lt;body&gt;&lt;div1 type="Letter"&gt;\n    &lt;opener&gt;\n        <span class="showoff">&lt;dateline&gt;</span>SOUTH BEND, July 6, 1902.<span class="showoff">&lt;/dateline&gt;</span>\n' +
			'        &lt;salute&gt;Conductors Jennings and Brown:&lt;/salute&gt;\n    &lt;/opener&gt;\n    &lt;p&gt;Jennings will pilot Extra 326 and Brown will pilot Extra 1032\n' +
			'        Spring Valley to Ortonville. These extras are circus trains due\n        at Ortonville 4 A. M. and must not be delayed.&lt;/p&gt;\n    &lt;signed&gt;J. P. S.,&lt;lb&gt;&lt;hi rend="italic"&gt;Chief Train Despatcher&lt;/hi&gt;.&lt;/signed&gt;\n' +
			'&lt;/div1&gt;&lt;/body&gt;&lt;/text&gt;&lt;/q&gt;\n&lt;/p&gt;\n\n&lt;p&gt;Hatheway had known from the large posters ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.8c') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/letterquote3.gif" alt="letter example" width="500" height="287" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... oblivious to the sound of every other instrument in\n    the office. This is what he heard:\n' +
			'&lt;q&gt;&lt;text&gt;&lt;body&gt;&lt;div1 type="Letter"&gt;\n    <span class="showoff">&lt;opener&gt;</span>\n        &lt;dateline&gt;SOUTH BEND, July 6, 1902.&lt;/dateline&gt;\n' +
			'        <span class="showoff">&lt;salute&gt;</span>Conductors Jennings and Brown:<span class="showoff">&lt;/salute&gt;</span>\n    <span class="showoff">&lt;/opener&gt;</span>\n    &lt;p&gt;Jennings will pilot Extra 326 and Brown will pilot Extra 1032\n' +
			'        Spring Valley to Ortonville. These extras are circus trains due\n        at Ortonville 4 A. M. and must not be delayed.&lt;/p&gt;\n    <span class="showoff">&lt;!-- no &lt;closer&gt; necessary --&gt;</span>\n    ' +
			'<span class="showoff">&lt;signed&gt;</span>J. P. S.,<span class="showoff">&lt;lb&gt;</span>&lt;hi rend="italic"&gt;Chief Train Despatcher&lt;/hi&gt;.<span class="showoff">&lt;/signed&gt;</span>\n' +
			'&lt;/div1&gt;&lt;/body&gt;&lt;/text&gt;&lt;/q&gt;\n&lt;/p&gt;\n\n&lt;p&gt;Hatheway had known from the large posters ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.9a') {
		theText = '<p><img src="examples/hisuper.gif" alt="hi example" width="596" height="57" border="0"></p>\n' +
			'<pre>\n&lt;p&gt;... The question is, Shall the theatres educate these millions right\n    or wrong?"&lt;ref targType="div2" target="MC.nt.3"&gt;<span class="showoff">&lt;hi rend="super"&gt;</span>3<span class="showoff">&lt;/hi&gt;</span>&lt;/ref&gt;&lt;/p&gt;\n</pre>\n' +
			'<hr>\n<p><img src="examples/hiitalic.gif" alt="hi example" width="476" height="50" border="0"></p>\n' +
			'<pre>\n&lt;p&gt;<span class="showoff">&lt;hi rend="italic"&gt;</span>Resolved by the Senate, the Assembly concurring,<span class="showoff">&lt;/hi&gt;</span> That article\n' +
			'    XI of the constitution be amended by adding a new section thereto to be known as\n    section 3a to read:&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.9b') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/letterquote3.gif" alt="letter example" width="500" height="287" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;p&gt;... oblivious to the sound of every other instrument in\n    the office. This is what he heard:\n' +
			'&lt;q&gt;&lt;text&gt;&lt;body&gt;&lt;div1 type="Letter"&gt;\n    &lt;opener&gt;\n        &lt;dateline&gt;SOUTH BEND, July 6, 1902.&lt;/dateline&gt;\n' +
			'        &lt;salute&gt;<span class="showoff">&lt;!-- all salutes are italicized --&gt;</span>Conductors Jennings and Brown:&lt;/salute&gt;\n    &lt;/opener&gt;\n    &lt;p&gt;Jennings will pilot Extra 326 and Brown will pilot Extra 1032\n' +
			'        Spring Valley to Ortonville. These extras are circus trains due\n        at Ortonville 4 A. M. and must not be delayed.&lt;/p&gt;\n    &lt;signed&gt;J. P. S.,&lt;lb&gt;<span class="showoff">&lt;hi rend="italic"&gt;Chief Train Despatcher.&lt;/hi&gt;</span>&lt;/signed&gt;\n' +
			'&lt;/div1&gt;&lt;/body&gt;&lt;/text&gt;&lt;/q&gt;\n&lt;/p&gt;\n\n&lt;p&gt;Hatheway had known from the large posters ...&lt;/p&gt;\n</pre>';
	}
	else if (xmpl == '5.2.11a') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/error1.gif" alt="error example" width="382" height="78" border="0"></p>\n<p><em>Transcription:</em></p>\n' +
			'<pre>\nAnother also, on Lord Bacon of Verulam, by the young Unitarian minister,\n' +
			'Mr. Livermore, which was interesting from its impartiality and its\nprofound <span class="showoff">pshychological</span> glance.\n</pre>\n' +
			'<hr><p><em>Source:</em></p>\n<p><img src="examples/error2.gif" alt="error example" width="382" height="96" border="0"></p>\n<p><em>Transcription:</em></p>\n<pre>\n' +
			'I went from Nahant to Salem on the 8th of this month, and at the house of\nthe mayor there, Mr. S., was in company with, and <span class="showoff">shooks</span> hands with between\n' +
			'fifty and sixty Salemites, among whom were some very pretty young witches,\nand some very kind friends of mine.\n</pre>';
	}
	else if (xmpl == '5.2.11c') {
		theText = '<p><em>Source:</em></p>\n<p><img src="examples/supplpage.gif" alt="page example" width="635" height="226" border="0"></p>\n' +
			'<p><em>Encoding:</em></p>\n<pre>\n&lt;div1 type="Chapter" n="VIII"&gt;\n<span class="showoff">&lt;pb n="<strong>264</strong>"&gt;</span>\n' +
			'&lt;head&gt;CHAPTER VIII.&lt;/head&gt;\n' +
			'&lt;epigraph&gt;\n    &lt;lg type="group"&gt;\n    &lt;l&gt;"Oh! could we from death but recover."&lt;/l&gt;\n    &lt;/lg&gt;\n&lt;/epigraph&gt;\n' +
			'...\n&lt;p&gt;... The roof of <span class="showoff">&lt;pb n="<strong>265</strong>"&gt;</span>the church is gone...&lt;/p&gt;\n...\n&lt;/div1&gt;\n</pre>';
	}
	else if (xmpl == '5.5.1a') {
		theText = '<pre>&lt;entry id="mara-1" <span class="showoff">n="1"</span>&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;mara&lt;/orth&gt;\n' +
			'    &lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos" opt="y"&gt;n&lt;/gram&gt;\n        &lt;gram type="gen"&gt;f&lt;/gram&gt;\n' +
			'    &lt;/gramGrp&gt;\n\n    [...]\n\n&lt;/entry&gt;\n\n&lt;entry id="mara-2" <span class="showoff">n="2"</span>&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n' +
			'        &lt;orth type="std"&gt;mara&lt;/orth&gt;\n        &lt;orth type="marked"&gt;mar/a&lt;/orth&gt;\n    &lt;/form&gt;\n    &lt;gramGrp&gt;\n' +
			'        &lt;gram type="pos"&gt;v&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n\n    [...]\n\n&lt;/entry&gt;</pre>';
	}

	else if (xmpl == '5.5.1b') {
		theText = '<pre>&lt;entry id="skautadans" key="skautadans.0"&gt;\n    <span class="showoff">&lt;respons desc="added 2004-01-14" locus="all" resp="cs" ' +
			'target="skautadans"&gt;</span>\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;skautadans&lt;/orth&gt;\n        &lt;orth type="marked"&gt;skauta·dans&lt;/orth&gt;\n    &lt;/form&gt;\n\n    [...]\n\n&lt;/entry&gt;</pre>';
	}

	else if (xmpl == '5.5.2a') {
		theText = '<pre>&lt;entry id="stru1tur"&gt;\n    <span class="showoff">&lt;form lang="isl" type="lemma"&gt;</span>\n        &lt;orth type="std"&gt;strútur&lt;/orth&gt;\n' +
			'        &lt;orth type="marked"&gt;strút/ur&lt;/orth&gt;\n    <span class="showoff">&lt;/form&gt;</span>\n\n    [...]\n    \n&lt;/entry&gt;\n</pre>';
	}

	else if (xmpl == '5.5.2b') {
		theText = '<pre>&lt;entry id="hugvit"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth <span class="showoff">type="std"</span>&gt;hugvit&lt;/orth&gt;\n' +
			'        &lt;orth <span class="showoff">type="marked"</span>&gt;hug&middot;vit&lt;/orth&gt;\n    &lt;/form&gt;\n\n    [...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.3a') {
		theText = '' +
			'<pre>&lt;entry id="klekja"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;klekja&lt;/orth&gt;\n' +
			'    &lt;/form&gt;\n    <span class="showoff">&lt;gramGrp&gt;\n        &lt;gram type="pos"&gt;v&lt;/gram&gt;\n' +
			'        &lt;gram type="subc"&gt;dat&lt;/gram&gt;\n    &lt;/gramGrp&gt;</span>\n\n    [...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.4a') {
		theText = '<pre>&lt;entry id="ska1ka"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;skáka&lt;/orth&gt;\n' +
			'        &lt;orth type="marked"&gt;skák/a&lt;/orth&gt;\n    &lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos"&gt;v&lt;/gram&gt;\n' +
			'        &lt;gram type="subc"&gt;dat&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n    <span class="showoff">&lt;form type="infl-grp"&gt;</span>\n' +
			'        &lt;orth extent="suff"&gt;-aði&lt;/orth&gt;\n    <span class="showoff">&lt;/form&gt;</span>\n\n    [...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.4b') {
		theText = '<pre>&lt;entry id="bjo1d1a"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;bjóða&lt;/orth&gt;\n    &lt;/form&gt;\n' +
			'    &lt;gramGrp&gt;\n        &lt;gram type="pos"&gt;v&lt;/gram&gt;\n        &lt;gram type="subc"&gt;dat+acc&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n' +
			'    <span class="showoff">&lt;form type="infl-grp"&gt;</span>\n        &lt;orth extent="full"&gt;býður&lt;/orth&gt;\n    <span class="showoff">&lt;/form&gt;\n' +
			'    &lt;form type="infl-grp"&gt;</span>\n        &lt;orth extent="full"&gt;bauð&lt;/orth&gt;\n        &lt;orth extent="full"&gt;buðu&lt;/orth&gt;\n ' +
			'       &lt;orth extent="full"&gt;boðið&lt;/orth&gt;\n    <span class="showoff">&lt;/form&gt;</span>\n\n    [...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.4c') {
		theText = '<pre>&lt;entry id="ska1ka"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;skáka&lt;/orth&gt;\n' +
			'        &lt;orth type="marked"&gt;skák/a&lt;/orth&gt;\n    &lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos"&gt;v&lt;/gram&gt;\n' +
			'        &lt;gram type="subc"&gt;dat&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n    &lt;form type="infl-grp"&gt;\n' +
			'        <span class="showoff">&lt;orth extent="suff"&gt;-aði&lt;/orth&gt;</span>\n    &lt;/form&gt;\n\n    [...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.4d') {
		theText = '<pre>&lt;entry id="austur-2" n="2" key="austur.1"&gt;\n    &lt;respons desc="added 1989" locus="all" ' +
			'resp="sh.cs.jt" target="austur-2"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        ' +
			'&lt;orth type="std"&gt;austur&lt;/orth&gt;\n    &lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram ' +
			'type="pos"&gt;adv&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n    &lt;form type="infl-grp"&gt;\n        ' +
			'<span class="showoff">&lt;form type="inflected"&gt;\n            <strong>&lt;gram type="dgr"&gt;comp&lt;/gram&gt;</strong>\n            ' +
			'&lt;orth extent="full"&gt;austar&lt;/orth&gt;\n        &lt;/form&gt;</span>\n        &lt;form ' +
			'type="inflected"&gt;\n            &lt;gram type="dgr"&gt;superl&lt;/gram&gt;\n            &lt;orth ' +
			'extent="full"&gt;austast&lt;/orth&gt;\n        &lt;/form&gt;\n    &lt;/form&gt;\n\n    ' +
			'[...]\n\n&lt;/entry&gt;\n</pre>\n';
	}
	else if (xmpl == '5.5.4e') {
		theText = '<pre>&lt;entry id="fa1gun" key="fágun.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;fágun&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos" opt="y"&gt;n&lt;/gram&gt;\n        &lt;gram type="gen"&gt;f&lt;/gram&gt;\n    ' +
			'&lt;/gramGrp&gt;\n    &lt;form type="infl-grp"&gt;\n        &lt;orth extent="suff"&gt;-ar&lt;/orth&gt;\n    &lt;/form&gt;\n    <span ' +
			'class="showoff">&lt;form ana="psN" lang="isl" <strong>type="paradigm"</strong>&gt;\n        &lt;orth extent="full" ana="noS csN ' +
			'afIn"&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS csN afDf"&gt;fágunin&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS csA ' +
			'afIn"&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS csA afDf"&gt;fágunina&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS ' +
			'csD afIn"&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS csD afDf"&gt;fáguninni&lt;/orth&gt;\n        &lt;orth extent="full" ' +
			'ana="noS csG afIn"&gt;fágunar&lt;/orth&gt;\n        &lt;orth extent="full" ana="noS csG afDf"&gt;fágunarinnar&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;</span>\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            &lt;tr&gt;refinement&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.4f') {
		theText = '<pre>&lt;entry id="fa1gun" key="fágun.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;fágun&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos" opt="y"&gt;n&lt;/gram&gt;\n        &lt;gram type="gen"&gt;f&lt;/gram&gt;\n    ' +
			'&lt;/gramGrp&gt;\n    &lt;form type="infl-grp"&gt;\n        &lt;orth extent="suff"&gt;-ar&lt;/orth&gt;\n    &lt;/form&gt;\n    ' +
			'&lt;form <span class="showoff"><strong>ana="psN"</strong></span> lang="isl" type="paradigm"&gt;\n        <span class="showoff">&lt;orth extent="full" <strong>ana="noS csN ' +
			'afIn"</strong>&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS csN afDf"</strong>&gt;fágunin&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS csA ' +
			'afIn"</strong>&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS csA afDf"</strong>&gt;fágunina&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS ' +
			'csD afIn"</strong>&gt;fágun&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS csD afDf"</strong>&gt;fáguninni&lt;/orth&gt;\n        &lt;orth extent="full" ' +
			'<strong>ana="noS csG afIn"</strong>&gt;fágunar&lt;/orth&gt;\n        &lt;orth extent="full" <strong>ana="noS csG afDf"</strong>&gt;fágunarinnar&lt;/orth&gt;</span>\n    ' +
			'&lt;/form&gt;\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            &lt;tr&gt;refinement&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.5a') {
		theText = '<pre>&lt;entry id="tro1d1-2" n="2" key="tróð.1"&gt;\n        &lt;respons desc="added 1989" locus="all" resp="sh.cs.jt" ' +
			'target="tro1d1-2"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;tróð&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n    <span class="showoff">&lt;xr <strong>type="seeref"</strong>&gt;<strong>&amp;see;</strong> &lt;ref ' +
			'lang="isl" targType="entry" target="trod1a" type="xref"&gt;troða&lt;/ref&gt;\n    &lt;/xr&gt;</span>\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.6a') {
		theText = '<pre>&lt;entry id="hly1d1inn" key="hlýðinn.0"&gt;\n    &lt;respons desc="added 1989" locus="all" resp="sh.cs.jt" ' +
			'target="hly1d1inn"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;hlýðinn&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n    &lt;gramGrp&gt;\n        &lt;gram type="pos"&gt;adj&lt;/gram&gt;\n    &lt;/gramGrp&gt;\n    <span ' +
			'class="showoff">&lt;etym&gt;</span>\n        &lt;xr type="fromref"&gt;&from; &lt;ref lang="isl" targType="entry" ' +
			'target="hly1d1a" type="xref"&gt;hlýða&lt;/ref&gt;&lt;/xr&gt;\n    <span class="showoff">&lt;/etym&gt;</span>\n\n    ' +
			'[...]\n\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7a') {
		theText = '<pre>&lt;entry id="o1merkja" key="ómerkja.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        ' +
			'&lt;orth type="std"&gt;ómerkja&lt;/orth&gt;\n        &lt;orth type="marked"&gt;ó·merk/ja&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n\n    [...]\n\n    <span class="showoff">&lt;sense n="1"&gt;</span>\n        &lt;trans ' +
			'lang="eng"&gt;\n            &lt;tr&gt;annul, render/declare null and void&lt;/tr&gt;\n        &lt;/trans&gt;\n    ' +
			'<span class="showoff">&lt;/sense&gt;\n    &lt;sense n="2"&gt;</span>\n        &lt;trans lang="eng"&gt;\n            ' +
			'&lt;tr&gt;deliberately not take into account&lt;/tr&gt;\n        &lt;/trans&gt;\n    <span ' +
			'class="showoff">&lt;/sense&gt;</span>\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7b') {
		theText = '<pre>&lt;entry id="ra1d1a" key="ráða.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;ráða&lt;/orth&gt;\n    &lt;/form&gt;\n\n    [...]\n\n    <span class="showoff">&lt;sense n="A"&gt;\n        ' +
			'<strong>&lt;gramGrp&gt;</strong></span>\n            &lt;gram type="subc"&gt;acc&lt;/gram&gt;\n        <span ' +
			'class="showoff"><strong>&lt;/gramGrp&gt;</strong>\n        &lt;sense n="1"&gt;</span>\n            ' +
			'<strong>&lt;usg&gt;</strong>&lt;oRef type="part" /&gt; til starfs<strong>&lt;/usg&gt;</strong>\n            &lt;trans ' +
			'lang="eng"&gt;\n                &lt;tr&gt;employ, engage, hire&lt;/tr&gt;\n            &lt;/trans&gt;\n        <span ' +
			'class="showoff">&lt;/sense&gt;\n        &lt;sense n="2"&gt;\n            <strong>&lt;usg&gt;</strong>leysa ' +
			'úr<strong>&lt;/usg&gt;</strong></span>\n            &lt;trans lang="eng"&gt;\n                &lt;tr&gt;solve&lt;/tr&gt;\n            ' +
			'&lt;/trans&gt;\n        <span class="showoff">&lt;/sense&gt;\n    &lt;/sense&gt;\n    &lt;sense n="B"&gt;\n        ' +
			'<strong>&lt;gramGrp&gt;</strong></span>\n            &lt;gram type="subc"&gt;dat&lt;/gram&gt;\n        <span ' +
			'class="showoff"><strong>&lt;/gramGrp&gt;</strong>\n        &lt;sense n="1"&gt;\n            ' +
			'<strong>&lt;usg&gt;</strong>stjórna<strong>&lt;/usg&gt;</strong></span>\n            &lt;trans lang="eng"&gt;\n                ' +
			'&lt;tr&gt;command, rule, control&lt;/tr&gt;\n            &lt;/trans&gt;\n        <span class="showoff">&lt;/sense&gt;\n        ' +
			'&lt;sense n="2"&gt;\n            <strong>&lt;usg&gt;</strong>ákveða<strong>&lt;/usg&gt;</strong></span>\n            &lt;trans ' +
			'lang="eng"&gt;\n                &lt;tr&gt;decide&lt;/tr&gt;\n            &lt;/trans&gt;\n        <span ' +
			'class="showoff">&lt;/sense&gt;\n    &lt;/sense&gt;</span>\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7c') {
		theText = '<pre>&lt;entry id="o1merkja" key="ómerkja.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        ' +
			'&lt;orth type="std"&gt;ómerkja&lt;/orth&gt;\n        &lt;orth type="marked"&gt;ó·merk/ja&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n\n    [...]\n\n    &lt;sense n="1"&gt;\n        <span class="showoff">&lt;trans ' +
			'<strong>lang="eng"</strong>&gt;\n            &lt;tr&gt;</span>annul, render/declare null and void<span class="showoff">&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;</span>\n    &lt;/sense&gt;\n    &lt;sense n="2"&gt;\n        <span class="showoff">&lt;trans ' +
			'<strong>lang="eng"</strong>&gt;\n            &lt;tr&gt;</span>deliberately not take into account<span class="showoff">&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;</span>\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7d') {
		theText = '<pre>&lt;entry id="sja1lfsa1byrgd1" key="sjálfsábyrgð.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;sjálfsábyrgð&lt;/orth&gt;\n        &lt;orth type="marked"&gt;sjálfs·ábyrgð&lt;/orth&gt;\n    ' +
			'&lt;/form&gt;\n\n    [...]\n\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            <span ' +
			'class="showoff">&lt;usg&gt;í tryggingum&lt;/usg&gt;</span>\n            &lt;tr&gt;deductible, own risk&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7.1a') {
		theText = '<pre>&lt;entry id="prestakall" key="prestakall.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;prestakall&lt;/orth&gt;\n        &lt;orth type="marked"&gt;presta/kall&lt;/orth&gt;\n    &lt;/form&gt;\n\n    ' +
			'[...]\n\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            &lt;tr&gt;parish, incumbency&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n        <span class="showoff">&lt;re <strong>id="prestakall.1"</strong> type="phrase"&gt;</span>\n            ' +
			'&lt;form lang="isl"&gt;\n                &lt;orth extent="phrase"&gt;hann fékk þetta &lt;oRef type="std" /&gt;' +
			'&lt;/orth&gt;\n            &lt;/form&gt;\n            &lt;sense&gt;\n                &lt;trans lang="eng"&gt;\n                    ' +
			'&lt;tr&gt;he was appointed to this parish&lt;/tr&gt;\n                &lt;/trans&gt;\n            &lt;/sense&gt;\n        <span ' +
			'class="showoff">&lt;/re&gt;</span>\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7.1b') {
		theText = '<pre>&lt;entry id="prestakall" key="prestakall.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;prestakall&lt;/orth&gt;\n        &lt;orth type="marked"&gt;presta/kall&lt;/orth&gt;\n    &lt;/form&gt;\n\n    ' +
			'[...]\n\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            &lt;tr&gt;parish, incumbency&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n        &lt;re id="prestakall.1" type="phrase"&gt;\n            ' +
			'<span class="showoff">&lt;form lang="isl"&gt;\n                &lt;orth extent="phrase"&gt;</span>hann fékk þetta &lt;oRef type="std" /&gt;' +
			'<span class="showoff">&lt;/orth&gt;\n            &lt;/form&gt;\n            &lt;sense&gt;\n                &lt;trans lang="eng"&gt;</span>\n                    ' +
			'&lt;tr&gt;he was appointed to this parish&lt;/tr&gt;\n                <span class="showoff">&lt;/trans&gt;\n            &lt;/sense&gt;</span>\n        ' +
			'&lt;/re&gt;\n    &lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7.1c') {
		theText = '<pre>&lt;entry id="prestakall" key="prestakall.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth ' +
			'type="std"&gt;prestakall&lt;/orth&gt;\n        &lt;orth type="marked"&gt;presta/kall&lt;/orth&gt;\n    &lt;/form&gt;\n\n    ' +
			'[...]\n\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            &lt;tr&gt;parish, incumbency&lt;/tr&gt;\n        ' +
			'&lt;/trans&gt;\n        &lt;re id="prestakall.1" type="phrase"&gt;\n            ' +
			'&lt;form lang="isl"&gt;\n                &lt;orth extent="phrase"&gt;hann fékk þetta <span class="showoff">&lt;oRef <strong>type="std"</strong> /&gt;</span>' +
			'&lt;/orth&gt;\n            &lt;/form&gt;\n            &lt;sense&gt;\n                &lt;trans lang="eng"&gt;\n                    ' +
			'&lt;tr&gt;he was appointed to this parish&lt;/tr&gt;\n                &lt;/trans&gt;\n            &lt;/sense&gt;\n        &lt;/re&gt;\n' +
			'&lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == '5.5.7.1d') {
		theText = '<pre>&lt;entry id="prjo1nn" key="prjónn.0"&gt;\n    &lt;form lang="isl" type="lemma"&gt;\n        &lt;orth type="std"&gt;prjónn&lt;/orth&gt;\n        ' +
			'&lt;orth type="marked"&gt;prjón/n&lt;/orth&gt;\n    &lt;/form&gt;\n\n    [...]\n\n    &lt;sense&gt;\n        &lt;trans lang="eng"&gt;\n            ' +
			'&lt;tr&gt;knitting needle&lt;/tr&gt;\n        &lt;/trans&gt;\n        &lt;re id="prjo1nn.1" type="phrase"&gt;\n            &lt;form ' +
			'lang="isl"&gt;\n                &lt;orth extent="phrase"&gt;hafa e-ð á <span class="showoff">&lt;oRef <strong>type="part"</strong> ' +
			'/&gt;</span>unum&lt;/orth&gt;\n            &lt;/form&gt;\n            &lt;sense&gt;\n                &lt;trans lang="eng"&gt;\n                    ' +
			'&lt;tr&gt;have a project underway&lt;/tr&gt;\n                &lt;/trans&gt;\n            &lt;/sense&gt;\n        &lt;/re&gt;\n    ' +
			'&lt;/sense&gt;\n&lt;/entry&gt;\n</pre>';
	}
	else if (xmpl == 'foo') {
		theText = '' +
			'' +
			'' +
			'' +
			'' +
			'' +
			'';
	}

	return theText;

}

function ExampleWindow(section, xmpl, size) {

//Create window with the example

	var width = "500";
	var height = "400";
	
	if (size == "big") {
		height = "600";
		width = "640";
	}

	// Define contents of page
	// Broken up by section to help performance

	if (section.charAt(0) == "1") {
		var xmpltext = GetS1Text(xmpl);
	}
	else if (section.charAt(0) == "2") {
		var xmpltext = GetS2Text(xmpl);
	}
	else if (section.charAt(0) == "3") {
		var xmpltext = GetS3Text(xmpl);
	}
	else if (section.charAt(0) == "4") {
		var xmpltext = GetS4Text(xmpl);
	}
	else if (section.charAt(0) == "5") {
		var xmpltext = GetS5Text(xmpl);
	}

	wcontents = '<html>\n<head>\n<title>Guidelines for Markup of Electronic Texts: Example</title>\n' +
			//'<link rel="stylesheet" type="text/css" href="guidelines.css" title=Basic>\n' +
			// IE doesn't like the linked stylesheet, so we embed it here
			'<style type="text/css"><!-- .showoff { color: red } --></style>\n' +
			'</head>\n<body>\n<h2>Section ' +
			section +
			': Example</h2>\n<hr>\n'+
	        xmpltext +
	        '\n</body></html>';

	//Define type of window

	options = "toolbar=0,status=0,menubar=0,scrollbars=1," +
	        "resizable=1,width=" + width + ",height=" + height;

	Ewindow = window.open("","xmplWindow", options);

	if (Ewindow.opener == null) {
		Ewindow.opener = window;
	}

	Ewindow.document.open();
	Ewindow.document.write(wcontents);
	Ewindow.document.close();
	
	if(window.Ewindow)
		Ewindow.focus();

}

function CloseWindows() {

	if(window.Ewindow && window.Ewindow.close) {
		Ewindow.close();
	}
}
	
// - End of JavaScript -
