var id_current = 0;


// appear function
	function visor() {
		new Effect.Appear('pageholder', 
    		{duration: .6});
			//afterFinish: myCallBackOnFinApp
		}
		
	
	
	
	function myCallBackOnFinApp(wshow){
				setTimeout('fador()',5000)
		}
		
// fade function
	function fador() {
		new Effect.Fade('pageholder', 
    		{duration: .6,afterFinish: myCallBackOnFinFad});
		}
		
	function myCallBackOnFinFad() {
		if (id_current < (imagenames.length-1)) {
		id_current++;
		} 
		
		else {
		id_current = 0
		}
		setTimeout('showpics()',600)
		}
		
		
		