<!--

imagesMaina = new Array(
"images/home_shoes.gif",
"images/home_wedding.gif",
"images/home_acc.gif")

imagesMainb = new Array(
"images/home_favors.gif",
"images/home_party.gif",
"images/home_inv.gif")

imagesMainc = new Array(
"images/image_shoeH.jpg",
"images/image_brideH.jpg",
"images/image_accessoryH.jpg")

imagesMaind = new Array(
"images/image_favorH.jpg",
"images/image_presentH.jpg",
"images/image_invitationsH.jpg")

count = 0;
countb = 0;
countc = 0;
countd = 0;

imagesCounta = imagesMaina.length;
imagesCountb = imagesMainb.length;
imagesCountc = imagesMainc.length;
imagesCountd = imagesMaind.length;


function rotatea() {

	if(document.images) {
		count++;

		if(count == imagesCounta) {
			count = 0;
		}

    if (document.all){
       document.images.homeImagea.style.filter="blendTrans(duration=5)"
       document.images.homeImagea.filters.blendTrans.Apply()
    }

		document.homeImagea.src = imagesMaina[count];

    if (document.all){
       document.images.homeImagea.filters.blendTrans.Play()
    }

		setTimeout("rotatea()", 10000)
	}
}

function rotateb() {

	if(document.images) {
		countb++;

		if(countb == imagesCountb) {
			countb = 0;
		}

    if (document.all){
       document.images.homeImageb.style.filter="blendTrans(duration=5)"
       document.images.homeImageb.filters.blendTrans.Apply()
    }

		document.homeImageb.src = imagesMainb[countb];

    if (document.all){
       document.images.homeImageb.filters.blendTrans.Play()
    }

		setTimeout("rotateb()", 10000)
	}
}

function rotatec() {

	if(document.images) {
		countc++;

		if(countc == imagesCountc) {
			countc = 0;
		}

    if (document.all){
       document.images.homeImagec.style.filter="blendTrans(duration=5)"
       document.images.homeImagec.filters.blendTrans.Apply()
    }

		document.homeImagec.src = imagesMainc[countc];

    if (document.all){
       document.images.homeImagec.filters.blendTrans.Play()
    }

		setTimeout("rotatec()", 10000)
	}
}



function rotated() {

	if(document.images) {
		countd++;

		if(countd == imagesCountd) {
			countc = 0;
		}

    if (document.all){
       document.images.homeImaged.style.filter="blendTrans(duration=5)"
       document.images.homeImaged.filters.blendTrans.Apply()
    }

		document.homeImaged.src = imagesMaind[countc];

    if (document.all){
       document.images.homeImaged.filters.blendTrans.Play()
    }

		setTimeout("rotated()", 10000)
	}
}
// -->
