<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/photos/photo1.jpg'
theImages[1] = 'images/photos/photo2.jpg'
theImages[2] = 'images/photos/photo3.jpg'
theImages[3] = 'images/photos/photo4.jpg'
theImages[4] = 'images/photos/photo5.jpg'
theImages[5] = 'images/photos/photo6.jpg'
theImages[6] = 'images/photos/photo7.jpg'
theImages[7] = 'images/photos/photo8.jpg'

var theText = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theText[0] = 'All Calcutta Kids projects are Indian run projects with Indian staff.  We believe that local project ownership is vital to our success.'
theText[1] = 'One of the most interesting things about Calcutta Kids is that it is an interfaith project started by an American Jew and an Iranian Muslim, working in collaboration with an organization started by a Christian, and together providing medical treatment to Hindu and Muslim children.'
theText[2] = 'Between September 2002 and September 2004, Calcutta Kids provided over 7,000 medical examinations to street children in slums on the outskirts of Kolkata. No other health care services are available to these children.'
theText[3] = 'UNICEF estimates that there are over 100,000 street children in Kolkata and Howrah.'
theText[4] = '"The doctors make us sit by their sides and talk softly.  They explain things.  They teach us things we do not know.  They treat us like one of their own people."<br>-Mother of a child who visits the Mobile Health Clinic'
theText[5] = '43% of the children reached by Calcutta Kids suffer from respiratory tract infections resulting, in part, from the air pollution which is so severe.'
theText[6] = '"States Parties recognize the right of the child to the enjoyment of the highest attainable standard of health and to facilities for the treatment of illness and rehabilitation of health.  States Parties shall strive to ensure that no child is deprived of his or her right of access to such health care services".<br>-Article 24 of Convention on the Rights of the Child'
theText[7] = 'Calcutta Kids is committed to keeping administrative costs below 10% of its budget.'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" width="270" height="168">');
}
function showText(){
document.write(theText[whichImage]);
}

//-->
