   // 画像・URLリストを配列で作る

   // ランダムに1つ選んで表示する関数

  var imglist = new Array("img/f_01.jpg","img/f_02.jpg","img/f_03.jpg","img/f_04.jpg");
  var imglist02 = new Array("img/s_01.jpg","img/s_02.jpg","img/s_03.jpg","img/s_04.jpg");
  var imglist03 = new Array("img/t_01.jpg","img/t_02.jpg","img/t_03.jpg","img/t_04.jpg");
 
   function RandomImageLink() {
	var selectnum = Math.floor((Math.random() * 100)) % imglist.length;
	var output = '<img src="' + imglist[selectnum] + '" class="pg_first" >';
   document.write(output);
   }
   
   function RandomImageLinkSecond() {
	var selectnum = Math.floor((Math.random() * 100)) % imglist02.length;
	var output = '<img src="' + imglist02[selectnum] + '" class="pg_second" >';
   document.write(output);
   }
   
      function RandomImageLinkThird() {
	var selectnum = Math.floor((Math.random() * 100)) % imglist03.length;
	var output = '<img src="' + imglist03[selectnum] + '" class="pg_third" >';
   document.write(output);
   }
   
// -->

