Event.observe(window, 'load', function() {

	//cerca tutti i link che contengano un href terminante con .pdf
  	$$('#intro a[href$=".pdf"]').each(function(elmt){ 
   	
   	//elmt.addClassName('icona_pdf');
	//elmt.insert('<img src="../include/spaw2/uploads/images/acrobat_reader_rg_1_1.gif" class="icona pdf"/>');
  	new Insertion.Top(elmt, '<img src="img/acrobat_reader_rg_1_1.gif" class="icona_pdf" alt="[pdf]" title="[pdf]"  />');
   	});
   	



	//cerca tutti i link che contengano un href terminante con .zip
  	$$('#intro a[href$=".zip"]').each(function(elmt2){ 
   	
   	//elmt.addClassName('icona_pdf');
	//elmt.insert('<img src="../img/struttura/" class="icona pdf"/>');
  	new Insertion.Top(elmt2, '<img src="img/struttura/zip.jpg" class="icona_zip" alt="[zip]" title="[zip]" style="padding: 0 5px 0 0;"  />');
   	});   
});




