I am working on a small website that contains a slideshow that starts up automatically when the page loads. I found the code online, it is very simple and works great. What i need to do is figure out how to make it repeat itself. Thank you.

#picOne, #picTwo, #picThree {
display: none;
#pics {
<script type="text/javascript" src="jquery-1.7.1.js"></script>
  <script type="text/javascript">
$(document).ready(function() {

<div id="pics">
<img src="firstPic.jpeg" id="picOne" height="100" width="100">
 <img src="secondPic.jpeg" id="picTwo" height="100" width="100">
 <img src="thirdPic.jpeg" id="picThree" height="100" width="100">

I am not a developer or a programmer and perhaps this code is to simple to make repeat but I would like to put it in an ongoing loop. Thank you so much for any help or advice you have.