function getImage(path,pics) {
	var image = path+Math.round(pics*Math.random())+".jpg";
	//alert(image);
  	return image;
}

function changeImage(path, id, pics) {
  document.getElementById(id).src=getImage(path,pics);
}
