function init_theatre_select() {
	ar=new Array ('Выберите театр'
);
	for (j=0; j<ar.length; j++) {
   		el = new Option(ar[j],j)
   		document.theatre["perfs"].options[j]=el;
	}   
	document.theatre["perfs"].options[0].selected=true;
}

function show_perf() {
	perf=new Array ('Репертуар театров Москвы.\n\nwww.informer.ru (c)'  
);
	if (document.theatre.perfs.selectedIndex>=1) {
  		document.theatre.txta.value=perf[document.theatre.perfs.selectedIndex];
  	} else { 
		document.theatre.txta.value='Репертуар театров Москвы.\n\nwww.informer.ru (c)'; 
	}
}
init_theatre_select();
show_perf();

