// JavaScript Document

// ランダムに背景画像を変更する
var bg = new Array();
bg[0] = "url(./home_images/home_bg_01.jpg)";
bg[1] = "url(./home_images/home_bg_02.jpg)";
bg[2] = "url(./home_images/home_bg_03.jpg)";
bg[3] = "url(./home_images/home_bg_04.jpg)";
var n = Math.floor(Math.random()*bg.length);
var e = document.getElementById("contents_bg");
e.style.backgroundImage = bg[n];
