<!-- 
var mfBanners2 = [
['rest.html','images/bannerrestaurante1.gif'],
['rest.html','images/bannerrestaurante4.gif'],
['rest.html','images/bannerrestaurante2.gif']
];
var mfIe = false;
if( document.all) {
mfIe = true;
}
var mfBanner2Index = 0;
function mfBanner2Change() {
var htmlString = '<a target="_self" href="'+mfBanners2[mfBanner2Index][0]+'"> <img border="0" WIDTH=437 HEIGHT=154 src="'+mfBanners2[mfBanner2Index][1]+'"></a>';
if( mfIe) {
document.all.banner2.innerHTML = htmlString;
}
else{
document.layers["banner2"].document.open();
document.layers["banner2"].document.write( htmlString);
document.layers["banner2"].document.close();
}
if(mfBanner2Index < mfBanners2.length - 1)
mfBanner2Index++;
else
mfBanner2Index = 0;
}
// tempo do intervalo entre um banner o outro
setInterval("mfBanner2Change()", 3500);
// -->
