pix = new Array("photos/wedding_photo26.jpg","photos/wedding_photo1.jpg","photos/wedding_photo2.jpg","photos/wedding_photo3.jpg","photos/wedding_photo4.jpg","photos/wedding_photo5.jpg","photos/wedding_photo6.jpg");
a = new Image(); a.src = "photos/wedding_photo1.jpg";
b = new Image(); b.src = "photos/wedding_photo2.jpg";
c = new Image(); c.src = "photos/wedding_photo3.jpg";
d = new Image(); d.src = "photos/wedding_photo4.jpg";
e = new Image(); e.src = "photos/wedding_photo5.jpg";
f = new Image(); f.src = "photos/wedding_photo6.jpg";
g = new Image(); g.src = "photos/wedding_photo26.jpg";
var i = 0;
	function slideshow(){
	setInterval("change()", 2800);
	}
	function change(){
	document.images.pic.src = pix[i];
	i = i + 1;
	if (i > (pix.length - 1)) {i = 0}
	}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
