function initArrays(numImages, depth) {
	thumbs = new Array(numImages);
	images = new Array(numImages);
	a1 = new Array(numImages);
	i = 0;
	for (i = 0; i < numImages; i++ )
		a1[i] = new String('<a href="javascript:image(') + i + new String(',\'') + depth + new String('\')">');
	a2 = new String('</a>');
}

function image(n, depth) {
	num=n;
	txt=images[n];
	wCaption=txt.substring(txt.indexOf('alt=')+5,txt.indexOf('>')-1);
		
	document.write('<html><head><title>Nina Holland | Image</title><link href="'+depth+'holland.css" rel="stylesheet" type="text/css"></head><body><div align="center"><table cellspacing="0" cellpadding="0" width="302"><tr><td>'+txt+'<br><span class="caption">'+wCaption+'</span></td></tr></table></div></body></html>');
}
