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] = 'Beispiel des Tagesmenues';
	txtRisto[1][0] = 'esmenu.htm';
	txtRisto[0][1] = 'A la Carte Menu';
	txtRisto[1][1] = 'menualacarte_de.htm';


	//txtRisto[0][1] = 'FISH & GARDA  Unsere Menu';
	//txtRisto[1][1] = 'fishEgarda_de.htm';
	//txtRisto[0][1] = 'Silvester Dinner';
	//txtRisto[1][1] = 'menusansilvestro04_de.htm';
	//txtRisto[0][1] = 'Verkostung Menu';
	//txtRisto[1][1] = 'menudeg.htm';
	//txtRisto[0][3] = 'Il men\u00F9 di natale';
	//txtRisto[1][3] = 'esmenu.htm';

	txtRooms = new Array();
	txtRooms[0] = new Array();
	txtRooms[1] = new Array();
	txtRooms[0][0] = 'Zimmern Beschreibung';
	txtRooms[1][0] = 'roomDesc_de.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] = 'Unsere neue Angebote';
	txtBenv[1][0] = '>offerte.de.htm';
	txtBenv[0][1] = 'Neue on-line Reservierung';
	txtBenv[1][1] = '>prenotazioni_de.htm';
	txtBenv[0][2] = 'Meteo Garda';
	txtBenv[1][2] = 'http://www.arpa.veneto.it/meteo.htm';
	

	//txtBenv[0][3] = 'URLAUB 2010 Buchen Sie jetzt und sparen Sie...';
	//txtBenv[1][3] = 'EarlyBooking_de.htm';
	//txtBenv[0][3] = 'LAST MINUTE';
	//txtBenv[1][3] = 'LastMinute09_de.htm';
	//txtBenv[0][3] = 'Ostern, eine Woche am Gardasee';
	//txtBenv[1][3] = 'Pasqua2008_7N_de.htm';
	//txtBenv[0][3] = 'LAST SECOND';
	//txtBenv[1][3] = 'offerta_lastsec_de.htm';	
	//txtBenv[0][3] = 'Remise en forme...Speziell SINGLE ';
	//txtBenv[1][3] = 'RimettitiInFormaSingle_de.htm';
	//txtBenv[0][3] = 'LAST MINUTE';
	//txtBenv[1][3] = 'offerta_lastmin_de.htm';
	//txtBenv[0][4] = 'AUTUNNO d\'ORO in Garda  - Programm';
	//txtBenv[1][4] = 'AutunnoOroProgramma05_de.htm';
	//txtBenv[0][5] = 'LAST INSTANT';
	//txtBenv[1][5] = 'offerta_lastins_de.htm';
	//txtBenv[0][3] = 'Sie werden unsere Gäste sein';
	//txtBenv[1][3] = 'Off.4x3notti_de.htm';
	//txtBenv[0][3] = 'Winter PROMOTION';
	//txtBenv[1][3] = 'sconto30_de.htm';
	

	txtCentro = new Array();
	txtCentro[0] = new Array();
	txtCentro[1] = new Array();
	txtCentro[0][0] = 'Unsere Behandlungen';
	txtCentro[1][0] = 'trattamenti_elenco_de.htm';
	txtCentro[0][1] = 'LAURENTIUS Programm';
	txtCentro[1][1] = 'prog_laurentius_de.htm';
	txtCentro[0][2] = 'ANTISTRESS Programm';
	txtCentro[1][2] = 'prog_antistress_de.htm';
	txtCentro[0][3] = 'VENERE Programm';
	txtCentro[1][3] = 'prog_venere_de.htm';
	txtCentro[0][4] = 'MARTE Programm';
	txtCentro[1][4] = 'prog_marte_de.htm';
	txtCentro[0][5] = 'SHERAZADE Programm';
	txtCentro[1][5] = 'prog_sherazade_de.htm';
	txtCentro[0][6] = 'GESUNDHEITS und SCHÖNHEITS Programm';
	txtCentro[1][6] = 'prog_salutebellezza_de.htm';
	txtCentro[0][7] = 'AURORA und MUSA Programme';
	txtCentro[1][7] = 'prog_regina_de.htm';
	//txtCentro[0][8] = 'Beauty Centre Angebot \...etwas besonderes f\u00F9r Sie';
	//txtCentro[1][8] = 'OfferteSpecialiCentroBenessere.htm';
	//txtCentro[0][9] = 'SPEZIELLE Beauty Centre';
	//txtCentro[1][9] = 'SummerBeauty.htm';
	
	
	txtConv = new Array();
	txtConv[0] = new Array();
	txtConv[1] = new Array();
	txtConv[0][0] = 'Attrezzature';
	txtConv[1][0] = 'riunioniAtt_de.htm';
	txtConv[0][1] = "Strutture e servizi";
	txtConv[1][1] = 'riunioniSale_de.htm';

	txtCond = new Array();
	txtCond[0] = new Array();
	txtCond[1] = new Array();
	txtCond[0][0] = 'Condizioni di soggiorno';
	txtCond[1][0] = 'condizioni_de.htm';

	txtIndica = new Array();
	txtIndica[0] = new Array();
	txtIndica[1] = new Array();
	txtIndica[0][0] = 'Wegbeschreibung f\u00FCr die Anreise im Auto';
	txtIndica[1][0] = 'indAuto_de.htm';
	txtIndica[0][1] = 'Wegbeschreibung f\u00FCr die Anreise im Flugzeug';
	txtIndica[1][1] = 'indAero_de.htm';
	txtIndica[0][2] = 'Wegbeschreibung f\u00FCr die Anreise im Zug';
	txtIndica[1][2] = 'indFerr_de.htm';

	txtOfferte = new Array();
	txtOfferte[0] = new Array();
	txtOfferte[1] = new Array();
	txtOfferte[0][0] =  '1.   OKTOBER am Gardasee'; 
	txtOfferte[1][0] =  'Ottobre2010_de.htm';
	

	//txtOfferte[0][0] =  '1.   15 August "\FERRAGOSTO\"';
	//txtOfferte[1][0] =  'OffFerragosto2010_de.htm';
	//txtOfferte[0][5] =  '6.   SOLAREXPO...Spezielle Messe';
	//txtOfferte[1][5] =  'Solarexpo2010_de.htm';
	//txtOfferte[0][5] =  '6.   1 Mai - 2 Tage und ...';
	//txtOfferte[1][5] =  '1Maggio3giorni_de.htm';
	//txtOfferte[0][3] =  '4.  OSTERN am Gardasee - 3 Naechte';
	//txtOfferte[1][3] =  'Pasqua3giorni10_de.htm';
	//txtOfferte[0][0] =  '1.   WINTER ANGEBOT 2010';
	//txtOfferte[1][0] =  'PromozioneInverno2010BB_de.htm';
	//txtOfferte[0][1] =  '2.   WINTER ERHOLUNG...am Gardasee';
	//txtOfferte[1][1] =  'InvernoDiCoccole_de.htm';
	//txtOfferte[0][0] =  'URLAUB 2010 Buchen Sie jetzt und sparen Sie...';
	//txtOfferte[1][0] =  'EarlyBooking_de.htm';
	//txtOfferte[0][4] =  '4.   GOLF Spezielle';
	//txtOfferte[1][4] =  'off_Golf08_de.htm';
	//txtOfferte[0][3] =  '3.   Feiern Sie mit uns das Neujahr';
	//txtOfferte[1][3] =  'SanSilvestro09_de.htm';
	//txtOfferte[0][3] =  '3.  6 Januar die Drei Könige...';
	//txtOfferte[1][3] =  'befana10_de.htm';
	//txtOfferte[0][0] =  '1.   LAST MINUTE';
	//txtOfferte[1][0] =  'LastMinute09_de.htm';
	//txtOfferte[0][1] =  '2.   SPEZIELLE 2 + 1';
	//txtOfferte[1][1] =  'Speciale2piu1Gratis_de.htm';
	//txtOfferte[0][5] =  '6.   1 Mai - 3 Tage';
	//txtOfferte[1][5] =  '1Maggio3giorni_de.htm';
	//txtOfferte[0][5] =  '5.   EXPO RIVA SCHUH 2009..Spezielle Messe';
	//txtOfferte[1][5] =  'ExpoRivaSchuh2009_de.htm';
	//txtOfferte[0][3] =  '4.   Ostern eine Woche am Gardasee';
	//txtOfferte[1][3] =  'Pasqua2009_7N_de.htm';
	//txtOfferte[0][0] =  '1.   GOLF Spezielle';
	//txtOfferte[1][0] =  'GolfBB10_de.htm';
	//txtOfferte[0][1] =  '2.   Erholung Week-End'; 
	//txtOfferte[1][1] =  'WeekEndBenessere10_de.htm';
	//txtOfferte[0][2] =  '3.   SOMMER am Gardasee'; 
	//txtOfferte[1][2] =  'Estate2010_de.htm';
	//txtOfferte[0][3] =  '4.   PROMOTION Erste Sonne 7 N\ächte';  
	//txtOfferte[1][3] =  'PrimaveraGiardino2010_de.htm';
	//txtOfferte[0][4] =  '5.   SHORT STAY "Regina Adelaide\"';
	//txtOfferte[1][4] =  'ShortStay_de.htm';	
	//txtOfferte[0][5] =  '6.   UNVERZICHTBARE Sommerliche Entspannung';
	//txtOfferte[1][5] =  'RelaxEstivo10_de.htm';



	//txtOfferte[0][0] =  '     LAST SECOND';
	//txtOfferte[1][0] =  'no_lastsec_de.htm';
	//txtOfferte[0][4] =  '5.   HALLOWEEN 2 Nächte + 1 Frei';
	//txtOfferte[1][4] =  'Halloween09_de.htm';
	//txtOfferte[0][6] =  '6.   3 x 2 ...Specialissima';
	//txtOfferte[1][6] =  '3x2Speciale08_de.htm';	
	//txtOfferte[0][1] =  '1.   Remise en forme...Speziell SINGLE';
	//txtOfferte[1][1] =  'RimettitiInFormaSingle_de.htm';
	//txtOfferte[0][2] =  '2.   Remise en forme... ';
	//txtOfferte[1][2] =  'RimettitiInForma_de.htm';
	//txtOfferte[0][2] =  '7.  Feiern Sie mit uns...das neue Jahr';
 	//txtOfferte[0][2] =  '2.   Beauty & Sun';
	//txtOfferte[1][2] =  'off_BeautySun_de.htm';
	//txtOfferte[0][3] =  '3.   SPEZIELLES "Montag bis Freitag\"';
	//txtOfferte[1][3] =  'OffLunediVenerdi08_de.htm';
	
	//txtOfferte[0][5] =  '5.   Weihnachten... am Gardasee';
	//txtOfferte[1][5] =  'Natale4giorni_de.htm';	
	//txtOfferte[0][2] =  '3.   Autunno d\'Oro Spezielles Angebot...';
	//txtOfferte[1][2] =  'SpecialeOttobre09BB_de.htm';
	//txtOfferte[0][3] =  '4.   FIERA CAVALLI 2009...Spezielle Messe';
	//txtOfferte[1][3] =  'FieraCavalli2009_de.htm';	
	//txtOfferte[0][4] =  '5.  8 Dezember  Mariä Empfängnis Fest';
	//txtOfferte[1][4] =  'Immacolata2009_de.htm';		
	



	//txtOfferte[0][1] =  '1.  ...Sie werden unsere Gäste sein\!';
	//txtOfferte[1][1] =  'dolcerelax_de.htm';
	//txtOfferte[0][6] =  '6.  Magische Weihnachten...';	
	//txtOfferte[1][6] =  'Natale3giorni2008_de.htm';
	//txtOfferte[1][4] =  'notti2concenone_de.htm';	
	//txtOfferte[0][4] =  '3. Fruehling Wochen-Ende ';	
	//txtOfferte[1][2] =  'offWEPrimavera07_de.htm';	
	//txtOfferte[0][3] =  '4.  OSTERN am Gardasee - Angebot 3 Naechte';
	//txtOfferte[1][3] =  'Pasqua07_de.htm';
	//txtOfferte[0][1] =  '2.  FüR IHRE ENTSPANNUNG...';
	//txtOfferte[1][1] =  'off_relaxeben06_de.htm';
	//txtOfferte[0][3] =  '4.  Der Herbst Kommt...';
	//txtOfferte[1][3] =  'Settembre06_de.htm';
	//txtOfferte[0][2] =  '3.  LAST MINUTE';
	//txtOfferte[1][2] =   'offerta_lastmin_de.htm';
	//txtOfferte[0][4] =  '5.  Autunno d\'Oro in Garda';
	//txtOfferte[1][4] =  'ottobredoro3N_de.htm';
	//txtOfferte[0][2] =  '3.  LAST INSTANT';
	//txtOfferte[1][2] =  'offerta_lastins_de.htm';
	//txtOfferte[0][2] =  '3. Sie werden unsere Gäste sein';
	//txtOfferte[1][2] =  'Off.4x3notti_de.htm';	
	//txtOfferte[0][0] =  'SPEZIELLEN MAERZ und APRIL';
	//txtOfferte[1][0] =  'sconto_10_de.htm';	
	
	//txtOfferte[0][4] =  '5.  Sonderangebot APRIL 2004  7 Naechte';
	//txtOfferte[1][4] =   'offerta_DopoPasqua04_7n_de.htm';
	//txtOfferte[0][3] =  '4.   Ostern, eine Woche am Gardasee';
	//txtOfferte[1][3] =  'Pasqua2008_7N_de.htm';
	//txtOfferte[0][4] =  '5.   Ostern am Gardasee...3 Tage';
	//txtOfferte[1][4] =  'offPasqua08_de.htm';
	
	//txtOfferte[0][4] =  '5.   Remise en forme...SINGLE';
	//txtOfferte[1][4] =  'RimettitiInFormaSingle_de.htm';
	//txtOfferte[0][5] =  '6.   Remise en forme... ';
	//txtOfferte[1][5] =  'RimettitiInForma_de.htm';
	//txtOfferte[0][2] =  '3.   SEPTEMBER der Sommer geht weiter... 4 - 6 Tage';
	//txtOfferte[1][2] =  'Luglio5e1free_de.htm';
	//txtOfferte[0][3] =  '4.   SEPTEMBER der Sommer geht weiter... SINGLE';
	//txtOfferte[1][3] =  'Luglio5e1freeSINGLE_de.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);
	}



}

