// JavaScript Document
function setDetails(flr, name){
	//this function updates the mapInfo div with the correct HTML
	//that is relevant for the selected area
	var details = Array(1,2,3);
	//set first floor
	details[1] = Array();
	details[1]['Enter/Exit'] = 
		"Welcome to the Library!";
		
	details[1]['Daily Newspapers'] = 
		"You will find titles such as:<br /><br /><em>Contra Costa Times; The New York Times; Oakland Tribune; The San Francisco Chronicle; Wall Street Journal</em>;<br /><br />Daily Newspapers are generally kept for a month, weeklies for six months and others for a year. Back issues are kept with the current periodicals.<br /><br />";
		
	details[1]['Best Sellers'] = 
		"Come see recent New York Times bestsellers!";
		
	details[1]['New Books'] = 
		"Selected <strong>New Books</strong> are displayed for browsing and checkout at the kiosk on the first floor.";
		
	details[1]['Seminar Room'] = 
		"The Seminar Room on the first floor may be used by small groups for a maximum of two (2) hours. Groups can range from two to eight people. This room must be reserved (on a first-come, first-served basis) at the Circulation Desk. The Seminar Room cannot be reserved for classroom use or any other regularly scheduled meetings.";
		
	details[1]['CaTS Computer Lab & Help Desk'] = 
		"<a href='https://smcnet.stmarys-ca.edu/college_services/cats/'><strong>Click here</strong></a> for CATS - Computer and Technology Services";
		
	details[1]['Library Conference Room & Lasallian Collection'] = 
		"Primarily used for library instruction. It contains the Library for Lasallian Studies on 17th and 18th century Christian spirituality in France, relating to Saint John Baptist de La Salle, founder of the Christian Brothers. For more information ask at the Reference Desk.";
		
	details[1]['Reference Room'] = 
		"The Reference Collection contains a wide range of books and other source materials useful for finding information or starting research on almost any subject. To find information on a topic, try using Albert or ask a librarian at the Reference Desk.";
		
	details[1]['Card Catalogs'] = 
		"There are two separate <strong>Card Catalogs</strong> on the first floor of the library, the Author/Title Catalog and the Subject Catalog. Card Catalogs are needed to find some materials acquired prior to 1982.";
		
	details[1]['Atlases'] = 
		"The <strong>Atlas Case</strong>, located on the first floor near the Card Catalog, contains a number of large Atlases; additional atlases are kept in the Reference Room in the Oversize shelves, and primarily in the 911 and 912 sections.";
		
	details[1]['Copiers'] = 
		"<strong>Photocopy and Printing Services</strong>:  The Library offers card-access printing from our photocopiers, computers, and microform reader/printers. ";
		
	details[1]['Print Station'] = 
		"<strong>Printing</strong>: High quality laser printing is available from Library computers.";
		
	details[1]['Periodical Newspapers'] = 
		"The most recent issues of our Current Periodicals that have not yet been bound are shelved on the first floor.";
		
	details[1]['Periodical Indexes'] = 
		"Some periodical indices are not yet available online, and are instead kept in print. Such titles include <i>Readers' Guide to Periodical Literature, Hispanic American Periodicals Index</i>, and older years of the <i>Book Review Index</i>. There is also print versions of <i>Physical Education Index</i>, which we also have available online.";
		
	details[1]['Reference Desk'] = 
		"Ask for help here.";
		
	details[1]['Circulation Reserves/Reserves/Media Collection/Interlibrary Loan'] = 
		"<a href='/services/index.html'><strong>Click here</strong></a> for Circulation & Reserves Services.";
		
	details[1]['Staff'] = 
		"<a href='/about/staff/allstaff.html'><strong>Click here</strong></a> for the staff list";
		
	details[1]['Pamphlet Files'] = 
		"Find <strong>Bay Area Telephone Books</strong> here.";
		
	details[1]['Copy Card Machine'] = 
		"<strong>Photocopy and Printing Services</strong>: The Library offers card-access printing from our photocopiers, computers, and microform reader/printers.";
		
	details[1]['Microfiche Readers/Printers'] = 
		"There are two <strong>Microfiche Reader-Printers</strong> available for use in the Reference Room. (There is also one available on the 3rd floor). ";
		
	details[1]['Microfiche Files'] = 
		"The <strong>Microfiche Collection</strong>, found in cabinets on the first floor of the Reference Room, consists of ERIC Documents, document number ED 205 700 to 483 004. Other more recent ERIC documents are available via the Web.";
		
		
	//set second floor
	details[2] = Array();
	details[2]['Byron Bryant Viewing Room'] = 
		"The <strong>Byron Bryant Viewing Room</strong> is a small room on the second floor of the Library equipped with video equipment available to groups of 2-6 people to view the Library's VHS and DVD collection.";
	
	details[2]['Quiet Study'] = 
		"<strong>Quiet Study</strong> areas in the library include two large areas on the second floor and individual study carrels in the stacks on the second floor and on the third floor.";
	
	details[2]['842.45-999'] = 
		"<strong>Circulating Books</strong> are located on the second floor of the library unless otherwise noted in Albert or the Card Catalogs and are arranged according to the Dewey Call Numbers.";
	
	details[2]['Balcony'] = 
		"Enjoy the outdoors without leaving the library environment.";
	
	details[2]['Cataloged Microfilm / Arthur S. Miller Map Collection'] = 
		"Older items placed on microfilm can be found in the Card Catalog. These items were placed on microfilm, and the microfilm reel number is indicated with the location on the card catalog entry.";
	
	details[2]['Career Guides'] = 
		"Browse the career guides and interview help books.";
	
	details[2]['001-329.894'] = 
		"<strong>Circulating Books</strong> are located on the second floor of the library unless otherwise noted in Albert or the Card Catalogs and are arranged according to the Dewey Call Numbers.<br /><br />";
	
	details[2]['Media Viewing Carrels'] = 
		"The <strong>Media Carrels</strong> contain televisions and video equipment (VHS and DVD) for viewing of videocassettes or DVDs on Reserve or otherwise unable to leave the Library building. Headphones are available at the Circulation Desk.";
	
	details[2]['Media Center'] = 
		"Contact the <a href='https://smcnet.stmarys-ca.edu/college_services/cats/'>Media Center</a> for help with equipment, or call the Help Desk at x4266.";
	
	details[2]['Staff'] = 
		"<a href='/about/staff/allstaff.html'><strong>Click here</strong></a> for staff list.";
	
	details[2]['Wildenradt Theater'] = 
		"The <strong>Wildenradt Theater</strong> is a thirty seat theater, reservable by faculty and staff for audio-visual use. Available equipment includes VHS/VCR, Beta and Laser disc players as well as a state-of-the-art visual presenter for overheads, transparencies, and many other projection media.<br /><br />Contact the Circulation Desk at (925) 631-4229 for information on reserving this room. For questions regarding equipment use or problems with equipment, call the CaTS Help Desk at x4266.";
	
	details[2]['Reference Overflow Books'] = 
		"<strong>Reference Overflow Books</strong> consist of dictionaries (English, Spanish, Italian and German) and older encyclopedias (several in English and Spanish and the New Catholic Encyclopedia).";
	
	details[2]['Phonograph Records'] = 
		"A collection of <strong>Phonograph Records</strong> is located on the second floor of the library. Media carrels are available for listening to records.";
	
	details[2]['658.401-842.42'] = 
		"<strong>Circulating Books</strong> are located on the second floor of the library unless otherwise noted in Albert or the Card Catalogs and are arranged according to the Dewey Call Numbers.";
	
	details[2]['330-658.401'] = 
		"<strong>Circulating Books</strong> are located on the second floor of the library unless otherwise noted in Albert or the Card Catalogs and are arranged according to the Dewey Call Numbers.";
		
	
	//set third floor
	details[3] = Array();
	details[3]['Periodicals A-Fam'] = 
		"Bound back issues of periodicals are available in the Periodical Stacks, located on the third floor of the Library and arranged by title. Back issues of many periodicals in Microfilm, along with reader-printers for microfilm, are also available on the third floor of the library.";
		
		details[3]['Periodicals N-Z'] = 
		"Bound back issues of periodicals are available in the Periodical Stacks, located on the third floor of the Library and arranged by title. Back issues of many periodicals in Microfilm, along with reader-printers for microfilm, are also available on the third floor of the library.";
		
		details[3]['Periodicals M'] = 
		"Bound back issues of periodicals are available in the Periodical Stacks, located on the third floor of the Library and arranged by title. Back issues of many periodicals in Microfilm, along with reader-printers for microfilm, are also available on the third floor of the library.";
		
		details[3]['Periodicals Far-Ma'] = 
		"Bound back issues of periodicals are available in the Periodical Stacks, located on the third floor of the Library and arranged by title. Back issues of many periodicals in Microfilm, along with reader-printers for microfilm, are also available on the third floor of the library.";
		
		details[3]['Microfilm A-K'] = 
		"Periodicals on Microfilm in cabinets and Microfilm Reader-Printers are both housed on the third floor of the Library.";
		
		details[3]['Microfilm Readers'] = 
		"Periodicals on Microfilm in cabinets and Microfilm Reader-Printers are both housed on the third floor of the Library.";
		
		details[3]['Microfilm L-Z'] = 
		"Periodicals on Microfilm in cabinets and Microfilm Reader-Printers are both housed on the third floor of the Library.";
		
		details[3]['Quiet Study'] = 
		"Quiet Study areas in the library include two large areas on the second floor and individual study carrels in the stacks on the second floor and on the third floor.";
		
		details[3]['Maps'] = 
		"Maps for classroom use available here.";
		
		details[3]['Network Computer'] = 
		"Network computer available here.";
		
		details[3]['College Archives and Special Collections'] = 
		"<strong>Click here</strong></a> to view <a href='about/archives/index.html'>College Archives</a> and <a href='about/special/index.html'>Special Collections</a> information.";
		
		details[3]['Staff'] = 
		"<a href='/about/staff/allstaff.html'><strong>Staff directory.</a></strong>";
		
		details[3]['Paralegal/Oversize/Church Fathers(BQ)/Music Scores'] = 
		"On the third floor are: <strong>Paralegal Books</strong> consisting of both Federal and State legal reference sets, legal journals and some legal monographs, <strong>Oversize Books</strong> (those too large to fit upright on regular shelving), and <strong>Music Scores</strong>.";
		
	//update mapInfo div
	document.getElementById('mapInfo').innerHTML = details[flr][name];
}//END function setDetails 

function displayDetails(flr, name){
	//this function displays a pop up box with details
	//of the selected area
	//set mapInfo div w/ correct info
	setDetails(flr,name);
	 
	var title   = name;
	
	TagToTip('mapInfo', 
		TITLE, title,
		TITLEFONTCOLOR, '#EBE1D1', 
		BGCOLOR, '#DEC9AB',
		FONTCOLOR, '#474031',
		BORDERCOLOR, '#786B54',
		CLOSEBTNCOLORS, ['#EDE1CE', '#786B54', '#EBE1D1', '#999081'],
		//['#background', '#text', '#highlightedcolor', '#Highlightedtextcolor'],
		WIDTH, 300, 
		SHADOW, true, 
		FADEIN, 500, 
		FADEOUT, 0, 
		OPACITY, 90,
		STICKY, true, 
		CLOSEBTN, true, 
		CLICKCLOSE, false);
}//END function displayDetails 