
function checkString() {
	if (location.search) { 
	faq = location.search;
	for (i=0; i<=document.form.faq.length-1; i++) {
		temp = document.form.faq.options[i].value;
		if (temp == location.search) {
		document.form.faq.selectedIndex = i;
		messageReveal();
         	}   
		}
	}
}


function messageReveal() {

faq=document.form.faq.options[document.form.faq.selectedIndex].value;

if (faq=="") display = "";

if (faq=="?record")
display = "\r\nA MARC record is a MAchine-Readable Cataloging record.";

if (faq=="?readable")
display = "\r\n'Machine-readable' means a that one particular type of machine, a computer, can read and interpret the data in the cataloging record.";

if (faq=="?cataloging")
display = "\r\n'Cataloging record' means a bibliographic record, or the information traditionally shown on a catalog card. The record includes (not necessarily in this order): 1) a description of the item, 2) main entry and added entries, 3) subject headings, and 4) the classification or call number. (MARC records often contain much additional information)";

if (faq=="?description")
display = "\r\nDescription:\r\n\r\nLibrarians follow the rules in Anglo-American Cataloging Rules, 2nd ed., 1998 revision (popularly known as AACR2R) to compose the bibliographic description of a library item. This 'description' is shown in the paragraph sections of a card. It includes the title, statement of responsibility, edition, material specific details, publication information, physical description, series, notes, and standard numbers.";

if (faq=="?entry")
display = "\r\nMain entry and added entries:\r\n\r\nAACR2R also contains rules for determing 'access points' to the record (usually referred to as the 'main entry' and 'other added entries'), and the form these access points should take. Access points are the retrieval points in the library catalog where patrons should be able to look up the item.\r\n\r\n  In other words, the rules in AACR2R are used to answer questions such as: For this book, should there be entries in the catalog for more than one author or more than one title? Should the title of the series be noted? How should the author's name be written? Is this a 'title main entry' item (no author)?";

if (faq=="?subject")
display = "\r\nSubject headings (subject added entries):\r\n\r\nThe librarian uses the Sears List of Subject Headings (Sears), the Library of Congress Subject Headings (LCSH), or some other list of standard subject headings to select the subjects under which the item will be listed. Use of an approved list is important for consistency, to ensure that all items on a particular subject are found under the same heading and therefore in the same place in the catalog.\r\n\r\nFor instance, the subject headings list indicates that all books about cats should be assigned the subject CATS. Using this authorized heading eliminates the possibility of listing some books under CATS and others under FELINES. Even if a book is called ALL About Felines, the subject headings will be listed in one place in the catalog for the patron to find. The patron does not have to imagine all the possible synonyms for the word he is looking for.";

if (faq=="?callnumber")
display = "\r\nCall number:\r\n\r\nThe librarian uses a Dewey decimal or Library of Congress classification schedule to select the call number for the item. The purpose of the call number is to place items on the same subject together on the same shelf in the library. Most items are subarranged alphabetically by author. The second part of the call number usually represents the author's name, facilitating this subarrangement.";

document.form.field.value = display;
}

