// JavaScript Document SLIDE SHOW
var rotate_delay = 5000;
current = 0;
function next() {
if (document.slideform.slide[current+1]) {
document.images.show.src = document.slideform.slide[current+1].value;
document.slideform.slide.selectedIndex = ++current;
   }
else first();
}
function previous() {
if (current-1 >= 0) {
document.images.show.src = document.slideform.slide[current-1].value;
document.slideform.slide.selectedIndex = --current;
   }
else last();
}
function first() {
current = 0;
document.images.show.src = document.slideform.slide[0].value;
document.slideform.slide.selectedIndex = 0;
}
function last() {
current = document.slideform.slide.length-1;
document.images.show.src = document.slideform.slide[current].value;
document.slideform.slide.selectedIndex = current;
}
function ap(text) {
document.slideform.slidebutton.value = (text == "Stop") ? "Start" : "Stop";
rotate();
}
function change() {
current = document.slideform.slide.selectedIndex;
document.images.show.src = document.slideform.slide[current].value;
}
function rotate() {
if (document.slideform.slidebutton.value == "Stop") {
current = (current == document.slideform.slide.length-1) ? 0 : current+1;
document.images.show.src = document.slideform.slide[current].value;
document.slideform.slide.selectedIndex = current;
window.setTimeout("rotate()", rotate_delay);
   }
}
/*window.onload = function () {

	var t = document.getElementsByTagName('a');

	for (var i=0; i < t.length; i++)

		t[i].onmouseover = function () {

			window.status = 'Location de bungalow en Guadeloupe';

			return true;

		}

}*/
//  End -->
///////////////////AFFICHAGE DES BANNIERES EN PAGE ACCUEIL ALEATOIRE////
		function MyRandomMessBann()
		 {
		 var HazMess=new Array();
		 HazMess[0]= '<br /><a href="http://www.trip-avenue.com/rencontre/public_html/" target="_blank"><img src="http://www.trip-avenue.com/images/bannieres_3.gif" align="absmiddle" style="border:1px solid #000000" /></a>'
		 HazMess[1]= '<br /><a href="http://www.trip-avenue.com/J_events.php" target="_blank"><img src="http://www.trip-avenue.com/images/bannieres_2.gif" style="border:1px solid #000000" align="absmiddle" /></a>'
		 HazMess[2]= '<br /><a href="http://www.trip-avenue.com/J_people.php" target="_blank"><img src="http://www.trip-avenue.com/images/bannieres_1.gif" style="border:1px solid #000000" align="absmiddle" /></a>'
		 HazMess[3]= '<br /><a href="http://www.trip-avenue.com/J_opportunite.php" target="_blank"><img src="http://www.trip-avenue.com/images/banniere_4.jpg" style="border:1px solid #000000" align="absmiddle" /></a>'
		 HazMess[4]= '<br /><a href="http://www.trip-avenue.com/rencontre/public_html/" target="_blank"><img src="http://www.trip-avenue.com/images/bannieres_3.gif" style="border:1px solid #000000" align="absmiddle" /></a>'

		 
		 HazMessNb = Math.round(Math.random() * (HazMess.length-1));
		 document.write(HazMess[HazMessNb]);
		}
