

function netie(net, ie) {

  if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))

    return true;

else return false;}







var photos=new Array()

var photoslink=new Array()

var which=0

var which2=0

var imName

var numeffet = 100

var whichdiapo=0

var imNamediapo

var numeffetdiapo = 100

var delai = 3000;



var pointact=0;

var photoact=0;

var wmtt=null;

var wmtt2=null;

var wmtt3=null;



photos[0]="../images/interface/fr/hotel-caraibes-francaises.gif"

photos[1]="../images/interface/fr/carte-saint-barthelemy.gif"

photos[2]= photos[1]

photos[3]= photos[1]

photos[4]="../images/interface/fr/carte-marie-galante.gif"

photos[5]="../images/interface/fr/carte-martinique.gif"

photos[6]="../images/interface/fr/carte-guadeloupe.gif"

photos[7]= photos[6]

photos[8]=photos[6]

photos[9]=photos[6]

photos[20]=photos[6]

photos[21]=photos[6]

photos[22]=photos[6]

photos[23]=photos[1]















photos[16]="../images/interface/fr/guadeloupe-hotel-1-off.gif"







photos[100]="../images/interface/fr/guadeloupe-hotel-hotels-off.gif"

photos[102]="../images/interface/fr/guadeloupe-hotel-ile-off.gif"

photos[104]="../images/interface/fr/guadeloupe-hotel-avion-off.gif"

photos[106]="../images/interface/fr/guadeloupe-hotel-rechercher-off.gif"

photos[108]="../images/interface/fr/guadeloupe-hotel-promotions-off.gif"

photos[110]="../images/interface/fr/guadeloupe-hotel-reservation-off.gif"

photos[112]="../images/interface/fr/guadeloupe-hotel-agence-off.gif"

photos[114]="../images/interface/fr/guadeloupe-hotel-famille-off.gif"

photos[116]="../images/interface/fr/guadeloupe-hotel-authentique-off.gif"

photos[118]="../images/interface/fr/guadeloupe-hotel-sports-nautiques-off.gif"

photos[120]="../images/interface/fr/guadeloupe-hotel-voyage-de-noces-off.gif"

photos[122]="../images/interface/fr/guadeloupe-hotel-golf-off.gif"

photos[124]="../images/interface/fr/guadeloupe-hotel-conference-off.gif"

photos[126]="../images/interface/fr/guadeloupe-hotel-anglais-off.gif"

photos[128]="../images/interface/fr/guadeloupe-hotel-accueil-off.gif"







photos[17]="../images/interface/fr/guadeloupe-hotel-1-on.gif"



photos[101]="../images/interface/fr/guadeloupe-hotel-hotels-on.gif"

photos[103]="../images/interface/fr/guadeloupe-hotel-ile-on.gif"

photos[105]="../images/interface/fr/guadeloupe-hotel-avion-on.gif"

photos[107]="../images/interface/fr/guadeloupe-hotel-rechercher-on.gif"

photos[109]="../images/interface/fr/guadeloupe-hotel-promotions-on.gif"

photos[111]="../images/interface/fr/guadeloupe-hotel-reservation-on.gif"

photos[113]="../images/interface/fr/guadeloupe-hotel-agence-on.gif"

photos[115]="../images/interface/fr/guadeloupe-hotel-famille-on.gif"

photos[117]="../images/interface/fr/guadeloupe-hotel-authentique-on.gif"

photos[119]="../images/interface/fr/guadeloupe-hotel-sports-nautiques-on.gif"

photos[121]="../images/interface/fr/guadeloupe-hotel-voyage-de-noces-on.gif"

photos[123]="../images/interface/fr/guadeloupe-hotel-golf-on.gif"

photos[125]="../images/interface/fr/guadeloupe-hotel-conference-on.gif"

photos[127]="../images/interface/fr/guadeloupe-hotel-anglais-on.gif"

photos[129]="../images/interface/fr/guadeloupe-hotel-accueil-on.gif"

photos[130]="../images/interface/fr/guadeloupe-hotel-voitures-off.gif"

photos[131]="../images/interface/fr/guadeloupe-hotel-voitures-on.gif"

photos[300]="../images/interface/fr/guadeloupe-hotel-french-on.gif"

photos[301]="../images/interface/fr/guadeloupe-hotel-french-off.gif"

photos[306]="../images/interface/fr/guadeloupe-hotel-sous-french-off.gif"

photos[307]="../images/interface/fr/guadeloupe-hotel-sous-english-off.gif"

photos[308]="../images/interface/fr/guadeloupe-hotel-sous-spain-off.gif"

photos[309]="../images/interface/fr/guadeloupe-hotel-sous-italia-off.gif"

photos[310]="../images/interface/fr/guadeloupe-hotel-sous-french-on.gif"

photos[311]="../images/interface/fr/guadeloupe-hotel-sous-english-on.gif"

photos[312]="../images/interface/fr/guadeloupe-hotel-sous-spain-on.gif"

photos[313]="../images/interface/fr/guadeloupe-hotel-sous-italia-on.gif"



var linkornot=1





photoslink[0]="hotel-guadeloupe.html"

photoslink[1]="../hotel_detail.php?id=14&language=fr"

photoslink[2]="../hotel_detail.php?id=13&language=fr"

photoslink[3]="http://www.lemanapany.com/"

photoslink[4]="../hotel_detail.php?id=11&language=fr"

photoslink[5]="http://www.anse-caritan.com/"

photoslink[6]="../hotel_detail.php?id=12&language=fr"

photoslink[7]="../hotel_detail.php?id=8&language=fr"

photoslink[8]="../hotel_detail.php?id=6&language=fr"

photoslink[9]="../hotel_detail.php?id=1&language=fr"

photoslink[20]="../hotel_detail.php?id=10&language=fr"

photoslink[21]="../hotel_detail.php?id=5&language=fr"

photoslink[22]="../hotel_detail.php?id=3&language=fr"

photoslink[23]="http://www.st-barth.to/hi"













var preloadedimages=new Array()

for (i=1;i<photos.length;i++){

preloadedimages[i]=new Image()

preloadedimages[i].src=photos[i]

}





function applyeffect(){

if (document.all){



if (numeffet == 100)

{

document.images[imName].filters.revealTrans.Transition=23;

}

else

{

document.images[imName].filters.revealTrans.Transition= numeffet;

}

document.images[imName].filters.revealTrans.stop()

document.images[imName].filters.revealTrans.apply()

}

}





function playeffect(){

if (document.all)

document.images[imName].filters.revealTrans.play()

}







function keeptrack(){

window.status="Guadeloupe, Marie galante, Saint-Barthelemy "

}





function changeimage(numimage, imNom, numeff){

//cleartimeout(timer);

which2 = numimage;

if (numimage <= 9)

which = numimage;



if (numimage <= 23)

{

  if (numimage >= 20)

  {

   which = numimage;

  }

}

imName = imNom;

numeffet = numeff;

if (numeff != 1000)

{

applyeffect();

document.images[imNom].src=photos[which2];

playeffect();

keeptrack();

}

else

{

document.images[imNom].src=photos[which2];

}



}









function transport(){

window.location=photoslink[which]

}











function updateWMTT(e) {

	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;

	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;

	if (wmtt != null) {

		wmtt.style.left = (x + 20) + "px";

		wmtt.style.top 	= (y + 20) + "px";

	}

}



function showWMTT(id) {

	wmtt = document.getElementById(id);

	wmtt.style.display = "block"

}



function hideWMTT() {

if (wmtt != null)

	wmtt.style.display = "none";

}





function textenormal(){

if (navigator.appName == 'Netscape')

tt = true;

else tt = false;



if (tt == false)

{





 document.getElementById('guadeloupe-1').style.color='#656565';

 document.getElementById('guadeloupe-2').style.color='#656565';

 document.getElementById('guadeloupe-3').style.color='#656565';

 document.getElementById('guadeloupe-4').style.color='#656565';

 document.getElementById('guadeloupe-5').style.color='#656565';

 document.getElementById('guadeloupe-6').style.color='#656565';

// document.getElementById('guadeloupe-7').style.color='#656565';

}



changeimage(16,'hotel-guadeloupe',1000);

}







function updateWMTT2(e) {

	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;

	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;

	if (wmtt2 != null) {

		wmtt2.style.left = (x) + "px";

		wmtt2.style.top 	= (y) + "px";

	}

}



function showWMTT2(id) {

pointact=id;

 wmtt2 = document.getElementById(id);

 if (navigator.appName == 'Netscape')

 tt = true;

 else tt = false;



 if (tt == false)

 {	

	if (id==31)

	{

 	l = ((482 * document.body.scrollWidth) / 1003) ;

 	t = 282;	

	wmtt2.style.top=t;

	wmtt2.style.left=l;

	}



 	if (id==32)

 	{

	l = ((473 * document.body.scrollWidth) / 1003) ;

 	t = 273;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 

 	if (id==33)

 	{

 	l = ((481 * document.body.scrollWidth) / 1003) ;

 	t = 278;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 

 	if (id==34)

 	{

 	l = ((585 * document.body.scrollWidth) / 1003) ;

 	t = 253;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 

 	if (id==35)

 	{

 	l = ((419 * document.body.scrollWidth) / 1003) ;

 	t = 288;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 

 	if (id==36)

 	{

 	l = ((565 * document.body.scrollWidth) / 1003) ;

 	t = 366;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	} 



 	if (id==37)

 	{

 	l = ((509 * document.body.scrollWidth) / 1003) ;

 	t = 293;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

  	if (id==38)

  	{

  	l = ((549 * document.body.scrollWidth) / 1003) ;

  	t = 288;

  	

  	wmtt2.style.top=t

  	wmtt2.style.left=l

 	}



 	if (id==39)

 	{

 	l = (589 * document.body.scrollWidth) / 1003;

 	t = 273;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 	if (id==40)

 	{

 	l = ((466 * document.body.scrollWidth) / 1003) ;

 	t = 374;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}

 

 

 	if (id==41)

 	{

 	l = ((411 * document.body.scrollWidth) / 1003) ;

 	t = 305;

 	

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	} 

 

 	if (id==42)

 	{

 	l = ((505 * document.body.scrollWidth) / 1003) ;

 	t = 288;

 	wmtt2.style.top=t

 	wmtt2.style.left=l

 	}  	

  }	

	wmtt2.style.display = "block"

}



function hideWMTT2() {

 if (wmtt2 != null) 

 {

	wmtt2.style.display = "none";

 }

}





 

function updateWMTT3(e) {

	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;

	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;

	if (wmtt3 != null) {

		wmtt3.style.left = (x) + "px";

		wmtt3.style.top 	= (y) + "px";

	}

}



function showWMTT3(id) {

photoact=id;

 wmtt3 = document.getElementById(id);

 if (navigator.appName == 'Netscape')

 tt = true;

 else tt = false;



 if (tt == false)

 {	

	if (id<=66)

	{

 	l = ((339 * document.body.scrollWidth) / 1003) ;		

	}





 	if (id>=67)

 	{

 	l = ((539 * document.body.scrollWidth) / 1003) ;	

 	}

 	

 	t = 352;

 	wmtt3.style.top=t

 	wmtt3.style.left=l

 	wmtt3.filters[0].Apply();

   	wmtt3.filters.revealTrans.duration=0.5;

   	wmtt3.filters.revealTrans.transition=14;

   	wmtt3.filters[0].Play();  	

  	

  }	

	wmtt3.style.display = "block"

}



function hideWMTT3() {

 if (wmtt3 != null) 

 {

	wmtt3.style.display = "none";

 }

}

 







