function ajaxize(url, w, h, scroll){
	
	document.getElementById('ajax').innerHTML = '<div id="overlayAjax"></div><a href="#" id="closeAjax"><span>Close</span></a><iframe src="" frameborder="0" marginwidth="0" marginheight="0" scrolling="'+scroll+'" id="popAjax"></iframe>';
	
	document.getElementById('popAjax').style.width = w+'px';
	document.getElementById('popAjax').style.height = h+'px';
	
	document.getElementById('overlayAjax').style.height = document.getElementById('conteneur').offsetHeight+document.getElementById('footer').offsetHeight+'px';
	
	document.getElementById('popAjax').style.marginLeft = 0-Math.floor(w/2)+'px';
	document.getElementById('popAjax').style.marginTop = 0-Math.floor(h/2)+'px';
	document.getElementById('closeAjax').style.marginLeft = (w/2)+5+'px';
	document.getElementById('closeAjax').style.marginTop = 0-15-Math.floor(h/2)+'px';	 	
	
	document.getElementById('ajax').style.visibility = 'visible';
	if (document.getElementById('pub')){
		document.getElementById('pub').style.visibility = 'hidden';
	}
	document.getElementById('popAjax').src=url;
	
}


function closePopAjax(){
	document.getElementById('ajax').style.visibility = 'hidden';
	if (document.getElementById('pub')){
		document.getElementById('pub').style.visibility = 'visible';
	}
	document.getElementById('ajax').innerHTML = '';
}


/* INITIALISATIONS */

/* ToolTips */
window.addEvent('domready', function(){
	/* Tips */
	var Tips3 = new Tips($$('.Tips3'), {
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 300, wait: false}).set(0);
			this.myTween = new Fx.Tween(this.toolTip, 'margin-top', { duration: 300 });
		},
		onShow: function(toolTip) {
			this.fx.start(1);
			this.myTween.start('-20px', '-25px');
		},
		onHide: function(toolTip) {
			this.fx.start(0);
			this.myTween.start('-25px', '-40px');
		},
		showDelay: 200,
		hideDelay: 500,
		fixed: true
	});
});

/* iCarousel */
window.addEvent("domready", function() {

	new iCarousel("liste_temoignages", {
		idPrevious: "temoignages_prev",
		idNext: "temoignages_next",
		idToggle: "undefined",
		item: {
			klass: "temoignage",
			size: 260
		},
		animation: {
			duration: 500,
			amount: 1
		}
	});
});


