/*
AnimationHomeManager : gère l'animation de home

méthodes :
initContent - cree le swf
show/hide - affiche/masque l'animation
*/
AnimationHomeManager = {};
//
AnimationHomeManager.initContent = function(){
	var vObj = writeSwf("swf/anim_home.swf", "animHome", "900", "100%", "JSManager=AnimationHomeManager.swf");
	var vSwf = this.swf = vObj.swf;
	var vDiv = this.div = vObj.div;
	this.hauteurSwf = 200;
	// modification des styles du div
	vDiv.style.backgroudColor = "#F3F3F4";
	this.hide();
	this.onInit();
};

AnimationHomeManager.show = function (){
	this.div.style.height = this.hauteurSwf;
	this.div.style.borderBottom = "#999999 solid 1px";
};
AnimationHomeManager.hide = function (){
	this.div.style.height = 0;
	this.div.style.borderBottom = "#999999 solid 0px";
};