
				
	function reapply(){
		setTimeout("slideit()",2000);
		return true;
	}
	window.onerror=reapply;
	
	var image1=new Image();
	image1.src="Pictures/Picture1.jpg";
	var image2=new Image();
	image2.src="Pictures/Picture2.jpg";
	var image3=new Image();
	image3.src="Pictures/Picture3.jpg";
	var image4=new Image();
	image4.src="Pictures/Picture4.jpg";
	var image5=new Image();
	image5.src="Pictures/Picture5.jpg";
	var image6=new Image();
	image6.src="Pictures/Picture6.jpg";
	
	
	////change number of images below
	var number_of_images=6;
	
	//change speed below (in seconds)
	var speed=2;
	var step=1;
	var whichimage=1;

  function slideit(){

          if (!document.images)
                  return;

          if (document.all)
                  slide.filters.blendTrans.apply();
                  document.images.slide.src=eval("image"+step+".src");

          if (document.all)
                  slide.filters.blendTrans.play();
                  whichimage=step;

          if (step<number_of_images)
                  step++;
          else
                  step=1;

          if (document.all)
                  setTimeout("slideit()",speed*1000+3000);
          else
                  setTimeout("slideit()",speed*1000);
  }

  function slidelink(){
          if (whichimage==1)
                  window.location="Pictures/summer2.jpg";
          else if (whichimage==2)
                  window.location="Pictures/summer15_us.jpg";
          else if (whichimage==3)
                  window.location="Pictures/summer16_us.jpg";
          //else if (whichimage==4)
          //       window.location="Pictures/bridalpic.jpg";
          //else if (whichimage==5)
          //        window.location="Pictures/childrenpic.jpg";
          //else if (whichimage==6)
          //        window.location="Pictures/modelpic";
          
  }

