function place_pix(howmanypix){
var PictureLineUp = new Array();
PictureLineUp[0]='photos/P5210001_th.JPG';
PictureLineUp[1]='photos/P5210002_th.JPG';
PictureLineUp[2]='photos/P5210003_th.JPG';
PictureLineUp[3]='photos/P5210004_th.JPG';
PictureLineUp[4]='photos/P5210005_th.JPG';
PictureLineUp[5]='photos/P5210006_th.JPG';
PictureLineUp[6]='photos/P5210007_th.JPG';
PictureLineUp[7]='photos/P5210008_th.JPG';
PictureLineUp[8]='photos/P5210009_th.JPG';
PictureLineUp[9]='photos/P5210010_th.JPG';
PictureLineUp[10]='photos/P5210011_th.JPG';
PictureLineUp[11]='photos/P5210012_th.JPG';
PictureLineUp[12]='photos/P5210013_th.JPG';
PictureLineUp[13]='photos/P5210014_th.JPG';
PictureLineUp[14]='photos/P5210015_th.JPG';
PictureLineUp[15]='photos/P5210016_th.JPG';
PictureLineUp[16]='photos/P5210017_th.JPG';
PictureLineUp[17]='photos/P5210018_th.JPG';
PictureLineUp[18]='photos/P5210019_th.JPG';
PictureLineUp[19]='photos/P5210020_th.JPG';
PictureLineUp[20]='photos/P5210021_th.JPG';
PictureLineUp[21]='photos/P5210022_th.JPG';
PictureLineUp[22]='photos/P5210023_th.JPG';
PictureLineUp[23]='photos/P5210024_th.JPG';
PictureLineUp[24]='photos/P5210025_th.JPG';
PictureLineUp[25]='photos/P5210026_th.JPG';
PictureLineUp[26]='photos/P5210027_th.JPG';
PictureLineUp[27]='photos/P5210028_th.JPG';
PictureLineUp[28]='photos/P5210029_th.JPG';
PictureLineUp[29]='photos/P5210030_th.JPG';
PictureLineUp[30]='photos/P5210031_th.JPG';
PictureLineUp[31]='photos/P5210032_th.JPG';
PictureLineUp[32]='photos/P5210033_th.JPG';
PictureLineUp[33]='photos/P5210034_th.JPG';
PictureLineUp[34]='photos/P5210035_th.JPG';

//Print table shell
document.write('<table border="0" align="center">');
//Shuffle PictureLineUp Array
shuffle(PictureLineUp);
//Print cells with pictures
for (counting=howmanypix; counting>=1; counting--){
  document.write('<tr><td>');
  document.write('<a href="photos/slides.html"><img src="'+PictureLineUp[counting]+'" border="0" width="100"></a>');
  document.write('<BR><BR></td></tr>');
}
//Finish table shell
document.write('</table>');
}

shuffle = function(v){
    //+ Jonas Raoni Soares Silva
    //@ http://jsfromhell.com/array/shuffle [rev. #1]
    for(var j, x, i = v.length; i; j = parseInt(Math.random() * i), x = v[--i], v[i] = v[j], v[j] = x);
    return v;
};

