



window.addEvent('domready', function() {

var accueil = new Fx.Slide('accueil', {mode: 'horizontal'});
var conseil = new Fx.Slide('conseil', {mode: 'horizontal'});
var communication = new Fx.Slide('communication', {mode: 'horizontal'});
var strategie = new Fx.Slide('strategie');
var print = new Fx.Slide('print');
var web = new Fx.Slide('web');
var engagements = new Fx.Slide('engagements', {mode: 'horizontal'});
var produits = new Fx.Slide('produits', {mode: 'horizontal'});
var references = new Fx.Slide('references', {mode: 'horizontal'});
var illustr_references = new Fx.Slide('illustr_references');
var realisations = new Fx.Slide('realisations');
var contact = new Fx.Slide('contact', {mode: 'horizontal'});
conseil.hide();
communication.hide();
strategie.hide();
print.hide();
web.hide();
engagements.hide();
produits.hide();
references.hide();
illustr_references.hide();
realisations.hide();
contact.hide();
//--------------------------------------
//--slide horizontal
//--------------------------------------

 
$('btn_accueil').addEvent('click', function(e){
  conseil.hide();
	communication.hide();
	strategie.hide();
	print.hide();
	web.hide();
	engagements.hide();
	produits.hide();
	references.hide();
	illustr_references.hide();
	realisations.hide();
	contact.hide();
	e = new Event(e);
	accueil.toggle();
	e.stop();
});


$('btn_conseil').addEvent('click', function(e){
  accueil.hide();
  communication.hide();
  strategie.hide();
  print.hide();
  web.hide();
  engagements.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	conseil.toggle();
	e.stop();
});


$('btn_communication').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  strategie.hide();
  print.hide();
  web.hide();
  engagements.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	communication.toggle();
	e.stop();
});

$('btn_engagements').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  communication.hide();
  strategie.hide();
  print.hide();
  web.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	engagements.toggle();
	e.stop();
});


$('btn_produits').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  communication.hide();
  strategie.hide();
  print.hide();
  web.hide();
  engagements.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	produits.toggle();
	e.stop();
});





$('btn_references').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  communication.hide();
  strategie.hide();
  print.hide();
  web.hide();
  engagements.hide();
  produits.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	references.toggle();
	e.stop();
});

//--------------------------------------
//--slide vertical
//--------------------------------------

$('btn_strategie').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	strategie.toggle();
	e.stop();
});

$('btn_print').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	print.toggle();
	e.stop();
});

$('btn_web').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  references.hide();
  illustr_references.hide();
  realisations.hide();
  contact.hide();
	e = new Event(e);
	web.toggle();
	e.stop();
});


$('btn_illustr_references').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  communication.hide();
  strategie.hide();
  web.hide();
  print.hide();
  contact.hide();
	e = new Event(e);
	illustr_references.toggle();
	e.stop();
});

$('btn_realisations').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  communication.hide();
  strategie.hide();
  web.hide();
  print.hide();
  contact.hide();
	e = new Event(e);
	realisations.toggle();
	e.stop();
});

$('btn_contact').addEvent('click', function(e){
  accueil.hide();
  conseil.hide();
  engagements.hide();
  produits.hide();
  communication.hide();
  web.hide();
  strategie.hide();
  print.hide();
  realisations.hide();
  illustr_references.hide();
  references.hide();
	e = new Event(e);
	contact.toggle();
	e.stop();
});





});//--fin domreadeay
