\n');
}
/*********************/
var currentDisplay = 0;
var timer, loadedImages = [];
//var path = 'http://192.168.1.215/tahiti-and-vacation.com/site/images/home_diapo/';
var path = 'http://www.tahiti-and-vacation.com/site/images/home_diapo/';
//Ajout des images a afficher dans les diapos
var images = [
path + 'bandeau-im9.jpg',
//path + 'bandeau-im13.jpg',
path + 'bandeau-im10.jpg',
//path + 'bandeau-im11.jpg',
//path + 'bandeau-im12.jpg',
path + 'bandeau-im1.jpg',
path + 'bandeau-im2.jpg',
path + 'bandeau-im3.jpg',
//path + 'bandeau-im4.jpg',
//path + 'bandeau-im5.jpg',
path + 'bandeau-im6.jpg'//,
//path + 'bandeau-im7.jpg',
//path + 'bandeau-im8.jpg'
];
loadedLink = new Array();
new Asset.images(images,{
onProgress: function(i, id){
this.setStyles({'float': 'left','border':0});
loadedImages[i] = this;
//lier un raccourci à l'une des images ajoutées
switch(this.src){
case path+'bandeau-im1.jpg': loadedLink[i] = '../package/index.php?grp=DEC-D'; break;
case path+'bandeau-im2.jpg': loadedLink[i] = 'details-package.php?p=pack1';
this.addClass('short');
break;
case path+'bandeau-im3.jpg': loadedLink[i] = 'details-package.php?p=pack9';
this.addClass('iaorana');
break;
case path+'bandeau-im4.jpg': loadedLink[i] = '../package/index.php?grp=LMT-LMBB'; break;
case path+'bandeau-im5.jpg': loadedLink[i] = '../package/index.php?grp=BOB-C'; break;
case path+'bandeau-im6.jpg': loadedLink[i] = 'details-package.php?p=pack12';
this.addClass('familly');
break;
case path+'bandeau-im7.jpg': loadedLink[i] = '../package/index.php?grp=ICLMBOB'; break;
case path+'bandeau-im8.jpg': loadedLink[i] = '../package/index.php?grp=SPE-8'; break;
case path+'bandeau-im9.jpg': loadedLink[i] = '../package/index.php?grp=SPM1'; break;
case path+'bandeau-im10.jpg': loadedLink[i] = '../package/index.php?themes=SWD'; break;
case path+'bandeau-im11.jpg': loadedLink[i] = '../package/index.php?grp=LASTM-1 '; break;
case path+'bandeau-im12.jpg': loadedLink[i] = '../package/index.php?grp=LASTM-2 '; break;
case path+'bandeau-im13.jpg': loadedLink[i] = 'details-package.php?p=pack1';
this.addClass('atn');
break;
}
this.addEvent('click', function(e){
if(this.get('class')!=''){
e.stop();
var box = new Box(this);
}
});
},
onComplete: function(){
loadedImages.each(function(image, i){
var href = loadedLink[i];
var div =
new Element(
'div',{
id:"diapo"+i,
style:"position:absolute; opacity:1;",
tween:{
duration: 700,
transition: 'circ:in',
link: 'cancel'
}
}
);
var btn = new Element('img',{id:"btn"+i,src:path+"btn_off.gif",style:"cursor:pointer;position:relative;height:12px;width:12px; margin-left:10px;margin-left:7px;margin-top:6px;margin-bottom:2px;"});
btn.addEvent('click',
function(e){
var nextDisplay = this.id.substr(3,5);
if(nextDisplay!=currentDisplay)
{
$('btn'+currentDisplay).set('src', path+"btn_off.gif");
this.set('src', path+"btn_on.gif");
$('diapo'+nextDisplay).tween('opacity', 1);
$('diapo'+currentDisplay).tween('opacity', 0);
currentDisplay = nextDisplay;
clearTimeout(timer);
timer=setTimeout("diaponext()",6000);
}
}
);
var a = new Element('a', {href:href});
if(i==0)
{
btn.set('src', path+"btn_on.gif");
}
div.inject($('zone_bouton'),'before');
a.inject(div);
image.inject(a);
btn.inject($('zone_bouton'));
});
diapoinit();
}
});
//var myFx = new Fx.Tween($('microfilm'),{duration:2000,link:'ignore',transition: Fx.Transitions.Bounce.easeIn});
// $('bt_next').addEvent('click', function(){
// var left = $('microfilm').style.left;
// left = left.replace(/px/,"");
// if( left < (images.length-2) * 644 * -1 )left = 0;
// else left = left - 644;
// myFx.start('left', left+'px');
// });
// $('bt_previous').addEvent('click', function(){
// var left = $('microfilm').style.left;
// left = left.replace(/px/,"");
// if( left <= -644 ) left = parseInt(left) + 644;
// else if( left == 0 )left = (images.length-1) * 644 * -1;
//myFx.start('left', left+'px');
// });
// val = true;
function diaponext(){
var tmp= (parseInt(currentDisplay,10)+1);
if($chk($('btn'+tmp)))
{
$('btn'+tmp).fireEvent('click', $('btn'+tmp), 10);
}
else
$('btn0').fireEvent('click', $('btn0'), 10);
}
function diapoinit(){
var i=1
while($chk($('btn'+i)))
{
$('diapo'+i).setStyle('opacity', '0');
i++;
}
$('btn1').fireEvent('click', $('btn1'), 6000);
}
Tahiti, Bora Bora all inclusive romantic honeymoon package
Where can you have a better honeymoon vacation then Bora Bora and Tahiti ?
You are on the right track to get an unforgettable romantic moment with your lover.
These Tahiti and Bora Bora honeymoon packages made by local specialists are ready to use. Select one of them and look for more vacation package options (if available).
Choose to modify them and customize your vacation package as you like with our online customizable engine package.
Choose your Tahiti, Bora bora and her islands vacation packages
** Aplicable conditions may apply
Your selection
Theme: Wedding Trade Show TAHITI
/ BORA BORA
3 night(s) starting from $ 622 USD per guest
Program :
- 1 night Tahiti, Buffet Breakfast
- 2 nights Bora Bora, Full board
Hotel :
- Sofitel Tahiti Maeva Beach Resort
- Le Maitai Polynesia Bora Bora
Get the best rate for departure between :
Jan. 01, 2012 - Mar. 31, 2012
I am still unable to realize that I am already back from that amazing place in Pacific Ocean...You definitely offered us the best, we could imagine. In those 2 weeks we have spent in French Polynesia we felt in love with this great place!
In Tahiti - there was very few tourists, we felt like exclusive guests in Intercontinental, being only guests at the h ...