

document.observe('dom:loaded', function() { 

	FLIR.init( { path: '/global/facelift/' } );
 

	// Or, you can pass an array of selectors to the auto function to be replaced.

	
	FLIR.replace( 'h1' , new FLIRStyle({ cFont:'dinlight' }) );
	FLIR.replace( 'h2' , new FLIRStyle({ cFont:'dinbla', mode:'wrap' }) );
	

	//if($("personal"))
	//{	
	
	var lista = $("wrap").select(".email");
	
	lista.each(function(elm){
		
		elm.observe('click',function(e){
        	
        	Event.stop(e);
        	
        	var info = "person=" + elm.href.split("#")[1];
			Modalbox.show('/global/specialpages/test.php', {params: info,title: 'ERTAN', afterLoad: function(){
				FLIR.replace($('popinforub'), new FLIRStyle({ cFont:'dinlight' }) );
				
			}});        
		
		});		
						
	});
	
	
//	};


	

}); 



