$(document).ready(
  function() {
	var imgs = new Array();
	imgs = [
			"/images/home001.jpg",
			"/images/home002.jpg",
			"/images/home003.jpg",
			"/images/home004.jpg",
			"/images/home005.jpg",
			"/images/home006.jpg"
			]

	var main_img = imgs[Math.floor(Math.random()*imgs.length)] 
	$("#home_img").attr("src",main_img);
	
  }
);