function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

if (document.images)
{
    // Create an array with of quote images 
    adImages = new Array("quote1.jpg",
                         "quote2.jpg",                                                   
                         "quote3.jpg",
						 "quote4.jpg",
						 "quote5.jpg",
						 "quote6.jpg",
						 "quote7.jpg",
						 "quote8.jpg",
						 "quote9.jpg",
						 "quote10.jpg");
    thisAd = 0;
}

// The following function cycles through each quote image.

function cycleAds()
{
    if (document.images)
    {
        if (document.adBanner.complete)
        {
            if (++thisAd == adImages.length)
                thisAd = 0;

            document.adBanner.src = adImages[thisAd];
        }
    }

    setTimeout("cycleAds()", 7000);
}


if (document.images)
{
    // Create an array with of quote images 
    adImages = new Array("quote1.jpg",
                         "quote2.jpg",                                                   
                         "quote3.jpg",
						 "quote4.jpg",
						 "quote5.jpg",
						 "quote6.jpg",
						 "quote7.jpg",
						 "quote8.jpg",
						 "quote9.jpg",
						 "quote10.jpg");
    thisAd = 0;
}

// The following function cycles through each quote image.

function cycleAds()
{
    if (document.images)
    {
        if (document.adBanner.complete)
        {
            if (++thisAd == adImages.length)
                thisAd = 0;

            document.adBanner.src = adImages[thisAd];
        }
    }

    setTimeout("cycleAds()", 7000);
}
