//ランダム写真表示

addEvent(window,"load",function(){photoset()});

var photos;	//写真名をアドレス指定でいくつでも
var imgTag;

function photoset(){
 photo_init();
 n = Math.floor(Math.random()*photos.length);
 
 var divObj = document.getElementById("randomimage");
 imgTag = document.createElement("img");
 imgTag.src=photos[n];
 divObj.appendChild(imgTag);
}
