//  SCRIPT THAT ROTATES THE SPOTLIGHT ON THE INDEX PAGE
function spotlight()	{
	
	// ARRAY CONTAINING THE DIFFERENT SPOTLIGHT ITEMS
	var spotArr = new Array();

	

         // spotArr[ 0] = '<img src="images/lab.gif" alt="Library Spotlight" /><p>The Stiern Library offers individualized research assistance to help CSUB students identify resources for their research projects.<br /><br /><a href="http://www.csub.edu/library/assistance.shtml" TARGET="_blank"><b><i>Click here </i></b></a> for more information </p><p></p>';	
	// spotArr[ 1] = '<p><em><strong><font face="Comic Sans MS" size="+1"color="blue">Confused by Microsoft 2007?</strong></font></em><br><br><strong>Learn with Select & Play Demos</strong> <br><br>Headphones available at the Check-out Desk <center><P>Up to Speed with <br><a href="http://office.microsoft.com/en-us/word/HA100484691033.aspx" TARGET="_blank"><strong><font color="red" size="+1">Word 2007</font></strong></a></P><P>Up to Speed with <br><a href="http://office.microsoft.com/en-us/excel/HA100484501033.aspx" TARGET="_blank"><font color="orange" size="+1"><strong>Excel 2007</strong></font></a></P><P>Up to Speed with <br><a href="http://office.microsoft.com/en-gb/powerpoint/HA100484621033.aspx?pid=CH101030561033" TARGET="_blank"><strong><font color="green" size="+1">PowerPoint 2007</font></strong></a></p>';
	// spotArr[ 2] = '<img src="images/davis.jpg" alt="Library Spotlight" /><p>The <a href="http://www.csub.edu/~casher/civilwarletters/" TARGET="_blank">George Berry Davis Civil War letters </a>are now online and available to scholars and students under the<a href="http://www.csub.edu/library/specialcollection.shtml" TARGET="_blank"> Special Collections</a> link on this homepage. <br><br>Davis was a Union soldier, who served in the 23rd Iowa Regiment. His letters home provide a personal window into the bloody conflict that divided the nation. <br><br>Davis was later captured and held in Andersonville, the notorious Confederate prison.</p>';
	// spotArr[ 3] = '<img src="images/video2.jpg" alt="Library Spotlight" /><p><em><strong> Library Video at YouTube!</strong></em><br><br>Are you new to the Library and not sure where to begin? Take a tour in the Library with our Bionic Student and learn about the Library services.<br /><br /><a href="http://www.youtube.com/watch?v=cYM3urhvZKU" target="_blank" ><em><strong>Click Here</strong></em></a> you will find some basic information that helps you get started. </p><p></p>';
	// spotArr[ 4] = '<img src="images/facebook.jpg" alt="Library Spotlight" /><p>Connect with the library on <a href="http://www.facebook.com/people/Walter-W-Stiern-Lib/1221451830" TARGET="_blank">Facebook</a>. <br /><br /> Add Walter W. Stiern Library to get updates and assistance.</p><p></p>';    
       // spotArr[ 5] = '<img src="images/dontwait.jpg" alt="Library Spotlight" /><p>Are you interested in tips on how to be successful in college? Need to get more information on financial planning for students? How about how to write a resume? <br>Check out the First Year Experience Collection in the Dezember Reading Room. The books are on the left once you reach the wood floors.</p>';     
	// spotArr[6] = '<img src="images/thesis.jpg" alt="Library Spotlight " /><p>The <strong>Dissertations and Theses: Humanities and Social Sciences</strong> database provides access to dissertations and theses in the humanities, education, business, and social sciences. Some material is relevant to the sciences. Full text is provided for many recent titles.<br><br><a href="http://voyager.lib.csub.edu/cgi-bin/pqdigdiss_pre.pl" TARGET="_blank"> <strong>Click here</strong></a> to search.</p>';	
	// spotArr[2] = '<img src="images/book(s).gif" alt="Library Spotlight" /><p><a href="http://csublibill.lib.csub.edu/illiad/logon.html" TARGET="_blank"><strong>Interlibrary Loan</strong></a> Services are available for obtaining library materials including books, articles, reports and theses that the library does not own or have access to through library databases.</p><p></p>';
	// spotArr[8] = '<img src="images/dreamofmyfather.jpg" alt="Library Spotlight" /><p>President Obama wins a British Book Award for his memoir, <em>Dreams of My Father</em>. Check it out at the Library.<br><br><em>Dreams from my father : a story of race and inheritance</em> by Barack Obama<br><br>Call Number: E185.97.O23 A3 2004<br><br>Located on the third  floor of the Library<br><br><a href="http://www.csub.edu/library/obamarev2.htm" TARGET="_blank">Read Book Review </a></p><P></P>';
	// spotArr[9] = '<p>E-Learning Services has published a <em>Blackboard Learn 9</em> support website that includes tutorials for students and instructors: <P><a href="http://www.csub.edu/els/Blackboard%209/item1187.html" TARGET="_blank"><strong>Click here</strong></a>   <P>You can also access the site by going to the CSUB Homepage, clicking on RunnerCourses (Blackboard),then <em>Blackboard Learn 9</em>.</p><p></p>';  
	// spotArr[3] = '<p><a href="http://www.csub.edu/selfservice/" TARGET="_blank"><em><strong>Enroll Now</strong></em></a><br><br><strong>Library Course <br>Winter 2009</strong><br>Research <br>on the Internet <br>(GST 153)<p align="center"><strong><a href="http://www.csub.edu/library/courses.shtml" TARGET="_blank"><em>Read More About the Courses...</em></a> </strong></p><P></P>';
	// spotArr[11] = '<img src="images/multi.jpg" alt="Library Spotlight" /><p>The Multicultural Collection is in the Dezember reading room in the 1st full alcove.<P>This collection has some of our current books on the experience of different cultural groups in the United States.<P>You can check out any of the books in the Dezember Reading Room!</p><p></p>';  
	// spotArr[12] = '<img src="images/harrypotter.jpg" alt="Library Spotlight" /><p>The New Book Collection is in the Dezember Reading Room along the west wall.<br><br>This is a collection that highlights some of our newest books in the library like <a href="http://voyager.lib.csub.edu/cgi-bin/Pwebrecon.cgi?v1=1&ti=1,1&SC=Title&SA=Harry%20Potter%27s%20world%2E&PID=Fg2TiTX4FWLpZrJwx7o5XPvOGuV4A&SEQ=20090727130220&SID=5" TARGET="_blank">"Critical perspectives on Harry Potter"</a> edited by Elizabeth E. Heilman.<P>You can check out any of the books in the Dezember Reading Room so browse away!</p>';	
	// spotArr[4] = '<p><strong><font color="red">H1N1 (Swine) Flu Information</font></strong> <P><a href="http://www.csub.edu/urgent/" TARGET="_blank"><strong>CSUB Flu Information</strong></a><P><strong><a href="http://www.ebscohost.com/flu" TARGET="_blank">EBSCO Flu Information</a> </strong> <p></p>';    
	// spotArr[5] = '<p><strong><font color="blue">Have you been to the Research Corner yet?</font></strong><br><br>Stop by WSL 107 for one-on-one assistance from a librarian.<br><br>Monday:  3:30-5:30pm <br><br>Tuesday:  11:30 am-1:30pm <br><br>Wednesday: 12:30-2:30pm<br><br>Thursday: 11:30am-1:30 and 3:00-4:30pm<br><br>Friday: 11:30am-1:30pm<br><br><strong>See you there!</strong></p><P></P>';
 	// spotArr[6] = '<p><strong><font color="blue">Due to budget reductions and the furlough schedule, the Stiern Library will have different hours of operation in 2009-10.</font></strong><P>Monday - Thursday <br>9:00am - 10:00 pm<br>Friday<br> 9:00 a.m. to 5:00 p.m.<br>Saturday - CLOSED<br>Sunday<br> 11:00 a. m. to 7:00 p.m.<P>The Library will also be closed staff furlough Fridays during the fall quarter which are December 17, 22, 23 and 24. <strong> The Library will be open on November 20 & 21 which are right before the exam period.</strong></p><P></P>';
	// spotArr[7] = '<p>New to the Library?<br>Still not sure where to find something in the Library?<br>Come to one of the half hour library tours.<strong><P><font color="blue">Wednesday at noon <P>Thursday at 11:30 a.m.</font></p></strong><P></P>';
	//spotArr[0] = '<p><strong><font color="blue">Need to use a computer?</font></strong></P><P>If there are no computer workstations available in the Reference Area or in Lab A, ask Lab A personnel about overflow lab availability.</P><P></P>';

	spotArr[0] = '<p><strong><font color="blue">Sick at home or unable to come to the Library for research help?We have options for you!</font></strong><P><a href="http://www.csub.edu/library/assistance.shtml" TARGET="_blank"><strong>Click here</strong></a> to contact a CSUB Library Subject Specialist,</P><P><a href=" http://voyager.lib.csubak.edu/cgi-bin/ask_lib_pre.pl" TARGET="_blank"><strong>Click here</strong></a> to use the Ask A Librarian Service (24/7 service),or <P>For a response within 24 hours Monday - Thursday,<a href="mailto:csub_library@csub.edu" TARGET="_blank"><strong>Email your question</strong></a> to csub_library@csub.edu <P>or call the Reference Coordinator at 654-3256 </P><P></P>';
	spotArr[1] = '<p><strong><font size="+1"color="red">Special Announcement!</strong></font></strong></P><P><strong>The Library will be open both Friday Nov. 20th & Saturday Nov. 21st, <br><br>9:00 a.m. to 5:00 p.m.</strong> </P><P></P>';	
//	spotArr[##] = '<img src="pic.jpg" alt=" " /><p><a href="url"><b><i>Click here</i></b></a> <br /> Other text goes here.</p>';

	// GENERATE THE RANDOM NUMBER
	var arrLen = spotArr.length;
	var random_num = Math.floor(Math.random()*arrLen)

	
	// DISPLAY THE ITEM IN THE ARRAY GIVEN THE RANDOM NUMBER
	document.write(spotArr[random_num]);
}