// Shams
var imgs1 = new Array(); 
var imgcnt1 = 0; 
var thisimg1 = 0;
imgs1[imgcnt1++] = 'images\/shams1.jpg';
imgs1[imgcnt1++] = 'images\/shams2.jpg';
imgs1[imgcnt1++] = 'images\/shams3.jpg';
imgs1[imgcnt1++] = 'images\/shams4.jpg';
imgs1[imgcnt1++] = 'images\/shams5.jpg';
imgs1[imgcnt1++] = 'images\/shams6.jpg';
imgs1[imgcnt1++] = 'images\/shams7.jpg';
imgs1[imgcnt1++] = 'images\/shams8.jpg';
imgs1[imgcnt1++] = 'images\/shams9.jpg';

function nextImg1() {
if (document.images) {
  thisimg1++;
  if (thisimg1 >= imgcnt1) thisimg1 = 0;
  document.rollimg1.src = imgs1[thisimg1];
}
}
function prevImg1() {
if (document.images) {
  thisimg1--;
  if (thisimg1 < 0) thisimg1 = imgcnt1-1;
  document.rollimg1.src = imgs1[thisimg1];
}
} 

//
//
//Dr. Mark and Baby
var imgs2 = new Array(); 
var imgcnt2 = 0; 
var thisimg2 = 0;
imgs2[imgcnt2++] = 'images\/baby1.jpg';
imgs2[imgcnt2++] = 'images\/baby2.jpg';
imgs2[imgcnt2++] = 'images\/baby3.jpg';

function nextImg2() {
if (document.images) {
  thisimg2++;
  if (thisimg2 >= imgcnt2) thisimg2 = 0;
  document.rollimg2.src = imgs2[thisimg2];
}
}
function prevImg2() {
if (document.images) {
  thisimg2--;
  if (thisimg2 < 0) thisimg2 = imgcnt2-1;
  document.rollimg2.src = imgs2[thisimg2];
}
} 

//
//
//Dr. Kal and Child
var imgs3 = new Array(); 
var imgcnt3 = 0; 
var thisimg3 = 0;
imgs3[imgcnt3++] = 'images\/child1.jpg';
imgs3[imgcnt3++] = 'images\/child2.jpg';

function nextImg3() {
if (document.images) {
  thisimg3++;
  if (thisimg3 >= imgcnt3) thisimg3 = 0;
  document.rollimg3.src = imgs3[thisimg3];
}
}
function prevImg3() {
if (document.images) {
  thisimg3--;
  if (thisimg3 < 0) thisimg3 = imgcnt3-1;
  document.rollimg3.src = imgs3[thisimg3];
}
} 

//
//
//Medical Teams
var imgs4 = new Array(); 
var imgcnt4 = 0; 
var thisimg4 = 0;
imgs4[imgcnt4++] = 'images\/team1.jpg';
imgs4[imgcnt4++] = 'images\/team2.jpg';

function nextImg4() {
if (document.images) {
  thisimg4++;
  if (thisimg4 >= imgcnt4) thisimg4 = 0;
  document.rollimg4.src = imgs4[thisimg4];
}
}
function prevImg4() {
if (document.images) {
  thisimg4--;
  if (thisimg4 < 0) thisimg4 = imgcnt4-1;
  document.rollimg4.src = imgs4[thisimg4];
}
} 
