var total_profiles = 23;
var now = new Date()
var sec = now.getSeconds()
var profile = sec % total_profiles;
profile +=1;

//profile = Math.floor (Math.random ( ) * total_profiles + 1 ) ;

if (profile==1) {
	title="";
	first="Mona";
	last="Sadeghpour";
	quote="&quot;What makes the university so very special is that it is growing by the minute and its students are participating in that growth, bringing new ideas and projects forward and helping them become realities.&quot;";
	image="/images/profiles/sadeghpour_final.png";
	story="http://www.utdallas.edu/biology/profiles/mona/";
imagetopheight="83";
	imagebottomheight="66";
}
if (profile==2) {
	title="Dr.";
	first="Yang";
	last="Liu";
	quote="&quot;I fell in love with speech and language processing as an undergraduate, and I've been working on it ever since.&quot;";
	image="/images/profiles/yang-liu_final.png";
	story="http://www.cs.utdallas.edu/people/profiles/yang-liu.html";
imagetopheight="73";
	imagebottomheight="66";
}

if (profile==3) {
	title="";
	first="Andres";
	last="Correa";
	quote="&quot;At UT Dallas you are surrounded by smart people who provide you a remarkable academic challenge. Still, life has to have balance.&quot;";
	image="/images/profiles/correa_final.png";
	story="http://www.utdallas.edu/pre-law/andres/";
imagetopheight="76";
	imagebottomheight="56";
}
if (profile==4) {
	title="Dr.";
	first="Sandra";
	last="Chapman";
	quote="&quot;My research spans the age spectrum from studies that evaluate plasticity in brain-injured children and adolescents to research focused on understanding the potential for plasticity throughout adulthood into very old age.&quot;";
	image="/images/profiles/chapman_final.png";
	story="http://bbs.utdallas.edu/staff_faculty/faculty/chapman.html";
imagetopheight="76";
	imagebottomheight="39";
}
if (profile==5) {
	title="";
	first="Rachel";
	last="Markowitz";
	quote="&quot;UT Dallas has been just what I wanted—a medium-sized university where I could enjoy real relationships with my professors.&quot;";
	image="/images/profiles/markowitz_final.png";
	story="http://www.utdallas.edu/pre-law/rachel/";
imagetopheight="65";
	imagebottomheight="67";
}
if (profile==6) {
	title="Dr.";
	first="Naofal";
	last="Al-Dhahir";
	quote="&quot;The most rewarding part of my job as a professor at UTD is daily interaction with students as a teacher in the classroom and as a research supervisor in the lab.&quot;";
	image="/images/profiles/al-dhahir_final.png";
	story="http://www.utdallas.edu/news/2007/11/27-001.html";
imagetopheight="69";
	imagebottomheight="63";
}

if (profile==7) {
	title="Dr.";
	first="Kevin";
	last="Hamlen";
	quote="&quot;Writing secure software is extremely difficult using traditional programming languages. I want to make that task easier by creating languages with built-in security protections and features.&quot;";
	image="/images/profiles/hamlen_final.png";
	story="http://cs.utdallas.edu/people/profiles/hamlen.html";
imagetopheight="75";
	imagebottomheight="53";
}

if (profile==8) {
	title="Dr.";
	first="Sanda";
	last="Harabagiu";
	quote="&quot;We want to capture how human communication works in textual form &ndash; how people manage to convey ideas and how other people understand those ideas.&quot;";
	image="/images/profiles/harabagiu_final.png";
	story="http://cs.utdallas.edu/people/profiles/harabagiu.html";
imagetopheight="62";
	imagebottomheight="47";
}

if(profile==9) {
	title="";
	first="Adam";
	last="Okulicz-Kozaryn";
	quote="&quot;Research is exciting and stimulating. I like being able to discover new things and then write about them to teach others something new, something that will be remembered.&quot;";
	image="/images/profiles/kozaryn_final.png";
	story="http://www.utdallas.edu/news/2008/09/12-001.php";
imagetopheight="62";
	imagebottomheight="52";
}
/*if(profile==10) {
title="";
	first="Liz";
	last="Gunter";
	quote="&quot;Research is the perfect career for people who like to ask &quot;why&quot;? You read or hear something that raises a question in your mind and then you brainstorm on the best way to answer your question. It is creative, dynamic and exciting.&quot;";
	image="/images/profiles/gunterliz08_bottom5.png";
	story="http://www.utdallas.edu/news/2008/09/30-001.php";
imagetopheight="59";
	imagebottomheight="60"; 
}
if (profile==11) {
	title="";
	first="Liz";
	last="Reeves";
	quote="&quot;I think our win [in Microsoft/Dell's national business competition] was a testament to not only what we've learned in the program and outstanding faculty, but also our diverse background and experience that helped us really pull it together as a team.&quot;";
	image="/images/profiles/reeves_top2.png";
	imagebottom="/images/profiles/reeves_bottom2.png";
	story="";
imagetopheight="69";
	imagebottomheight="79";
}*/
if (profile==12) {
	title="Dr.";
	first="Ray";
	last="Baughman";
	quote="&quot;Our discovery of methods for producing these carbon nanotube sheets, their strange properties, and their corresponding remarkable performance as artificial muscles is just the beginning of a story, which will likely be taken in new directions by researchers around the world.&quot;";
	image="/images/profiles/baughman_final.png";
	story="http://www.utdallas.edu/news/2009/03/20-001.php";
imagetopheight="93";
	imagebottomheight="72";

}
if (profile==13) {
	title="";
	first="Dorly";
	last="Cuellar";
	quote="&quot;I’ve always wanted to go to college, but due to the cost I had resigned myself to completing my degree by taking one class each semester. This [Bryce Jordan] scholarship has allowed me to move a little faster down my educational path.&quot;";
	image="/images/profiles/cuellar_final.png";
	story="http://www.utdallas.edu/news/2008/11/12-001.php";
imagetopheight="83";
	imagebottomheight="62";

}
if (profile==14) {
	title="Debate Coach";
	first="Chris";
	last="";
	quote="&quot;The highly competitive nature of intercollegiate debate motivates students to research positions from multiple angles and refine their own thinking on many important public policy issues. They emerge as better informed and highly articulate citizens.&quot;";
	image="/images/profiles/burk_final.png";
	story="http://www.utdallas.edu/news/2008/11/22-001.php";
imagetopheight="83";
	imagebottomheight="47";

}

if (profile==15) {
	title="Dr.";
	first="Emily";
	last="Tobey";
	quote="&quot;Within four years that infant goes from basically knowing nothing, to a vocabulary of over 10,000 words. If you stop and think about it, it is the explosion of anatomy and physiology and language development in young children that’s almost miraculous.&quot;";
	image="/images/profiles/tobey_final.png";
	story="http://www.utdallas.edu/news/conversation/2008/11/12-004.php";
imagetopheight="83";
	imagebottomheight="62";

}

if (profile==18) {
	title="Graduate Student";
	first="Angela";
	last="de Oliveira";
	quote="&quot;Poverty and neighborhood quality are some of the most important problems of our time... Though our research won't give us all of the answers, I believe that it will at least help move us in the right direction.&quot;";
	image="/images/profiles/oliveira_final.png";
	story="http://www.utdallas.edu/news/2008/09/24-003.php";
imagetopheight="83";
	imagebottomheight="22";

}

if (profile==11) {
	title="Dr.";
	first="Santosh";
	last="D'Mello";
	quote="&quot;Most exciting now are our efforts to stop the effects of brain disease right in its tracks. Although the newly discovered compounds have only been tested in cultured neurons and mice, they do offer hope.&quot;";
	image="/images/profiles/dmello_final.png";
	story="http://www.utdallas.edu/news/2008/11/07-002.php";
imagetopheight="83";
	imagebottomheight="61";

}

if (profile==16) {
	title="Dr.";
	first="Hasan";
	last="Pirkul";
	quote="&quot;Our goals are to be a nationwide leader in management research and education, and to produce graduates capable of business leadership on a worldwide basis.&quot;";
	image="/images/profiles/pirkul_final.png";
	story="http://www.utdallas.edu/news/2008/08/04-002.php";
imagetopheight="83";
	imagebottomheight="32";

}
if (profile==17) {
	title="Dr.";
	first="Pam";
	last="Rollins";
	quote="&quot;I love that I have made a difference in the lives of children with autism spectrum disorders. And through the training of the graduate students, the lives of so many more children will be positively affected.&quot;";
	image="/images/profiles/rollins_final.png";
	story="http://www.utdallas.edu/news/2008/09/10-002.php";
imagetopheight="83";
	imagebottomheight="62";
}

if (profile==19) {
	title="Dr.";
	first="Rod";
	last="Heelis";
	quote="&quot;Years ago, my basic question began as, ‘How does our space environment interact with the sun?’ I was intellectually curious about that.  But now, as we become more dependent on assets in space, answering that question has real importance to everyday commerce, to military and commercial communications and navigation.&quot;";
	image="/images/profiles/heelis_final.png";
	story="http://www.utdallas.edu/news/2008/12/16-001.html";
imagetopheight="83";
	imagebottomheight="62";
}
if (profile==20) {
	title="";
	first="Ernest";
	last="Lowery";
	quote="&quot;The biggest thing I’ve learned from playing sports in college is teamwork and communication. One of the main questions I always get asked in job interviews is about how you work with a team. I can really go off on those kind of questions just based on my experience with athletics.&quot;";
	image="/images/profiles/lowery_final.png";
	story="http://cometsports.utdallas.edu/news/2009/3/27/NEWS_0327093642.aspx";
imagetopheight="83";
	imagebottomheight="62";
}
if (profile==21) {
	title="Dr.";
	first="Lloyd";
	last="Dumas";
	quote="&quot;Turning enemies into friends is not a simple process, but it is the key to real security and lasting peace.&quot;";
	image="/images/profiles/dumas_final.png";
	story="http://www.utdallas.edu/news/2008/08/08-001.php";
imagetopheight="83";
	imagebottomheight="62";
}

/*if (profile==22) {
	title="Dr.";
	first="Diandra";
	last="Leslie-Pelecky";
	quote="&quot;A good, high-speed turn is a balance of three forces acting at once and constantly changing. Too much or too little of any force will lead to disaster.&quot;";
	image="/images/profiles/leslie-pelecky/leslie-pelecky_final.png";
	imagebottom="/images/profiles/leslie-pelecky/leslie-pelecky_final_02.png";
	story=""
imagetopheight="83";
	imagebottomheight="97";
}*/

if (profile==22) {
	title="";
	first="Eunice and Elaine";
	last="Odiase";
	quote="&quot;When I heard about the ABP (Academic Bridge Program), I thought it would be a great opportunity to experience what college was all about, and our friends were jealous — especially because the summer after we graduated, we already had our own apartment.&quot;";
	image="/images/profiles/odiase_final.png";
	story="http://www.utdallas.edu/news/2008/01/17-001.php";
imagetopheight="83";
	imagebottomheight="82";
}

if (profile==10) {
	title="Dr.";
	first="Marion";
	last="Underwood";
	quote="&quot;We think the results of our study will illuminate the hidden world of adolescent peer culture, and also guide policy decisions about teenagers' access to electronic devices.&quot;";
	image="/images/profiles/underwood_final.png";
	story="http://www.utdallas.edu/news/2009/05/06-001.php";
imagetopheight="83";
	imagebottomheight="62";
}

if (profile==23) {
	title="";
	first="Irene";
	last="Marroquin-Bellatin";
	quote="&quot;The time commitment on the part of the UT Dallas Jumpstart volunteers is an investment in a child’s future. The positive effect for each preschooler and their family may be seen for years into the future.&quot;";
	image="/images/profiles/marroquin-bellatin_final.png";
	story="http://www.utdallas.edu/news/2008/09/05-002.php";
imagetopheight="83";
	imagebottomheight="77";
}

//To add a link you have to edit /profiles/index.php5
document.write('<style>');
document.write('#profile{background:url(' + image + ') no-repeat !important;  }');
/*#profile {background:url(/images/profiles/underwood/underwood_final.png) no-repeat top left !important; margin-top:-84px; padding-top:145px;}
*/
switch (title) {
case "Dr.": 
case "":
//document.write('#profile { }');
break
default: 
//document.write('#profile { }');
break;
}
document.write('#profiletext{padding:'+ imagebottomheight +'px 10px 0px 10px; }');
document.write('<\/style>');
document.write('<div id = "profiletext">')
if (title !== "Dr." ) {
document.write('<h3><a href=\"' + story + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'' + story + '\',\'WT.ti\',\'' + first + ' ' +  last + '\');\">' + first +' ' +  last + '<\/a><\/h3>');
document.write('<a id=\"secondline\" style ="color:#333; font:bold 10px Arial, Helvetica, sans-serif;" href=\"' + story + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'' + story + '\',\'WT.ti\',\'' + first + ' ' +  last + '\');\">' + title + '<\/a>');
}else {
document.write('<h3><a href=\"' + story + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'' + story + '\',\'WT.ti\',\'' + first + ' ' +  last + '\');\">' + first + ' ' +  last + '<\/a><\/h3>');	
}

document.write('<p>' + quote + '<\/p>');
if (title !== "Dr.") {
	//print first name only
	document.write('<p class=\"more\"><a href=\"' + story + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'' + story + '\',\'WT.ti\',\'' + first + ' ' +  last + '\');\"> Read more about ' + first + '<\/a><\/p>');
} 
else {
	//else print title and last name
	document.write('<p class=\"more\"><a href=\"' + story + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'' + story + '\',\'WT.ti\',\'' + first + ' ' +  last + '\');\"> Read more about ' + title + '&nbsp;' + last + '<\/a><\/p>');	
}
document.write('</div>');
/*
switch (title) {
case "Dr.": 
case "":
document.write('#profile {  margin-top:-30px;}');
break
default: 
document.write('#profile {  margin-top:-40px;}');
break;
}

document.write('<\/style>');

if (title !== "Dr." ) {
document.write('<h3><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '">' + first + ' ' + last + '<\/a><\/h3>');
document.write('<a id=\"secondline\" style="color:#333; font:bold 10px Arial, Helvetica, sans-serif;" href=\"http://www.utdallas.edu/profiles/?s=' + last + '">' + title + '<\/a>');

}else {
document.write('<h3><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '">' + first + ' ' + last + '<\/a><\/h3>');	
}


if (title !== "Dr." ) {
document.write('<h3><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'/profiles/' + last + '\',\'WT.ti\',\'Homepage Profile - ' + first + ' ' +  last + '\');\">' + first +' ' +  last + '<\/a><\/h3>');
document.write('<a id=\"secondline\" style ="color:#333; font:bold 10px Arial, Helvetica, sans-serif;" href=\"http://www.utdallas.edu/profiles/?s=' + last + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'/profiles/' + last + '\',\'WT.ti\',\'Homepage Profile - ' + first + ' ' +  last + '\',\'WT.cg_n\',\'HomepageProfiles\',\'WT.cg_s\',\''+last+'\');\">' + title + '<\/a>');
}else {
document.write('<h3><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'/profiles/' + last + '\',\'WT.ti\',\'Homepage Profile - ' + first + ' ' +  last + '\',\'WT.cg_n\',\'HomepageProfiles\',\'WT.cg_s\',\''+last+'\');\">' + first + ' ' +  last + '<\/a><\/h3>');	
}




document.write('<p>' + quote + '<\/p>');
if (title !== "Dr.") {
	//print first name only
	document.write('<p class=\"more\"><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'/profiles/' + last + '\',\'WT.ti\',\'Homepage Profile - ' + first + ' ' +  last + '\',\'WT.cg_n\',\'HomepageProfiles\',\'WT.cg_s\',\''+last+'\');\"> Read more about ' + first + '<\/a><\/p>');
} 
else {
	//else print title and last name
	document.write('<p class=\"more\"><a href=\"http://www.utdallas.edu/profiles/?s=' + last + '\" onclick=\"dcsMultiTrack(\'DCS.dcsuri\',\'/profiles/' + last + '\',\'WT.ti\',\'Homepage Profile - ' + first + ' ' +  last + '\',\'WT.cg_n\',\'HomepageProfiles\',\'WT.cg_s\',\''+last+'\');\"> Read more about ' + title + '&nbsp;' + last + '<\/a><\/p>');	
}*/