NumberOfLecturerToRotate = 2;

// Specify the first and last part of the image tag.

FirstPart = '<img src="Logo';
LastPart = '.jpg" width="250">';

Lect1 = '<p style="text-align: justify;">Youcef Sai completed his BA in Business Studies and Postgraduate Diploma in IT, both from Dublin City University in 2001 and 2002 respectively. Later he worked as an assistant manager in Corridina Ltd and international finance instructor in Royal Index. Before joining ICOT, he served as a teacher of English and Business Studies in International School of Creative Sciences.<br/><center>Youcef Sai</center> <center>Lecturer, ICOT</center></small></p>';
Lect2 = '<p style="text-align: justify;">Andrew is one of our English lecturers and is currently head of our School of English. He has a broad educational background, having studied history, politics, economics, cognitive science, and mathematical science. He hopes to pursue a Ph.D in Quantative analysis in the future. His relevant work experience includes year-long employment in language school in both China and Russia. Listed	among his interests are the philosophy of mathematics, cooking, long-distance running and language learning. "<br/><center>Andrew Copeland</center><center>Lecturer, ICOT</center></small></p>';
//Lect3 = '<p style="text-align: justify;">Rebecca Saunders received her Bachelor of Arts degree in Drama and Theatre Studies from Trinity College Dublin in 2008. She also studied History of Arts and Architecture in TCD. Before joining ICOT, she served as a EFL Teacher in a college in Dublin and also as a Volunteer Teacher for Peace Vietnam. She is now serving as a lecturer in the School of English in ICOT.<br/><center>Rebecca Saunders</center> <center>Lecturer, ICOT</center></small></p>';
//Lect4 = '<p style="text-align: justify;">Wayne Flanagan Tobin received his B.A. (Hons.) in Geography and Sociology from Trinity College Dublin in 2009. Before joining ICOT, he was heavily involved in the Community Education sector. He taught and mentored many disadvantaged groups and worked on learning support problems for adults with literacy problems teaching Communication studies. He is currently serving as a lecturer in the School of English in ICOT.<br/><center>Wayne Flanagan Tobin</center> <center>Lecturer, ICOT</center></small></p>';
//Lect5 = '<p style="text-align: justify;">Sean Michael King received his BA (Hons) degree in Philosophy and Political Science from Trinity College Dublin in 2000. Previously he also obtained a Higher Diploma with merit in Architectural Technology from Cork Regional Technical College. Before joining ICOT, Sean served as an English teacher in MLI International Schools.<br/><center>Sean Michael King</center><center>Lecturer, School of English, ICOT</center></small></p>';
//Lect6 = '<p style="text-align: justify;">Colm Burke received his Bachelor of Commerce from UCC, Graduated Diploma in Professional Accounting from UCD and later became Fellow of Institute of Chartered Accountants in Ireland. He has been working as a financial controller for the last 10 years. Currently he is lecturing business courses at different levels in ICOT.<br/><center>Colm Burke</center><center>Lecturer, School of Business, ICOT</center></small></p>';
//Lect7 = '<p style="text-align: justify;">Aktar Hossain completed his Bachelor in Business Studies from Dublin City University. Previously he completed National Certificate of Business Studies from Dundalk Institute of Technology. Before joining ICOT, he served as a teaching assistant in a local college in Dublin. Currently he is serving as a lecturer in the School of Business in ICOT.<br/><center>Aktar Hossain</center> <center>Lecturer, ICOT</center></small></p>';
//Lect8 = '<p style="text-align: justify;">Cristiane Werlang completed her BA in English from Unisinos University, Brazil. Later she received training for teachers of ELT from Centre for English Studies, Dublin, Ireland. She also attended workshop on English for Academic Purposes from the University of Oxford. Before joining ICOT, she was previously employed in MLI International Schools in Dublin as an EFL Teacher.<br/><center>Cristiane Werlang</center><center>Lecturer, ICOT</center></small></p>';

Image1 = '<figure class="img-indent"><img src="../images/lect1.jpg" style="height:100px" alt=""></figure>'
Image2 = '<figure class="img-indent"><img src="../images/lect2.JPG" style="height:100px" alt=""></figure>'
//Image3 = '<figure class="img-indent"><img src="../images/lect3.JPG" style="height:100px" alt=""></figure>'
//Image4 = '<figure class="img-indent"><img src="../images/lect4.JPG" style="height:100px" alt=""></figure>'
//Image5 = '<figure class="img-indent"><img src="../images/sean.JPG" style="height:100px" alt=""></figure>'
//Image6 = '<figure class="img-indent"><img src="../images/ColmBurke.JPG" style="height:100px" alt=""></figure>'
//Image7 = '<figure class="img-indent"><img src="../images/Akter.jpg" style="height:100px" alt=""></figure>'
//Image8 = '<figure class="img-indent"><img src="../images/cristiane.JPG" style="height:100px" alt=""></figure>'


var r = Math.ceil(Math.random() * NumberOfLecturerToRotate);


function printLecturer()
{
	//var r = Math.ceil(Math.random() * NumberOfStudentToRotate);
	//document.write(FirstPart + r + LastPart);
	if(r==1)
	{
		document.write(Lect1);
	}
	else if(r==2)
	{
		document.write(Lect2);
	}
	else if(r==3)
	{
		document.write(Lect3);
	}
	//else if(r==4)
//	{
//		document.write(Lect4);
//	}
//	else if(r==5)
//	{
//		document.write(Lect5);
//	}
//	else if(r==6)
//	{
//		document.write(Lect6);
//	}
//	else if(r==7)
//	{
//		document.write(Lect7);
//	}
//	else if(r==8)
//	{
//		document.write(Lect8);
//	}
//	else if(r==9)
//	{
//		document.write(Lect9);
//	}
}

function printPicture()
{
	if(r==1)
	{
		document.write(Image1);
	}
	else if(r==2)
	{
		document.write(Image2);
	}
//	else if(r==3)
//	{
//		document.write(Image3);
//	}
//	else if(r==4)
//	{
//		document.write(Image4);
//	}
//	else if(r==5)
//	{
//		document.write(Image5);
//	}
//	else if(r==6)
//	{
//		document.write(Image6);
//	}
//	else if(r==7)
//	{
//		document.write(Image7);
//	}
//	else if(r==8)
//	{
//		document.write(Image8);
//	}
//	else if(r==9)
//	{
//		document.write(Image9);
//	}
}
