function Init() {
		DynLayerInit();
		
		espere.slideInit(); espere.glideInit = DynLayerGlideInit; espere.glideInit();		
		
		toro.slideInit(); toro.glideInit = DynLayerGlideInit; toro.glideInit();
		
		pasto.slideInit(); pasto.glideInit = DynLayerGlideInit; pasto.glideInit();
		pastohor.slideInit(); pastohor.glideInit = DynLayerGlideInit; pastohor.glideInit();
		
		hierrorh.slideInit(); hierrorh.glideInit = DynLayerGlideInit; hierrorh.glideInit();
		titulorh.slideInit(); titulorh.glideInit = DynLayerGlideInit; titulorh.glideInit();

		hierrocp.slideInit(); hierrocp.glideInit = DynLayerGlideInit; hierrocp.glideInit();
		titulocp.slideInit(); titulocp.glideInit = DynLayerGlideInit; titulocp.glideInit();

		slogan.slideInit(); slogan.glideInit = DynLayerGlideInit; slogan.glideInit();

		info.slideInit(); info.glideInit = DynLayerGlideInit; info.glideInit();
		telefonos.slideInit(); telefonos.glideInit = DynLayerGlideInit; telefonos.glideInit();
		
		banderas.slideInit(); banderas.glideInit = DynLayerGlideInit; banderas.glideInit();
		
		arconet.slideInit(); arconet.glideInit = DynLayerGlideInit; arconet.glideInit();

		Todos.show();

		precarga();

		
		setTimeout("caetoro()",2000);
		setTimeout("slogan.show()",4000);
		setTimeout("info.show()",4500);
		setTimeout("telefonos.show()",5000);
		setTimeout("banderas.show()",5500);
		setTimeout("arconet.show()",6000);
}

function precarga() {

preload("torito","graf/cae_joyau.gif");
preload("pasto1","graf/pasto.gif");
preload("pasto2","graf/pasto_hor.gif");
preload("hierro1","graf/hierro_rh.gif");
preload("hierro2","graf/hierro_cp.gif");
preload("titulo1","graf/tit_rh.gif");
preload("titulo2","graf/tit_cp.gif");
preload("slogan1","graf/slogan.gif");
preload("logoarco","graf/logoarco.gif");
preload("band1","graf/esp.gif");
preload("band2","graf/ing.gif");
preload("band3","graf/fra.gif");
}

function caetoro(){
	espere.hide();
	toro.show();
	pasto.show();
	pastohor.show();
	hierrorh.show();
	hierrocp.show();
	titulorh.show();
	titulocp.show();
	toro.glideBy('slow','fast',0,600,5,50);
	setTimeout( "pasto.glideBy('fast','slow',0,-10,100,10)",1300 );
	setTimeout( "pasto.glideBy('fast','slow',0,10,100,10)",1400 );
	setTimeout( "pastohor.glideBy('fast','slow',0,-10,100,10)",1300 );
	setTimeout( "pastohor.glideBy('fast','slow',0,10,100,10)",1400 );

	setTimeout( "hierrorh.glideBy('fast','slow',-10,-20,75,10)",1300 );
	setTimeout( "hierrorh.glideBy('fast','slow',10,20,50,10)",1500 );

	setTimeout( "titulorh.glideBy('fast','slow',10,-20,120,10)",1300 );
	setTimeout( "titulorh.glideBy('fast','slow',-10,20,50,10)",1500 );

	setTimeout( "titulocp.glideBy('fast','slow',-10,-30,50,10)",1300 );
	setTimeout( "titulocp.glideBy('fast','slow',10,30,120,10)",1500 );

	setTimeout( "hierrocp.glideBy('fast','slow',10,-20,75,10)",1300 );
	setTimeout( "hierrocp.glideBy('fast','slow',-10,20,60,10)",1500 );

}





function preload(imgObj,imgSrc) {
	eval(imgObj+' = new Image()')
	eval(imgObj+'.src = "'+imgSrc+'"')
}
