rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Image/Descriptions</title>
<script type = "text/javascript">
//have fun.
var FileNameArray = ['dog.jpg', 'cat.jpg', 'horse.jpg'];
var DescriptionArray = ['My dog Kira', 'My cat Gootley', 'My horde Flash'];
for (var i = 0; i < FileNameArray.length; i++)
{
document.writeln("Description: " + DescriptionArray[i] + " FileName: " + '<img src="'+FileNameArray[i]+'">' + '<br>');
}
</script>
</head>
<body>
</body>
</html>