function selectFrogImage()
		{
  		var totalNoOfImages = 8;
  		var imageNo = 1;
  		var imageName = "";
  		imageNo = Math.round((Math.random()*100) % totalNoOfImages);
    		imageName =  imageNo;
  		return(imageName);
		}
function ElaborateFrog(bgURL)
	{
	document.write("<div id='img' style='position:absolute;top: 25px;'><img src='" + bgURL + "frog" + selectFrogImage() + ".png' width='150' height='135'></div>");
	}

