function insertLinks(cat,divId) {

	// con > davanti al nome del file apri nella finestra corrente
	// senza niente apre in finestrina nuova tipo pop-up

	txtRisto = new Array();
	txtRisto[0] = new Array();
	txtRisto[1] = new Array();
	txtRisto[0][0] = 'Il men\u00F9 dinnner del giorno';
	txtRisto[1][0] = 'esmenu.htm';


	//txtRisto[0][1] = 'Il men\u00F9 a la carte';
	//txtRisto[1][1] = 'menualacarte_fr.htm';
	//txtRisto[0][3] = 'La nostra carta dei vini';
	//txtRisto[1][3] = 'cartadeivini.htm';
	//txtRisto[0][1] = 'Il men\u00F9 di PASQUA';
	//txtRisto[1][1] = 'menupasqua_2004.htm';
	//txtRisto[0][4] = 'Il men\u00F9 di NATALE';
	//txtRisto[1][4] = 'menudinatale_fr.htm';
 	//txtRisto[0][5] = 'Il men\u00F9 di SAN SILVESTRO';
	//txtRisto[1][5] = 'menusansilvestro_fr.htm';
	//txtRisto[0][6] = 'Il men\u00F9 a la carte';
	//txtRisto[1][6] = 'menualacarte_fr.htm'


	txtRooms = new Array();
	txtRooms[0] = new Array();
	txtRooms[1] = new Array();
	txtRooms[0][0] = 'Descrizione delle camere';
	txtRooms[1][0] = 'roomDesc_fr.htm';
	//txtRooms[0][1] = 'Condizioni di soggiorno';
	//txtRooms[1][1] = 'condizioni.htm';

	txtBenv = new Array();
	txtBenv[0] = new Array();
	txtBenv[1] = new Array();
	txtBenv[0][0] = 'Nos offres sp\u00E9ciales';
	txtBenv[1][0] = '>offerte.fr.htm';
	txtBenv[0][1] = 'Meteo Garda';
	txtBenv[1][1] = 'http://www.arpa.veneto.it/meteo.htm';
	txtBenv[0][2] = 'R\u00E9serve on-line';
	txtBenv[1][2] = '>prenotazioni.fr.htm';
	

	//txtBenv[0][3] = 'LAST MINUTE';
	//txtBenv[1][3] = 'LastMinute09_fr.htm';	
	//txtBenv[0][4] = 'Remise en forme...Individuelle';
	//txtBenv[1][4] = 'RimettitiInFormaSingle_fr.htm';
	//txtBenv[0][4] = 'LAST MINUTE';
	//txtBenv[1][4] = 'offerta_lastmin_en.htm';
	//txtBenv[0][5] = 'LAST INSTANT';
	//txtBenv[1][5] = 'offerta_lastins_en.htm';
	//txtBenv[0][3] = 'And you will be our guest';
	//txtBenv[1][3] = 'Off.4x3notti_en.htm';
	

	txtCentro = new Array();
	txtCentro[0] = new Array();
	txtCentro[1] = new Array();
	txtCentro[0][0] = 'Soins et services';
	txtCentro[1][0] = 'trattamenti_elenco_fr.htm';
	txtCentro[0][1] = 'Programme Sante et Beaute';
	txtCentro[1][1] = 'prog_salutebellezza_fr.htm';
	txtCentro[0][2] = 'Programme Laurentius';
	txtCentro[1][2] = 'prog_laurentius_fr.htm';
	txtCentro[0][3] = 'Programme Antistress';	
	txtCentro[1][3] = 'prog_antistress_fr.htm';
	txtCentro[0][4] = 'Programme Marte';
	txtCentro[1][4] = 'prog_marte_fr.htm';
	txtCentro[0][5] = 'Programme Venere';
	txtCentro[1][5] = 'prog_venere_fr.htm';
	txtCentro[0][6] = 'Programme Sherazade';
	txtCentro[1][6] = 'prog_sherazade_fr.htm';
	txtCentro[0][7] = 'Programme Regina';
	txtCentro[1][7] = 'prog_regina_fr.htm';
	//txtCentro[0][8] = 'Beauty centre \...offers you';
	//txtCentro[1][8] = 'OfferteSpecialiCentroBenessere.htm';
	//txtCentro[0][9] = 'Special Beauty Centre';
	//txtCentro[1][9] = 'SummerBeauty.htm';
	

	txtConv = new Array();
	txtConv[0] = new Array();
	txtConv[1] = new Array();
	txtConv[0][0] = 'Equipement';
	txtConv[1][0] = 'riunioniAtt_fr.htm';
	txtConv[0][1] = "Structures et services";
	txtConv[1][1] = 'riunioniSale_fr.htm';

	txtCond = new Array();
	txtCond[0] = new Array();
	txtCond[1] = new Array();
	txtCond[0][0] = 'Conditions de séjour';
	txtCond[1][0] = 'condizioni_fr.htm';

	txtIndica = new Array();
	txtIndica[0] = new Array();
	txtIndica[1] = new Array();
	txtIndica[0][0] = 'Indications pour nous rejoindre en voiture';
	txtIndica[1][0] = 'indAuto_fr.htm';
	txtIndica[0][1] = 'Indications sur les aéroports';
	txtIndica[1][1] = 'indAero_fr.htm';
	txtIndica[0][2] = 'Indications sur le réseau ferroviaire';
	txtIndica[1][2] = 'indFerr_fr.htm';
	


	txtOfferte = new Array();
	txtOfferte[0] = new Array();
	txtOfferte[1] = new Array();	
	txtOfferte[0][0] = '1.  OTTOBRE sul Garda - Promozione 7 notti';
	txtOfferte[1][0] = 'Ottobre2010_it.htm';


	//txtOfferte[0][0] =  '1.   Special GOLF';
	//txtOfferte[1][0] =  'GolfBB10_fr.htm';
	//txtOfferte[0][1] =  '2.   PROMOTION Premier Soleil - 7 nuit';
	//txtOfferte[1][1] =  'PrimaveraGiardino2010_fr.htm';
	//txtOfferte[0][2] =  '3.   ETE\'  a Garda';
	//txtOfferte[1][2] =  'Estate2010_fr.htm';
	//txtOfferte[0][3] =  '4.   SHORT STAY Regina Adelaide';
	//txtOfferte[1][3] =  'ShortStay10_fr.htm';
	//txtOfferte[0][4] =  '5.   Promotion Premier Soleil';
	//txtOfferte[1][4] =  'PrimaveraGiardino2010_fr.htm';
	//txtOfferte[0][5] =  '6.   Indispensable Relax d\'etè';
	//txtOfferte[1][5] =  'RelaxEstivo10_fr.htm';
	//txtOfferte[0][0] =  '1.   PROMOTION du HIVER';
	//txtOfferte[1][0] =  'PromozioneInverno2010BB_fr.htm';
	//txtOfferte[0][1] =  '2.   HIVER DE CALINS';
	//txtOfferte[1][1] =  'InvernoDiCoccole_fr.htm';
	//txtOfferte[0][2] =  '3.   Special GOLF';
	//txtOfferte[1][2] =  'GolfBB10_fr.htm';
	//txtOfferte[0][3] =  '4.   Special 2 + 1 gratuit';
	//txtOfferte[1][3] =  'Speciale2piu1Gratis_fr.htm';
	


	//txtOfferte[0][5] =  '6.   VINITALY 2010';
	//txtOfferte[1][5] =  'Vinitaly10_fr.htm';
	//txtOfferte[0][4] =  '5.   Paques a Garda 3 jour';
   	//txtOfferte[1][4] =  'Pasqua2010_fr.htm';
	//txtOfferte[0][2] =  '3.  Septembre l\'ete continue... 6 ou 4 nuits';		
	//txtOfferte[1][2] =  'Luglio5e1free_fr.htm';
	//txtOfferte[0][3] =  '4.  Septembre l\'ete continue... SINGLE';		
	//txtOfferte[1][3] =  'Luglio5e1freeSINGLE_fr.htm';
	//txtOfferte[0][4] =  '5.  Autunno d\'Oro  Offre speciale ';
	//txtOfferte[1][4] =  'SpecialeOttobre09_fr.htm';
	//txtOfferte[0][0] =  '1.   LAST MINUTE';
	//txtOfferte[1][0] =  'LastMinute09_fr.htm';
	//txtOfferte[0][4] =  '5.   Pasqua sul Garda 3 giorni';
     	//txtOfferte[1][4] =  'Pasqua3giorni09_fr.htm';
	//txtOfferte[0][5] =  '5.   EXPO RIVA SCHUH 2009...Speciale Fiera';
	//txtOfferte[1][5] =  'ExpoRivaSchuh2009_fr.htm';
	//txtOfferte[0][3] =  '4.   Fin semaine de tranquillite\'';
	//txtOfferte[1][3] =  'FineSettimana08_fr.htm';
	//txtOfferte[0][0] =  '     Reservation Anticipee 2010';
	//txtOfferte[1][0] =  'EarlyBooking_fr.htm';
	
	//txtOfferte[0][5] =  '5.   R\éveillon du 2008';
	//txtOfferte[1][5] =  'sansilvestro08_fr.htm';
	//txtOfferte[0][7] =  '7.  Il Magico Natale...';	
	//txtOfferte[1][7] =  'Natale3giorni2008_it.htm';
	//txtOfferte[0][8] =  '8.  Arriva la Befana...';
	//txtOfferte[1][8] =  'befana09_it.htm';
	//txtOfferte[0][5] =  '5.   08 Dec\émbre  Fête de l\'Immacul\ée Conception';
	//txtOfferte[1][5] =  'Immacolata2008_fr.htm';		
	//txtOfferte[0][6] =  '6.   3 x 2 ...Specialissima';				
	//txtOfferte[1][6] =  'off3x2_08_fr.htm';
	//txtOfferte[0][3] =  '4.   SHORT STAY "Regina Adelaide\"';
	//txtOfferte[1][3] =  'ShortStay_fr.htm';	
	//txtOfferte[0][4] =  '5.   Remise en forme...Individuelle';
	//txtOfferte[1][4] =  'RimettitiInFormaSingle_fr.htm';
	//txtOfferte[0][5] =  '6.   Remise en forme...';
	//txtOfferte[1][5] =  'RimettitiInForma_fr.htm';
	//txtOfferte[0][4] =  '4.  SPECIALE "Lunedi a Venerdi"';
	//txtOfferte[1][4] =  'OffLunediVenerdi08_it.htm';	
      
	//txtOfferte[0][6] =  '6.  Settimana di Pasqua';
	//txtOfferte[1][6] =  'Pasqua2008_7N.htm';
	//txtOfferte[0][4] =  '4.   Il Magico Natale...';
	//txtOfferte[1][4] =  'Natale 4giorni_fr.htm';
	//txtOfferte[0][5] =  '5.   SAN SILVESTRO \- 3 notti ';
	//txtOfferte[1][5] =  'sansilvestro_fr.htm';
	//txtOfferte[0][4] =  '4.   Regalati 3 giorni di tranquillità';
	//txtOfferte[1][4] =  'OffTuttiSanti_fr.htm';
	//txtOfferte[0][1] =  '1.   DOLCE RELAX: et pour une nuit vous sarez...';
	//txtOfferte[1][1] =  'dolcerelax_fr.htm';
	//txtOfferte[0][4] =  '4.   Foir du CHEVAL 2008';
	//txtOfferte[1][4] =  'FieraCavalli2008_fr.htm';
	//txtOfferte[0][3] =  '4.  Automne arrive...';
	//txtOfferte[1][3] =  'Settembre06_fr.htm';
	//txtOfferte[0][2] =  '3.  LAST MINUTE';
	//txtOfferte[1][2] =  'offerta_lastmin_en.htm';
	//txtOfferte[0][2] =  '3.  LAST INSTANT';
	//txtOfferte[1][2] =  'offerta_lastins_en.htm';
	//txtOfferte[0][2] =  '3. And you will be our guest';
	//txtOfferte[1][2] =  'Off.4x3notti_en.htm';
	//txtOfferte[0][2] = 'SPECIAL  March - April';
	//txtOfferte[1][2] = 'sconto10_en.htm';	
	//txtOfferte[0][2] = '3. LAST MINUTE';
	//txtOfferte[1][2] = 'offerta_lastmin_fr.htm';	
	//txtOfferte[0][4] = '4.  PASQUA 2004 offerta 7 notti';
	//txtOfferte[1][4] = 'offerta_Pasqua04_7n_fr.htm';
	//txtOfferte[0][5] = '5. SAN SILVESTRO 2 notti';
	//txtOfferte[1][5] = 'offertasilvestro03_7n_fr.htm';
	//txtOfferte[0][2] =  '3.  The New Year\'s Eve';
	//txtOfferte[1][2] =  'sansilvestro_en.htm';
	//txtOfferte[0][0] =  '     Promotion LAST SECOND';
	//txtOfferte[1][0] =  'no_lastsec_fr.htm';
	//txtOfferte[0][5] =  '5.   SAMOTER 2008...Speciale Fiera';
	//txtOfferte[1][5] =  'Samoter2008_fr.htm';
	//txtOfferte[0][2] =  '2.  Beauty & Sun';
	//txtOfferte[1][2] =  'off_BeautySun_fr.htm';
	//txtOfferte[0][3] =  '4.   Settimana di Pasqua';
	//txtOfferte[1][3] =  'Pasqua2009_7N.htm';
	

	var divElem = document.getElementById(divId);

	if ( cat == 'Risto' ) {
		txtArr = 'txtRisto' ;
		AL = txtRisto[0].length ; }
	if ( cat == 'Offer' ) {
		txtArr = 'txtOffer' ;
		AL = txtOffer[0].length ; }
	if ( cat == 'Benv' ) {
		txtArr = 'txtBenv' ;
		AL = txtBenv[0].length ; }
	if ( cat == 'Rooms' ) {
		txtArr = 'txtRooms' ;
		AL = txtRooms[0].length ; }
	if ( cat == 'Centro' ) {
		txtArr = 'txtCentro' ;
		AL = txtCentro[0].length ; }
	if ( cat == 'Conv' ) {
		txtArr = 'txtConv' ;
		AL = txtConv[0].length ; }
	if ( cat == 'Cond' ) {
		txtArr = 'txtCond' ;
		AL = txtCond[0].length ; }
	if ( cat == 'Indica' ) {
		txtArr = 'txtIndica' ;
		AL = txtIndica[0].length ; }
	if ( cat == 'Offerte' ) {
		txtArr = 'txtOfferte' ;
		AL = txtOfferte[0].length ; }



	for ( var i = 0 ; i < AL ; i++) {
		var ptEl = document.createElement('img');
   		var link = document.createElement('a');
   		var br = document.createElement('br');
		txtStr = ' ' + eval( txtArr + '[0][' + i + ']');
		txtNode = document.createTextNode(txtStr);
		fileStr =  eval( txtArr + '[1][' + i + ']');
		
		if ( fileStr.charAt(0) == '>')
		{
			fileStr = fileStr.slice(1);
			link.setAttribute('href',fileStr);
		}
		else if ( fileStr.slice(0,7) == 'http://' )
		{
			link.setAttribute('href','javascript:winOpen(1,"3","' + fileStr + '")');
		}
		else
		{
			link.setAttribute('href','javascript:winOpen(1,"1","popup/' + fileStr + '")');
		}
		ptEl.setAttribute('src','../img/varie/ptoele.jpg');
		ptEl.setAttribute('border','0');
		divElem.appendChild(link);
		links = divElem.getElementsByTagName('a');
		links[i].appendChild(ptEl);
		links[i].appendChild(txtNode);
		links[i].appendChild(br);
	}


}

