function irnd( max )
{
	i = Math.floor( Math.random()*max )+1
	if ( i < 10 ) {
		i = "0" + i
	}
	return i
}

function picture( dir, max )
{
	/* pictures numbered 01 - max */
	var i = irnd( max )
	document.write('<img class="inset" src="' + dir + '/' + i + '.jpg">')
}

