// JavaScript Document

var num = 0;
var slideNum = 0;

imgArray = [  
		['../images/photoalbum/image1big.jpg', '','The Uniformed Services University spans 100 acres of wooded parkland, on the grounds of the National Naval Medical Center in Bethesda, Maryland.'],
	['../images/photoalbum/image2big.jpg', '','The Graduate School of Nursing was founded by Congress more than two decades after the University was chartered.  Their vision to build and maintain a uniquely trained cadre of nursing professionals for service in the Armed Forces and federal health agencies bears fruit with each graduating class.'],
	['../images/photoalbum/image3big.jpg', '','Throughout the school&#39;s corridors, in laboratories and on mock battlefields, Graduate School of Nursing students are fulfilling a University hallmark of  learning to care for those in harm&#39;s way.'],
	['../images/photoalbum/image4big.jpg', '','Graduate School of Nursing students take part in unique learning experiences that are designed to prepare them for their roles as leaders in uniform and in the fields of nursing science.  The University&#39;s annual march across the Antietam National Battlefield brings to life the tales of battlefield medicine and offers students a unique perspective on the evolution of military medicine.'],
	['../images/photoalbum/image5big.jpg', '','In the simulation exercise known as Operation Bushmaster, Graduate School of Nursing students apply the lessons they&#39;ve learned throughout their nursing careers.  They must work together and triage a &#34;wounded&#34; platoon while under stressful and continually changing conditions.'],
	['../images/photoalbum/image6big.jpg', '','Research is an important thread of the Graduate School of Nursing education, and it is woven throughout each  program&#39;s curriculum.  Collaborations take place across disciplines and between faculty and students.  The University&#39;s annual Research Week highlights the projects being conducted at, and in conjunction with USU.'],
	['../images/photoalbum/image7big.jpg', '','Graduate School of Nursing students learn in a joint&#45;service environment.  Though each branch is unique, the people of USU share the common goal of advancing military and public health medicine.'],
	['../images/photoalbum/image8big.jpg', '','Graduate School of Nursing faculty are comprised of military service members and civilians with a broad range of experiences in diverse settings. Many of the USU instructors have first&#45;hand knowledge of the deployment situations they are preparing their students to face and therefore bring keen insight into the challenges of military medicine.'],
	['../images/photoalbum/image9big.jpg', '','Graduate School of Nursing faculty are committed to the vision of the school.  Through innovative and traditional teaching methods, they are producing highly skilled nursing professionals. Their own scholarship also lends great credibility to the University.  Faculty members are known internationally for their research initiatives, lectures  and published works.'],
	['../images/photoalbum/image10big.jpg', '','Uniformed and civilian nurses choose USU for their graduate studies for its one&#45;of&#45;a&#45;kind learning opportunities and outstanding faculty mentorship.'],
	
	]




function slideshow(slide_num)
{
	document.getElementById('mypic').src=imgArray[slide_num][0];
	document.getElementById('mypic').alt=imgArray[slide_num][1];

// 	document.getElementById("mylbl").childNodes[0].nodeValue=imgArray[slide_num][2];
	document.getElementById('mylbl').innerHTML=imgArray[slide_num][2];

	
	

}

function slideshowup()
{
	num++;
	if (num > 9)
	{
	num = 0;
	}
	
	slideshow(num);
}


function slideshowdown()
{
	num--;
	if (num < 0)
	{
	num = 9;
	}
	
	slideshow(num);
}

