
// función para que mande llamar una seccion************
	function btn_secciones (soy){
		var carga_flash = {
		wmode : 'transparent',
		swliveconnect : 'true',
		allowscriptaccess : 'always'
	};
		var secciones =$('contenidos_carga');
		var seccione =$('contenidosf');
		var contenido =$('contenido');
		var contenedor =$('contenedor');
		var myElement = $(document.body);
		var myFx = new Fx.Scroll(myElement).set(0, 0.5 * document.body.offsetHeight);
		secciones.set({
			'height':524
		
		});
		contenido.set({
			'height':954	
			
		});
		contenedor.set({
			'height':1162	
			
		});
		seccione.set({
			'height':1500
			
		});

	
			switch(soy){
			
				case "nosotros":
					carga_nosotros();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
					/*swfobject.embedSWF("swf/contenidos/nosotros/nosotros.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);*/
					
				break;
				
				case "mision":
					carga_mision();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				case "vision":
					carga_vision();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "objetivo":
					carga_objetivo();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				////boton carreras
				
				case "carreras":
					carga_carrera();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				<!--	swfobject.embedSWF("swf/contenidos/carreras/carreras.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				case "tecnico":
					carga_tecnico();
					contenido.tween('height','1200px');
					contenedor.tween('height','1400px');
				break;
				
				case "cosmetologia":
					carga_cosmetologia();
					contenido.tween('height','993px');
					contenedor.tween('height','1200px');
				break;
				
				case "certificacion":
					carga_certificacon();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "diseñadora":
					carga_disenadora();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "estilismo":
					carga_estilismo();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				////botones especialidades
				
				case "especialidades":
					carga_especialidades();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
					/*swfobject.embedSWF("swf/contenidos/especialidades/espe.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);*/
				break;
				
				
				
				case "pestañas":
					carga_pestanas();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "capilar":
					carga_capilar();
					contenido.tween('height','1700px');
					contenedor.tween('height','1900px');
					
				break;
				
				case "actualizacion":
					carga_actualizacion();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "uñas":
					carga_unas();
					contenido.tween('height','1100px');
					contenedor.tween('height','1300px');
				break;
				
				
				
				case "maquillaje":
					carga_maquillaje();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "micropigmentacion":
					carga_micropigmentacion();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "cabello":
					carga_cabello();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "cejas":
					carga_cejas();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				
				///botones diplo
				case "diplomados":
					carga_diplomados();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
					
			<!--		swfobject.embedSWF("swf/contenidos/diplo/diplo.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				case "terapias":
					carga_terapias();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "meso":
					carga_meso();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "mesoespe":
					carga_mesoespe();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
			
				
				case "masajevaras":
					carga_masajevaras();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "sabai":
					carga_sabai();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "linfatico":
					carga_linfatico();
					contenido.tween('height','1000px');
					contenedor.tween('height','1200px')
				break;
				
				
				
				case "relajante":
					carga_relajante();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "piedras":
					carga_piedras();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "refle":
					carga_refle();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				case "quiro":
					 carga_quiro();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				
				///botones productos
				case "productos":
					carga_produ();
						contenido.tween('height','954px');
						contenedor.tween('height','1162px');
				<!--	swfobject.embedSWF("swf/contenidos/productos/prod.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				case "capilares":
					carga_capilares();
					contenido.tween('height','1700px');
					contenedor.tween('height','1900px');
				break;
				
				case "lineas":
					carga_lineas();
						contenido.tween('height','954px');
					contenedor.tween('height','1162px');
				break;
				
				///botones galeria
				
				case "galeria":
					carga_galeria();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
			<!--		swfobject.embedSWF("swf/contenidos/galeria/gale.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				///botones eventos
				
				case "eventos":
					carga_eventos();
					contenido.tween('height','1060px');
					contenedor.tween('height','1267px');
			<!--		swfobject.embedSWF("swf/contenidos/eventos/eventos.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				
				//botones contacto
				
				
				case "contacto":
					carga_contacto();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
			<!--		swfobject.embedSWF("swf/contenidos/contacto/conta.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
				
				
				case "moda":
					carga_moda();
					contenido.tween('height','954px');
					contenedor.tween('height','1162px');
			<!--		swfobject.embedSWF("swf/contenidos/moda/moda.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);-->
				break;
			};
			
				
			function carga_nosotros(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/nosotros/index.html');
										
				};
				
				function carga_mision(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/nosotros/secciones/mision/mision.html');
					
				};
				
				function carga_vision(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/nosotros/secciones/vision/vision.html');
					
				};
				function carga_objetivo(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/nosotros/secciones/objetivo/objetivo.html');
					
				};
				
				
				function carga_carrera(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/carreras.html');
					
				};
				
				function carga_tecnico(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/secciones/tecnico/tecnico.html');
										
				};
				
				function carga_cosmetologia(){
					var contenidos = $('contenidosf').empty().set('src', 		     'secciones/carreras/secciones/cosmetologia/cosmetologia.html');
					
				};
				
				function carga_certificacon(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/secciones/certificacion/certificacion.html');
					
				};
				
				function carga_disenadora(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/secciones/disenadora/disenadora.html');
					
				};
				
				function carga_estilismo(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/secciones/estilismo/estilismo.html');
										
				};
				
				function carga_especialidades(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/especialidades.html');
					
				};
				
				function carga_pestanas(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/pestanas/pestanas.html');
					
				};
				
				function carga_capilar(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/capilar/capilar.html');
					
				};
				
				function carga_actualizacion(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/actualizacion/actualizacion.html');
										
				};
				
				function carga_unas(){
					var contenidos = $('contenidosf').empty().set('src', 		     'secciones/especialidades/secciones/unas/unas.html');
					
				};
				
				function carga_maquillaje(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/maquillaje/maquillaje.html');
					
				};
				
				function carga_micropigmentacion(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/micropigmentacion/micropigmentacion.html');
					
				};
				
				
				function carga_cabello(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/cabello/cabello.html');
										
				};
				
				function carga_cejas(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/especialidades/secciones/cejas/cejas.html');
					
				};
				
				function carga_vision(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/nosotros/secciones/vision/vision.html');
					
				};
				
				function carga_diplomados(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/diplomados.html');
					
				};
				
				function carga_tecnico(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/carreras/secciones/tecnico/tecnico.html');
										
				};
				
				function carga_terapias(){
					var contenidos = $('contenidosf').empty().set('src',		     'secciones/diplomados/secciones/terapias/terapias.html');
					
				};
				
				function carga_meso(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/meso/meso.html');
					
				};
				
				function carga_mesoespe(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/mesoespe/mesoespe.html');
					
				};
				
				
				function carga_masajevaras(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/masajevaras/masajevaras.html');
										
				};
				
				function carga_sabai(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/sabai/sabai.html');
					
				};
				
				function carga_linfatico(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/linfatico/linfatico.html');
					
				};
				
				function carga_relajante(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/relajante/relajante.html');
					
				};
				
				function carga_piedras(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/piedras/piedras.html');
										
				};
				
				function carga_refle(){
					var contenidos = $('contenidosf').empty().set('src', 		     'secciones/diplomados/secciones/refle/refle.html');
					
				};
				
				function carga_quiro(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/diplomados/secciones/quiro/quiro.html');
					
				};
				
				function carga_produ(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/productos/secciones/lineas/lineas.html');
					
				};
				function carga_capilares(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/productos/secciones/capilares/capilares.html');
										
				};
				
				function carga_lineas(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/productos/secciones/lineas/lineas.html');
					
				};
				
				function carga_galeria(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/galeria/galeria.html');
					
				};
				
				function carga_eventos(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/eventos/eventos.html');
					
				};
				
				function carga_contacto(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/contacto/contacto.html');
										
				};
				
				function carga_moda(){
					var contenidos = $('contenidosf').empty().set('src', 'secciones/promos/moda/moda.html');
					
				};			
				
		
		
		
		
		
		
		
	};
	
window.addEvent('domready',function (){


	var carga_flash = {
		wmode : 'transparent',
		swliveconnect : 'true',
		allowscriptaccess : 'always'
	};
	
		swfobject.embedSWF("swf/menugris.swf", "contenedor_flash", "1000", "295", "9.0.0", '', '', carga_flash);
		swfobject.embedSWF("swf/markg.swf","mark","667","270","9.0.0",'','',carga_flash);
		swfobject.embedSWF("audio/audio.swf","audio","147","50","9.0.0",'','',carga_flash);
		swfobject.embedSWF("swf/face.swf","contenedor_face","78","55","9.0.0",'','',carga_flash);
		swfobject.embedSWF("swf/twi.swf","contenedor_twi","78","55","9.0.0",'','',carga_flash);
		swfobject.embedSWF("swf/intro.swf","contenedor_intro","960","545","9.0.0",'','',carga_flash);
	
		$('contenidosf').set('src', 'secciones/bienvenida/index.html');
				
	var myElement = $(document.body);
	var myFx = new Fx.Scroll(myElement).start(0, 0.5 * document.body.offsetHeight);	
	
		myFx.start('x',0,'y',500);
		swfobject.embedSWF("swf/contenidos/bienvenida/bienve.swf", "carga_flash_animacion", "1000", "524", "9.0.0", '', '', carga_flash);


});



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


	
});	


