// JavaScript Document

$(document).ready(function(){
	//document.write(tech);
	//document.write(ther);
	var t = 100;
	var int = 300;
	if ((tech == "aa") && (ther == "aa")) {
		$('.titre').hide();
		$('.titre').fadeIn(10000);
		{
		$('.tech').each(function(index) {
			i = index +1;
			$(this).css("margin-left",'-=1000px');
			$(this).delay(t).animate({marginLeft:'+=1000px'},1500);
			t = t + int;
		});
		var t = 100;
		$('.ther').each(function(index) {
			i = index +1;
			$(this).css("margin-left",'+=1000px');
			$(this).delay(t).animate({marginLeft:'-=1000px'},1500);
			t = t + int;
		});
		}
	}
	else {
		$("#centre").css("text-align",'justify');
		
	}
});
