// JavaScript Document
 
 //if you increase the number of pictures, do not change this
     var cnt=0; 

   function slideShow(){

        if(!document.images)
             return

 //if you change the number of pictures, make sure you change the number in this statement to the number of pics
        if(cnt <5)
            cnt++

        else
             cnt=1 //do not change this

        document.images.slide.src=eval("image"+cnt+".src");
        		
       setTimeout("slideShow()",5000) //sets the length of the pause 1000 = 1 second

}//end of SlideShow( )

//setLink() and links() DO NOT need to be changed.
function setLink(cnt){
     theLink = eval("link" + this.cnt)
     return theLink;
} //end of setLink()

 function links(){
     parent.location.href=setLink( )
}//end of links( )

//preloads the images
   var image1 = new Image()
	 
	 image1.src="http://www.realmpromotions.com/images/banners/chandintheatre-banner.jpg"

     var link1 = "#"

     var image2 = new Image()
     image2.src="http://www.realmpromotions.com/images/banners/infobag-banner.jpg"

     var link2 = "http://www.realmpromotions.com/case-studies.shtml"

     var image3 = new Image()
     image3.src="http://www.realmpromotions.com/images/banners/timberwolves-banner.jpg"

     var link3 = "http://www.realmpromotions.com/portfolio.shtml"

     var image4 = new Image()
     image4.src="http://www.realmpromotions.com/images/banners/webcam-special.jpg"

     var link4 = "http://www.realmpromotions.com/case-studies.shtml"
	 
	  image4.src="http://www.realmpromotions.com/images/banners/seatow-banner.jpg"
 
     var link4 = "http://www.realmpromotions.com/portfolio.shtml"
	 
	 var image5 = new Image()
	 image5.src="http://www.realmpromotions.com/images/banners/clearchannel-banner.jpg"
	 
	 var link5 = "#"
