Si che si può le rendi globali, spostandole fuori dalla funzione
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum