showcaseTextData = new Array(5);

showcaseTextData[0] = "MDRC conducts experimental studies using methods that provide the best evidence to build knowledge in the social and education policy fields.";
showcaseTextData[1] = "MDRC evaluates current programs and develops demonstration projects to field-test the best practices identified in our research.";
showcaseTextData[2] = "MDRC’s staff of more than 180 are multicultural and multidisciplinary, with broadly diverse professional backgrounds and experience.";
showcaseTextData[3] = "MDRC encourages and assists our employees in their professional development.";
showcaseTextData[4] = "MDRC has competitive salaries and excellent benefits.";



showcaseLinkData = new Array(5);

showcaseLinkData[0] = "jobs_make_a_difference.htm";
showcaseLinkData[1] = "jobs_make_a_difference.htm#blend";
showcaseLinkData[2] = "jobs_working_at.htm";
showcaseLinkData[3] = "jobs_working_at.htm#opportunities";
showcaseLinkData[4] = "jobs_benefits.htm";



showcaseImageSrc = new Array(4);

showcaseImageSrc[0] = "images/site/showcase_tmb_1.jpg";
showcaseImageSrc[1] = "images/site/showcase_tmb_2.jpg";
showcaseImageSrc[2] = "images/site/showcase_tmb_3.jpg";
showcaseImageSrc[3] = "images/site/showcase_tmb_4.jpg";



function printShowcaseText()
{
	var textIndex;

	textIndex = Math.floor(Math.random()*showcaseTextData.length);

	textElement = document.getElementById("showcaseText");
	if (textElement)
	{
		textElement.innerHTML = showcaseTextData[textIndex];
	}

	linkElement = document.getElementById("showcaseLink");
	if (linkElement)
	{
		linkElement.href = showcaseLinkData[textIndex];
	}
}

function swapShowcaseImage()
{
	var imageIndex;

	imageIndex = Math.floor(Math.random()*showcaseImageSrc.length);

	imageElement = document.getElementById("showcaseImage");
	if (imageElement)
	{
		imageElement.src = showcaseImageSrc[imageIndex];
	}
}

printShowcaseText();
swapShowcaseImage();
