// JavaScript Document
minPhoto=0; // имя файла
 maxPhoto=14; 
 // pic=minPhoto+(maxPhoto-minPhoto)*Math.random()
 var pic=Math.floor(maxPhoto*Math.random());
 document.write('<img src="pics/pha/small/' + pic + '.jpg"' +
                       'alt="случайно выбранная фотография" width="102" height="76" border="0" class="pic">');
		var pic1 = Math.floor(Math.random()*maxPhoto);
		while (pic1== pic) {
		var pic1 = Math.floor(Math.random()*maxPhoto);
		}
        document.write('<img src="pics/pha/small/' + pic1 + '.jpg"' +
                       'alt="случайно выбранная фотография" width="102" height="76" border="0" class="pic2">');

