	var ix;
	var pic  = new Array(99);
	var num = '000'; 
	for (ix = 0; ix < 99; ix++)
	{	num = '00' + ix;	
		if (ix < 100 & ix > 9) num = '0' + ix;	
		pic[ix] = 'Images\\album\\Image' + num + '.jpg'; }
<!-- functions -->
function getName(idx) {
	return pic[idx];
}

function findObj(n, d) { //v4.0
  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=fndObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}


function placeImage() { //v3.0
  var i,j=0,x,a;
  a=placeImage.arguments; 
   x=findObj(a[0]);
   x.src=getName(a[1]);
   x.alt="My Favorites";
   x.width=160;
   x.height=120;
   x.border=1;
}