var arr=new Array();
arr['primo']='valore1';
arr['secondo']='valore2';
...
alert(arr['primo']);

ciao