// Salsa Loca - JavaScript-funktioner

  var appVs = navigator.appVersion;
  var userAgent = navigator.userAgent;

  var swidthlevel = 1;
  if ( screen.width > 800 ) swidthlevel = 2;
  else if ( screen.width < 800 && screen.width > 599 ) swidthlevel = 0;
  // swidthlevel = 1;
  // swidthlevel = 0;

  var ver = parseFloat(appVs);
  var isThisIE = false;
  var posIE = appVs.indexOf('MSIE');

  if ( posIE != -1 ) {
    isThisIE = true;
    ver = parseFloat(appVs.substring(posIE+5,appVs.indexOf(';',posIE)));
  }
  var isThisIE5orLater = ( isThisIE && ver >= 5 );


  var iFotoLnr = 0;
  var iFotoOld = 0;
  var sFotoSplit = "x";
  var sFotoName = "x";
  var pImg = "";
  var sFotoPath = "";
  var sGrafikPath = "";
  var sEmailMsg = "";
  var sLinkTxt1 = "";
  var sLinkTxt2 = "";
  var sLinkTxt3 = "";

  // Salsa Loca må ikke være en del af andre sites frameopbygning
  function slAsTop() {
    if ( window.self != window.top ) { window.top.location.replace(window.self.location.href); }
  }

  // Vælg opsætning
  function slSelectCss() {
    if      ( swidthlevel == 2 ) { document.write('<link rel="stylesheet" href="slCss-1024.css" type="text/css">'); }
    else if ( swidthlevel == 0 ) { document.write('<link rel="stylesheet" href="slCss-640.css" type="text/css">'); }
  }

  // Vælg opsætning
  function slSelectCssFromSub() {
    if      ( swidthlevel == 2 ) { document.write('<link rel="stylesheet" href="../slCss-1024.css" type="text/css">'); }
    else if ( swidthlevel == 0 ) { document.write('<link rel="stylesheet" href="../slCss-640.css" type="text/css">'); }
  }

  // Vælg opsætning
  function slSelectCssFromWww() {
    if      ( swidthlevel == 2 ) { document.write('<link rel="stylesheet" href="http://www.salsaloca.dk/slCss-1024.css" type="text/css">'); }
    else if ( swidthlevel == 0 ) { document.write('<link rel="stylesheet" href="http://www.salsaloca.dk/slCss-640.css" type="text/css">'); }
  }

  // Sæt startside
  function slStartPage(thisis) {
    var rc = true;
    var slHome = top.location.href;
    var posAncher = slHome.indexOf('#');
    if ( posAncher > 0 ) { slHome = slHome.substring(0,posAncher); }

    if ( isThisIE5orLater ) {
      thisis.style.behavior = 'url(#default#homepage)';
      thisis.setHomePage(slHome);
    }
    else if ( document.layers ) {
      slSetNSHome(slHome,'I denne browser er du nødt til selv at sætte startsiden (under indstillinger)');
      rc = false;
    }
    else {
      alert('I denne browser er du nødt til selv at sætte startsiden (under indstillinger)');
      rc = false;
    }
    return rc;
  }

  // Sæt startside i Netscape
  function slSetNSHome(purl,ptxt) {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite");
    navigator.preference('browser.startup.homepage',purl);
  }

  // Åben side med formular til kommentar
  function slKommForm(url) {
    var fil = url;
    var lpos = url.lastIndexOf('/');
    var lng = url.length;
    if ( lpos < lng-2 ) fil = url.substring(lpos+1);
    var lang = 'dk';
    if ( url.indexOf('sluk')>0 || url.indexOf('indexUk')>0 ) lang = 'uk';
    if ( url.indexOf('sles')>0 || url.indexOf('indexEs')>0 ) lang = 'es';
    // document.location.href='http://www.salsaloca.dk/cgi_bin/slWebKommentar.pl?&form=0&lang='+lang+'&email=x&navn=x&komm=x&sResol=x&appVs=x&uAgent=x&lpos='+lpos+'&lng='+lng+'&side='+fil;
    document.location.href = 'http://www.salsaloca.dk/cgi_bin/slWebKommentar.pl?&form=0&lang='+lang+'&email=x&navn=x&komm=x&sResol=x&appVs=x&uAgent=x&side='+fil;
  }

  // Vælg blanke linier
  function slPage1Blanks(pcnt) {
    if ( swidthlevel == 2 ) {
      for (i=0; i<pcnt; i++) { document.write('<br>'); }
    }
  }

  // Indsæt billede i anført højde
  function slInsDummyImg(ppx,pimg) {
    document.write('<img src="grafik/'+pimg+'" height='+ppx+' border=0 valign="bottom" alt="">');
  }

  // Indsæt nyheder i topbaren
  function slTopBarInfo(pside) {

    // if ( pside > 4 ) { alert('dk '+pside); }
    if ( pside == "" ) pside=1
    var prefix = '';
    if ( pside == 5 || pside == 6 ) { prefix = '../'; }

//  var p13dk = 'Lør 26/6: Live i Tyskland ved<br><a href="'+prefix+'sldkKal.html#jun26po">Stadtfest Potsdam 2004</a></b>';
//  var p13dk = 'Fotos på vej fra den <a href="http://www.dj-michael.de/news/">anmelderroste</a><br>koncert 26. juni i Potsdam, Tyskland';
//  var p13dk = 'Nu <a href="sldkFot.html">fotos fra Salsa Locas<br>tur til Potsdam i Tyskland</a>';
//  var p13dk = 'Så er der <a href="sldkFot.html">fotos fra<br>Potsdamer Stadtfest 2004</a>';
//  var p13dk = '<a href="sldkFot.html">Fotos fra koncerten 26/6 ved<br>Potsdamer Stadtfest 2004</a>';
//  var p13dk = 'Fredag d. 15. oktober 2004:<br><a href="sldkKal.html#okt15jh">Copenhagen Jazzhouse</a>, Kbh.'
//  var p13dk = 'Lørdag d. 6. november 2004:<br><a href="sldkKal.html#nov06gr">Gran Teater for Dans</a>, Århus'
//  var p13dk = 'Torsdag d. 2. dec. 2004:<br><a href="sldkKal.html#dec02kl">Klaverfabrikken</a>, Hillerød'
//  var p13dk = 'Torsdag d. 16. dec. 2004:<br><a href="sldkKal.html#dec16cm">Club Mambo</a>, København'
//  var p13dk = '16/12: <a href="sldkKal.html#dec16cm">Club Mambo</a>, Kbh.<br>29/12: <a href="sldkKal.html#dec29ha">Havanna Berlin</a>, Berlin'
//  var p13dk = 'Onsdag d. 29. dec. 2004:<br><a href="http://www.havanna-berlin.de/">Havanna</a>, Berlin (Tyskland)'
//  var p13dk = '<a href="'+prefix+'indexUk.html"><img src="'+prefix+'grafik/slgbFlagUk.gif" width=24 height=13 border=0 alt="">&nbsp;&nbsp;Site available in English, too</a>'
//  var p13dk = 'Choose language:&nbsp;&nbsp;<a href="'+prefix+'index.html"><img src="'+prefix+'grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="Web site in Danish"></a>&nbsp;&nbsp;or&nbsp;&nbsp;<a href="'+prefix+'indexUk.html"><img src="'+prefix+'grafik/slgbFlagUk.gif" width=24 height=13 border=0 alt="Web site in English"></a>'
//  var p13dk = 'Choose language:&nbsp;&nbsp;<img src="'+prefix+'grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="Web site in Danish">&nbsp;&nbsp;or&nbsp;&nbsp;<a href="'+prefix+'indexUk.html"><img src="'+prefix+'grafik/slgbFlagUk.gif" width=24 height=13 border=0 alt="Web site in English"></a>'
    var p13dk = '<a href="'+prefix+'indexUk.html"><img src="'+prefix+'grafik/slgbFlagUk.gif" width=24 height=13 border=0 alt="Web site in English">&nbsp;&nbsp;Change language to English</a>'


//  var p24dk = 'Første cd-udspil fra Salsa Loca<br><a href="'+prefix+'sldkLyd.html">Download <b>gratis</b></a> - <a href="'+prefix+'sldkShp.html">Køb cd´en</a>';
//  var p24dk = 'Så er <a href="sldkOmt-0410KonRes.html">vinderne af cd-er, Havana Club<br>og billetter til Cph. Jazzhouse</a> fundet!';
//  var p24dk = 'Se <a href="sldkFot.html">fotos fra koncerten i<br>Cph. Jazzhouse d. 15. okt.</a>'
//  var p24dk = 'Download gratis numrene<br>fra <a href="'+prefix+'sldkLyd.html">Salsa Locas maxi-cd</a>'
//  var p24dk = 'Download gratis to numre<br>fra <a href="'+prefix+'sldkLyd.html">Salsa Locas maxi-cd</a>'
    var p24dk = 'Download gratis numrene<br>fra <a href="'+prefix+'sldkLyd.html">Salsa Locas maxi-cd</a>'
//  var p24dk = '<b class="nb">Aflysning:</b> Salsa Loca spiller <b>ikke</b><br>på Club Mambo torsdag d. 16. dec.!'

    // var pxxdk = 'Få adgang til <a href="'+prefix+'sldkFot-Ovs.html">alle koncertfotos</a><br>fra en og samme side';
    // var pxxdk = 'Se Nana Hee Jepsens <a href="'+prefix+'sldkFot-Jaz0312.html">fotos</a> fra<br>Copenhagen Jazzhouse d. 5. dec.';
    // var pxxdk = '<b class="pbody"><a href="javascript:slKommForm(location.href);">Kommentér denne side</a> og del-<br>tag i konk. om <b>10 salsa-cd\'er</b></b>';
    // var pxxdk = '<b class="pbody">Kommentér salsaloca.dk</a> og del-<br>tag i konk. om <b>10 salsa-cd\'er</b></b>';

    if ( pside == 1 || pside == 3 || pside == 5 ) { document.write(p13dk); }
    if ( pside == 2 || pside == 4 || pside == 6 ) { document.write(p24dk); }
  }

  function slTopBarInfoUk(pside) {

    // if ( pside > 4 ) { alert('uk '+pside); }
    if ( pside == "" ) pside=1
    var prefix = '';
    if ( pside == 5 || pside == 6 ) { prefix = '../'; }

//  var p13uk = 'June 26: Live in Germany at<br><a href="'+prefix+'slukKal.html#jun26po">Stadtfest Potsdam 2004</a></b>';
//  var p13uk = 'Soon photos from the <a href="http://www.dj-michael.de/news/">acclaimed</a><br>concert June 26 in Potsdam, Germany';
//  var p13uk = 'Now <a href="slukFot.html">photos from<br>the Potsdamer Stadtfest 2004</a>';
//  var p13uk = 'Now <a href="slukFot.html">photos from Salsa Locas<br>trip to Potsdam, Germany</a>';
//  var p13uk = 'June 26: Live in Germany at<br><a href="'+prefix+'slukKal.html#jun26po">Stadtfest Potsdam 2004</a></b>';
//  var p13uk = 'Now <a href="slukFot.html">photos from the concert at<br>the Potsdamer Stadtfest 2004</a>';
//  var p13uk = 'Friday October 15, 2004:<br><a href="slukKal.html#okt15jh">Copenhagen Jazzhouse</a>, Cph.'
//  var p13uk = 'Saturday Nov. 6, 2004:<br><a href="slukKal.html#nov06gr">Gran Teater for Dans</a>, Århus'
//  var p13uk = 'Thursday Dec. 2, 2004:<br><a href="slukKal.html#dec02kl">Klaverfabrikken</a>, Hillerød'
//  var p13uk = 'Thursday Dec. 16, 2004:<br><a href="slukKal.html#dec16cm">Club Mambo</a>, Copenhagen'
//  var p13uk = 'Dec. 16: <a href="slukKal.html#dec16cm">Club Mambo</a>, Cph.<br>Dec. 29: <a href="slukKal.html#dec29ha">Havanna Berlin</a>, Berlin'
//  var p13uk = 'Wednesday Dec. 29, 2004:<br><a href="http://www.havanna-berlin.de/">Havanna</a>, Berlin (Germany)'
//  var p13uk = '<a href="'+prefix+'index.html"><img src="'+prefix+'grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="">&nbsp;&nbsp;Site available in Danish, too</a>'
//  var p13uk = '<a href="index.html"><img src="grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="">&nbsp;&nbsp;Skift til dansk</a>'
//  var p13uk = 'Choose language:&nbsp;&nbsp;<a href="'+prefix+'index.html"><img src="'+prefix+'grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="Web site in Danish"></a>&nbsp;&nbsp;or&nbsp;&nbsp;<img src="'+prefix+'grafik/slgbFlagUk.gif" width=24 height=13 border=0 alt="Web site in English">'
    var p13uk = '<a href="'+prefix+'index.html"><img src="'+prefix+'grafik/slgbFlagDk.gif" width=24 height=13 border=0 alt="Web site in Danish">&nbsp;&nbsp;Change language to Danish</a>'

//  var p24uk = 'Right now: <a href="slukOmt-0410Kon.html">Win CD\'s, Havana Club<br>&amp tickets to Jazzhouse Oct 15</a>';
//  var p24uk = '<a href="slukOmt-0410Kon.html">Win CD\'s, Havana Club &amp; tickets to<br> Jazzhouse Oct 15</a> (quiz in Danish)';
//  var p24uk = 'Enjoy <a href="slukFot.html">the photos from<br>Copenhagen Jazzhouse Oct. 15</a>'
//  var p24uk = 'New CD release from Salsa Loca<br><a href="'+prefix+'slukLyd.html">Download it <b>free!</b></a> or <a href="'+prefix+'slukShp.html">Buy the CD</a>';
//  var p24uk = 'Free download of all songs<br>from <a href="'+prefix+'slukLyd.html">the Salsa Loca maxi CD</a>';
//  var p24uk = 'Free download of two songs<br>from <a href="'+prefix+'slukLyd.html">the Salsa Loca maxi CD</a>';
    var p24uk = 'Free download of all songs<br>from <a href="'+prefix+'slukLyd.html">the Salsa Loca maxi CD</a>';
//  var p24uk = '<b class="nb">Cancellation:</b> Salsa Loca does <b>not</b><br>play at Club Mambo on Dec. 16!'

    // var pxxuk = 'Enjoy Nana Hee Jepsens <a href="slukFot-Jaz0312.html">photos</a> from<br>Copenhagen Jazzhouse, Dec. 5</b>';
    // var pxxuk = 'Access <a href="'+prefix+'slukFot-Ovs.html">all concert photos</a><br>by visiting one page only';
    // var pxxuk = 'Access <a href="'+prefix+'slukFot-Ovs.html">all concert photos</a><br>by visiting one page only';
    // var pxxuk = '<b class="pbody"><a href="javascript:slKommForm(location.href);">Comment on this page</a> to<br>join the draw for <b>10 salsa cd\'s</b></b>';
    // var pxxuk = '<b class="pbody">Comment on salsaloca.dk to<br>join the draw for <b>10 salsa cd\'s</b></b>';

    if ( pside == 1 || pside == 3 || pside == 5 ) { document.write(p13uk); }
    if ( pside == 2 || pside == 4 || pside == 6 ) { document.write(p24uk); }
  }

  function slTopBarInfoEs(pside) {

    // if ( pside > 4 ) { alert('es '+pside); }
    if ( pside == "" ) pside=1
    var prefix = '';
    if ( pside == 5 || pside == 6 ) { prefix = '../'; }

    var p13es = '';
//  var p13es = 'Lør 26/6: Live i Tyskland ved<br><a href="'+prefix+'sldkKal.html#jun26po">Stadtfest Potsdam 2004</a></b>';
    var p24es = 'Første cd-udspil fra Salsa Loca<br><a href="'+prefix+'slesLyd.html">Download <b>gratis</b></a> - <a href="'+prefix+'slesShp.html">Køb cd´en</a>';

    if ( pside == 1 || pside == 3 || pside == 5 ) { document.write(p13es); }
    if ( pside == 2 || pside == 4 || pside == 6 ) { document.write(p24es); }
  }

  // Indsæt teasere i velkomstsidens venstre side
  function slPage1Teaser(pnr) {
    if ( pnr == 1 ) {
      // if ( swidthlevel > 0 ) { document.write('<br>'); }
    }
    else if ( pnr == 2 ) {
      if ( swidthlevel == 0 ) {
        // document.write('<br>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
      }
      else if ( swidthlevel == 1 ) {
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
        // document.write('<div class="pdots"><br>............</div>');
      }
      else if ( swidthlevel == 2 ) {
        document.write('"Den smittende gode<br>stemning på scenen er<br>simpelthen uimodståelig!",<br><a href="sldkOmt.html#anmjh">Cph. Jazzhouse</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
        // document.write('"Masser af spille- og danseglæde og lækker swingende salsa alle<br>kan være med på!",<br><a href="http://www.hifisalsa.dk/anmeldelser/salsa_loca.htm">HiFiSalsa</a>');
        // document.write('"Highly energetic<br>"Salsa con Clase"!<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"This is modern, orchestral<br>Salsa as good as it gets!<br>Salsa con Clase!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"You hear the fun all over<br>the place. It swings!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"There\'s not a lot of<br>this music out there...!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"Was für ein Orchester!"<br><a href="http://www.salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
      }
    }
  }

  function slPage1TeaserUk(pnr) {
    if ( pnr == 1 ) {
      // if ( swidthlevel > 0 ) { document.write('<br>'); }
    }
    else if ( pnr == 2 ) {
      if ( swidthlevel == 0 ) {
        // document.write('<br>');
        document.write('"European style<br>Salsa at its best!"<br><a href="slukOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
      }
      if ( swidthlevel == 1 ) {
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="slukOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
        document.write('<div class="pdots"><br><br></div>');
      }
      else if ( swidthlevel == 2 ) {
        // document.write('"Den smittende gode<br>stemning på scenen er<br>simpelthen uimodståelig!",<br><a href="slukOmt.html#anmjh">Cph. Jazzhouse</a>');
        document.write('"The infectious good-time<br>vibe on stage is<br>impossible to resist!",<br><a href="slukOmt.html#anmjh">Cph. Jazzhouse</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="slukOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
        document.write('<br>');
        // document.write('"A show bursting with<br>exuberant physicality<br>and in-the-pocket Salsa<br>grooves that cater<br>for all tastes!",<br><a href="http://www.hifisalsa.dk/anmeldelser/salsa_loca.htm">HiFiSalsa</a>');
        // document.write('<div class="pdots"><br>............<br><br></div>');
      }
    }
  }

  function slPage1TeaserEs(pnr) {
    if ( pnr == 1 ) {
      // if ( swidthlevel > 0 ) { document.write('<br>'); }
    }
    else if ( pnr == 2 ) {
      if ( swidthlevel == 0 ) {
        // document.write('<br>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
      }
      else if ( swidthlevel == 1 ) {
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
      }
      else if ( swidthlevel == 2 ) {
        document.write('"Den smittende gode<br>stemning på scenen er<br>simpelthen uimodståelig!",<br><a href="slesOmt.html#anmjh">Cph. Jazzhouse</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"Party Salsa zum Abtanzen!"<br><a href="http://salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
        document.write('<div class="pdots"><br>............<br><br></div>');
        document.write('"European style<br>Salsa at its best!"<br><a href="sldkOmt.html#cda0402sh">www.salsaholic.de</a>');
        document.write('<div class="pdots"><br>............</div>');
        // document.write('"Masser af spille- og danseglæde og lækker swingende salsa alle<br>kan være med på!",<br><a href="http://www.hifisalsa.dk/anmeldelser/salsa_loca.htm">HiFiSalsa</a>');
        // document.write('"Highly energetic<br>"Salsa con Clase"!<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"This is modern, orchestral<br>Salsa as good as it gets!<br>Salsa con Clase!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"You hear the fun all over<br>the place. It swings!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"There\'s not a lot of<br>this music out there...!"<br><a href="http://www.salsa-charts.com/charts_cont_cdtipps_8.html#SALSALOCA">www.salsa-charts.com</a>');
        // document.write('<br>"Was für ein Orchester!"<br><a href="http://www.salsa.de/discografie/2004/salsaloca.htm">www.salsa.de</a>');
      }
    }
  }

  // Indsæt foto med link på ansigter
  function slPage1Photo() {
    if ( swidthlevel == 2 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w415.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 254,268,35" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      document.write('  <area shape="circle" coords=" 132, 27,25" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      document.write('  <area shape="circle" coords=" 357,110,35" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      document.write('  <area shape="circle" coords="  54,101,30" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      document.write('  <area shape="circle" coords=" 357,181,35" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      document.write('  <area shape="circle" coords=" 194, 37,25" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      document.write('  <area shape="circle" coords=" 167,118,30" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      document.write('  <area shape="circle" coords=" 286, 98,30" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      document.write('  <area shape="circle" coords=" 235,184,30" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      document.write('  <area shape="circle" coords=" 103, 90,30" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 163, 40,25" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      document.write('  <area shape="circle" coords=" 227, 76,30" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 1 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w325.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 198,208,30" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      document.write('  <area shape="circle" coords=" 106, 24,20" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      document.write('  <area shape="circle" coords=" 278, 89,30" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      document.write('  <area shape="circle" coords="  44, 78,25" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      document.write('  <area shape="circle" coords=" 279,141,25" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      document.write('  <area shape="circle" coords=" 151, 30,20" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      document.write('  <area shape="circle" coords=" 130, 92,25" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      document.write('  <area shape="circle" coords=" 223, 77,25" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      document.write('  <area shape="circle" coords=" 186,143,25" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      document.write('  <area shape="circle" coords="  82, 72,25" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 128, 33,20" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      document.write('  <area shape="circle" coords=" 177, 59,25" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 0 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w165.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      // document.write('<map name="fotos">');
      // document.write('  <area shape="circle" coords=" 100,106,15" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      // document.write('  <area shape="circle" coords="  51, 11,10" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      // document.write('  <area shape="circle" coords=" 140, 44,15" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      // document.write('  <area shape="circle" coords="  21, 39,13" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      // document.write('  <area shape="circle" coords=" 142, 72,15" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      // document.write('  <area shape="circle" coords="  76, 15,10" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      // document.write('  <area shape="circle" coords="  66, 47,15" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      // document.write('  <area shape="circle" coords=" 112, 39,13" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      // document.write('  <area shape="circle" coords="  94, 73,13" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      // document.write('  <area shape="circle" coords="  41, 36,13" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      // document.write('  <area shape="circle" coords="  64, 16,10" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      // document.write('  <area shape="circle" coords="  89, 31,13" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      // document.write('</map>');
    }
  }

  function slPage1PhotoUk() {
    if ( swidthlevel == 2 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w415.gif" border=0 usemap="#fotos" alt="Salsa Loca press photo no. 2">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 254,268,35" href="slukBan.html#rt" title="Rasmus Tobiesen, trumpet/choro"     alt="Rasmus Tobiesen, trumpet/choro"    >');
      document.write('  <area shape="circle" coords=" 132, 27,25" href="slukBan.html#pk" title="Per Kincaid, bass"                  alt="Per Kincaid, bass"                 >');
      document.write('  <area shape="circle" coords=" 357,110,35" href="slukBan.html#jj" title="Jakob Johansen, trombone/choro"     alt="Jakob Johansen, trombone/choro"    >');
      document.write('  <area shape="circle" coords="  54,101,30" href="slukBan.html#jn" title="Jesper Nørløv, congas"              alt="Jesper Nørløv, congas"             >');
      document.write('  <area shape="circle" coords=" 357,181,35" href="slukBan.html#jr" title="Jacob Rahbek, guitar/tres/choro"    alt="Jacob Rahbek, guitar/tres/choro"   >');
      document.write('  <area shape="circle" coords=" 194, 37,25" href="slukBan.html#tp" title="Tonny Pedersen, maracas etc./choro" alt="Tonny Pedersen, maracas etc./choro">');
      document.write('  <area shape="circle" coords=" 167,118,30" href="slukBan.html#sh" title="Sten Holme, keyboard"               alt="Sten Holme, keyboard"              >');
      document.write('  <area shape="circle" coords=" 286, 98,30" href="slukBan.html#rg" title="Rasmus Glendorf, timbales"          alt="Rasmus Glendorf, timbales"         >');
      document.write('  <area shape="circle" coords=" 235,184,30" href="slukBan.html#mc" title="Maria Carelse, tenor sax/choro"     alt="Maria Carelse, tenor sax/choro"    >');
      document.write('  <area shape="circle" coords=" 103, 90,30" href="slukBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 163, 40,25" href="slukBan.html#sa" title="Signe Asmussen, vocals"             alt="Signe Asmussen, vocals"            >');
      document.write('  <area shape="circle" coords=" 227, 76,30" href="slukBan.html#rl" title="Rodrigo Labarca, bongos - has Sept. 2004 replaced Tira Skamby (photo)" alt="Rodrigo Labarca, bongos - - has Sept. 2004 replaced Tira Skamby (photo)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 1 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w325.gif" border=0 usemap="#fotos" alt="Salsa Loca press photo no. 2">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 198,208,30" href="slukBan.html#rt" title="Rasmus Tobiesen, trumpet/choro"     alt="Rasmus Tobiesen, trumpet/choro"    >');
      document.write('  <area shape="circle" coords=" 106, 24,20" href="slukBan.html#pk" title="Per Kincaid, bass"                  alt="Per Kincaid, bass"                 >');
      document.write('  <area shape="circle" coords=" 278, 89,30" href="slukBan.html#jj" title="Jakob Johansen, trombone/choro"     alt="Jakob Johansen, trombone/choro"    >');
      document.write('  <area shape="circle" coords="  44, 78,25" href="slukBan.html#jn" title="Jesper Nørløv, congas"              alt="Jesper Nørløv, congas"             >');
      document.write('  <area shape="circle" coords=" 279,141,25" href="slukBan.html#jr" title="Jacob Rahbek, guitar/tres/choro"    alt="Jacob Rahbek, guitar/tres/choro"   >');
      document.write('  <area shape="circle" coords=" 151, 30,20" href="slukBan.html#tp" title="Tonny Pedersen, maracas etc./choro" alt="Tonny Pedersen, maracas etc./choro">');
      document.write('  <area shape="circle" coords=" 130, 92,25" href="slukBan.html#sh" title="Sten Holme, keyboard"               alt="Sten Holme, keyboard"              >');
      document.write('  <area shape="circle" coords=" 223, 77,25" href="slukBan.html#rg" title="Rasmus Glendorf, timbales"          alt="Rasmus Glendorf, timbales"         >');
      document.write('  <area shape="circle" coords=" 186,143,25" href="slukBan.html#mc" title="Maria Carelse, tenor sax/choro"     alt="Maria Carelse, tenor sax/choro"    >');
      document.write('  <area shape="circle" coords="  82, 72,25" href="slukBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 128, 33,20" href="slukBan.html#sa" title="Signe Asmussen, vocals"             alt="Signe Asmussen, vocals"            >');
      document.write('  <area shape="circle" coords=" 177, 59,25" href="slukBan.html#rl" title="Rodrigo Labarca, bongos - has Sept. 2004 replaced Tira Skamby (photo)" alt="Rodrigo Labarca, bongos - - has Sept. 2004 replaced Tira Skamby (photo)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 0 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w165.gif" border=0 usemap="#fotos" alt="Salsa Loca press photo no. 2">');
      // document.write('<map name="fotos">');
      // document.write('  <area shape="circle" coords=" 198,208,30" href="slukBan.html#rt" title="Rasmus Tobiesen, trumpet/choro"     alt="Rasmus Tobiesen, trumpet/choro"    >');
      // document.write('  <area shape="circle" coords=" 106, 24,20" href="slukBan.html#pk" title="Per Kincaid, bass"                  alt="Per Kincaid, bass"                 >');
      // document.write('  <area shape="circle" coords=" 278, 89,30" href="slukBan.html#jj" title="Jakob Johansen, trombone/choro"     alt="Jakob Johansen, trombone/choro"    >');
      // document.write('  <area shape="circle" coords="  44, 78,25" href="slukBan.html#jn" title="Jesper Nørløv, congas"              alt="Jesper Nørløv, congas"             >');
      // document.write('  <area shape="circle" coords=" 279,141,25" href="slukBan.html#jr" title="Jacob Rahbek, guitar/tres/choro"    alt="Jacob Rahbek, guitar/tres/choro"   >');
      // document.write('  <area shape="circle" coords=" 151, 30,20" href="slukBan.html#tp" title="Tonny Pedersen, maracas etc./choro" alt="Tonny Pedersen, maracas etc./choro">');
      // document.write('  <area shape="circle" coords=" 130, 92,25" href="slukBan.html#sh" title="Sten Holme, keyboard"               alt="Sten Holme, keyboard"              >');
      // document.write('  <area shape="circle" coords=" 223, 77,25" href="slukBan.html#rg" title="Rasmus Glendorf, timbales"          alt="Rasmus Glendorf, timbales"         >');
      // document.write('  <area shape="circle" coords=" 186,143,25" href="slukBan.html#mc" title="Maria Carelse, tenor sax/choro"     alt="Maria Carelse, tenor sax/choro"    >');
      // document.write('  <area shape="circle" coords="  82, 72,25" href="slukBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      // document.write('  <area shape="circle" coords=" 128, 33,20" href="slukBan.html#sa" title="Signe Asmussen, vocals"             alt="Signe Asmussen, vocals"            >');
      // document.write('  <area shape="circle" coords=" 177, 59,25" href="slukBan.html#rl" title="Rodrigo Labarca, bongos - has Sept. 2004 replaced Tira Skamby (photo)" alt="Rodrigo Labarca, bongos - - has Sept. 2004 replaced Tira Skamby (photo)">');
      // document.write('</map>');
    }
  }

  function slPage1PhotoEs() {
    if ( swidthlevel == 2 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w415.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 254,268,35" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      document.write('  <area shape="circle" coords=" 132, 27,25" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      document.write('  <area shape="circle" coords=" 357,110,35" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      document.write('  <area shape="circle" coords="  54,101,30" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      document.write('  <area shape="circle" coords=" 357,181,35" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      document.write('  <area shape="circle" coords=" 194, 37,25" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      document.write('  <area shape="circle" coords=" 167,118,30" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      document.write('  <area shape="circle" coords=" 286, 98,30" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      document.write('  <area shape="circle" coords=" 235,184,30" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      document.write('  <area shape="circle" coords=" 103, 90,30" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 163, 40,25" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      document.write('  <area shape="circle" coords=" 227, 76,30" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 1 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w325.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      document.write('<map name="fotos">');
      document.write('  <area shape="circle" coords=" 198,208,30" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      document.write('  <area shape="circle" coords=" 106, 24,20" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      document.write('  <area shape="circle" coords=" 278, 89,30" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      document.write('  <area shape="circle" coords="  44, 78,25" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      document.write('  <area shape="circle" coords=" 279,141,25" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      document.write('  <area shape="circle" coords=" 151, 30,20" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      document.write('  <area shape="circle" coords=" 130, 92,25" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      document.write('  <area shape="circle" coords=" 223, 77,25" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      document.write('  <area shape="circle" coords=" 186,143,25" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      document.write('  <area shape="circle" coords="  82, 72,25" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      document.write('  <area shape="circle" coords=" 128, 33,20" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      document.write('  <area shape="circle" coords=" 177, 59,25" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      document.write('</map>');
    }
    else if ( swidthlevel == 0 ) {
      document.write('<img class="pwphoto" src="fotos/slfp0111Ros-w165.gif" border=0 usemap="#fotos" alt="Salsa Loca-pressefoto nr. 1">');
      // document.write('<map name="fotos">');
      // document.write('  <area shape="circle" coords=" 100,106,15" href="sldkBan.html#rt" title="Rasmus Tobiesen, trompet/kor"  alt="Rasmus Tobiesen, trompet/kor" >');
      // document.write('  <area shape="circle" coords="  51, 11,10" href="sldkBan.html#pk" title="Per Kincaid, bas"              alt="Per Kincaid, bas"             >');
      // document.write('  <area shape="circle" coords=" 140, 44,15" href="sldkBan.html#jj" title="Jakob Johansen, trombone/kor"  alt="Jakob Johansen, trombone/kor" >');
      // document.write('  <area shape="circle" coords="  21, 39,13" href="sldkBan.html#jn" title="Jesper Nørløv, congas"         alt="Jesper Nørløv, congas"        >');
      // document.write('  <area shape="circle" coords=" 142, 72,15" href="sldkBan.html#jr" title="Jacob Rahbek, guitar/tres" alt="Jacob Rahbek, guitar/tres">');
      // document.write('  <area shape="circle" coords="  76, 15,10" href="sldkBan.html#tp" title="Tonny Pedersen, maracas/kor"   alt="Tonny Pedersen, maracas/kor"  >');
      // document.write('  <area shape="circle" coords="  66, 47,15" href="sldkBan.html#sh" title="Sten Holme, keyboard"          alt="Sten Holme, keyboard"         >');
      // document.write('  <area shape="circle" coords=" 112, 39,13" href="sldkBan.html#rg" title="Rasmus Glendorf, timbales"     alt="Rasmus Glendorf, timbales"    >');
      // document.write('  <area shape="circle" coords="  94, 73,13" href="sldkBan.html#mc" title="Maria Carelse, tenor sax/kor"  alt="Maria Carelse, tenor sax/kor" >');
      // document.write('  <area shape="circle" coords="  41, 36,13" href="sldkBan.html#ro" title="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)" alt="Rasmus Milling Overbye, trompet/kor - har fra jan. 2007 erstattet Signe Land (billedet) (billedet)">');
      // document.write('  <area shape="circle" coords="  64, 16,10" href="sldkBan.html#sa" title="Signe Asmussen, vokal"         alt="Signe Asmussen, vokal"        >');
      // document.write('  <area shape="circle" coords="  89, 31,13" href="sldkBan.html#rl" title="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)" alt="Rodrigo Labarca, bongos - har sept. 2004 erstattet Tira Skamby (billedet)">');
      // document.write('</map>');
    }
  }

  function slWritePartner(plang,ptxt) {

    slWriteEmailName(plang,ptxt);
    document.write('&nbsp;');
    slWriteEmailAdr(plang,ptxt);
  }

  function slWriteEmailName(plang,ptxt) {

    if      ( ptxt == 'b4' ) {
      if ( plang == 'dk' )
        document.write('© <a href="http://www.berlin4fun.com/">www.berlin4fun.com</a> (undtagen nr. 1)');
      else
        document.write('© <a href="http://www.berlin4fun.com/">www.berlin4fun.com</a> (except no. 1)');
    }
    else if ( ptxt == 'dg' ) document.write('© Danny Gudnitz');
    else if ( ptxt == 'fm' ) document.write('© Foto Mann');
    else if ( ptxt == 'ik' ) document.write('© <a href="http://www.info-kanal.dk/">www.info-kanal.dk</a>');
    else if ( ptxt == 'jm' ) document.write('© Jesper Musaeus');
    else if ( ptxt == 'jr' ) document.write('© Jens Rømer');
    else if ( ptxt == 'jv' ) document.write('© Jan Valeur');
    else if ( ptxt == 'le' ) document.write('© Leif Elg (1945-2006)');
    else if ( ptxt == 'ln' ) document.write('© Lars Nybøll');
    else if ( ptxt == 'mb' ) document.write('© Marianne Brenner');
    else if ( ptxt == 'mc' ) document.write('© Maria Carelse');
    else if ( ptxt == 'nh' ) document.write('© Nana Hee Jepsen');
    else if ( ptxt == 'np' ) document.write('© Niels Prins');
    else if ( ptxt == 'pf' ) document.write('© Peter Fuglsang');
    else if ( ptxt == 'rb' ) document.write('© Ralf Bölke');
    else if ( ptxt == 'ro' ) document.write('© Robertt');
    else if ( ptxt == 'tp' ) document.write('© Tonny Pedersen');
    else if ( ptxt == 'ut' ) document.write('© Ulrik Teisner');
    else if ( ptxt == 'vp' ) document.write('© Viggo Peetz');
    else if ( ptxt == 'wb' ) document.write('© Wolfgang Brückner');
  }

  function slWriteEmailAdr(plang,ptxt) {

    if      ( plang == 'dk' ) sEmailMsg = "Send en e-mail til";
    else if ( plang == 'uk' ) sEmailMsg = "Send an email to";

    sLinkTxt1 = '<b class="demail"><nobr>(&nbsp;<a href="mailto:';
    sLinkTxt2 = 'class="flink"><img src="grafik/slgbEmail.gif" width=16 height=9 border=0 alt="'+sEmailMsg;
    sLinkTxt3 = '></a>&nbsp;)</nobr></b>';

    if      ( ptxt == 'et' ) document.write(sLinkTxt1+'kincaid'+'@'+'bolina.hsb.se"     '+sLinkTxt2+' DJ Per `El Tiburón`"'+sLinkTxt3);
    else if ( ptxt == 'jv' ) document.write(sLinkTxt1+'val'+'@'+'post1.dknet.dk"        '+sLinkTxt2+' Jan Valeur"         '+sLinkTxt3);
    else if ( ptxt == 'mc' ) document.write(sLinkTxt1+'maria'+'@'+'salsaloca.dk"        '+sLinkTxt2+' Maria"              '+sLinkTxt3);
    else if ( ptxt == 'mr' ) document.write(sLinkTxt1+'michael'+'@'+'hifisalsa.dk"      '+sLinkTxt2+' Michael"            '+sLinkTxt3);
    else if ( ptxt == 'nh' ) document.write(sLinkTxt1+'nanahee'+'@'+'hotmail.com"       '+sLinkTxt2+' Nana"               '+sLinkTxt3);
    else if ( ptxt == 'rb' ) document.write(sLinkTxt1+'ralf.boelke'+'@'+'tiscalinet.de" '+sLinkTxt2+' Ralf Bölke"         '+sLinkTxt3);
    else if ( ptxt == 'tp' ) document.write(sLinkTxt1+'tonnyp'+'@'+'salsaloca.dk"       '+sLinkTxt2+' Tonny"              '+sLinkTxt3);
    else if ( ptxt == 'ut' ) document.write(sLinkTxt1+'ulrik'+'@'+'artusi.dk"           '+sLinkTxt2+' Ulrik"              '+sLinkTxt3);
    else if ( ptxt == 'vp' ) document.write(sLinkTxt1+'vp'+'@'+'scanfloor.dk"           '+sLinkTxt2+' Viggo Peetz"        '+sLinkTxt3);
    else if ( ptxt == 'ln' ) document.write(sLinkTxt1+'nyboell'+'@'+'get2net.dk"        '+sLinkTxt2+' Lars"               '+sLinkTxt3);
    else if ( ptxt == 'ja' ) document.write(sLinkTxt1+'info'+'@'+'salsalibre.dk"        '+sLinkTxt2+' Joaquim"            '+sLinkTxt3);
  }

  function slWriteFooter(pincl,pwidth,pname,psubj2,pname2) {

    document.write('Booking: Tonny Pedersen <b class="demail">( <a href="mailto:tonnyp'+'@'+'salsaloca.dk" title="Send en e-mail til Tonny" class="flink"><img src="grafik/slgbEmail.gif" width=16 height=9 border=0 alt="Send en e-mail til Tonny"></a> )</b>');
    document.write('&nbsp;-&nbsp;&nbsp;Webmaster:&nbsp;');
    if ( pincl == 1 && swidthlevel >= pwidth ) {
      document.write(pname+'&nbsp;');
    }
    document.write('<b class="demail">( <a href="mailto:tonnyp'+'@'+'salsaloca.dk" title="Send en e-mail til Tonny" class="flink"><img src="grafik/slgbEmail.gif" width=16 height=9 border=0 alt="Send en e-mail til Tonny"></a> )</b>');
    if ( psubj2 != 'x' ) {
      document.write('&nbsp;-&nbsp;&nbsp;'+psubj2+': ');
      slWritePartner('dk',pname2);
    }
  }

  function slWriteFooterUk(pincl,pwidth,pname,psubj2,pname2) {

    document.write('Booking: Tonny Pedersen <b class="demail">( <a href="mailto:tonnyp'+'@'+'salsaloca.dk" title="Send an email to Tonny" class="flink"><img src="grafik/slgbEmail.gif" width=16 height=9 border=0 alt="Send an email to Tonny"></a> )</b>');
    document.write('&nbsp;-&nbsp;&nbsp;Webmaster:');
    if ( pincl == 1 && swidthlevel >= pwidth ) {
      document.write('&nbsp;'+pname);
    }
    document.write('<b class="demail">( <a href="mailto:tonnyp'+'@'+'salsaloca.dk" title="Send an email to Tonny" class="flink"><img src="grafik/slgbEmail.gif" width=16 height=9 border=0 alt="Send an email to Tonny"></a> )</b>');
    if ( psubj2 != 'x' ) {
      document.write('&nbsp;-&nbsp;&nbsp;'+psubj2+': ');
      slWritePartner('uk',pname2);
    }
  }

  function slWrite(pincl,pwidth,ptxt) {
    if ( pincl == 1 && swidthlevel >= pwidth ) { document.write(ptxt); }
  }

  function slInitJs(pwidth,pvar,pvalue) {
    if ( pwidth == swidthlevel && pvar == "sFotoSplit" ) { sFotoSplit = pvalue; }
  }

  // Gå til ønsket site at søge på
  function slGo(psite,ptxt) {

    if ( psite == "" ) psite="slo";
    if ( ptxt == "" ) {
      if      ( psite == "slo" ) parent.location = 'http://www.salsaloca.dk/';
      else if ( psite == "goo" ) parent.location = 'http://www.google.com/';
      else if ( psite == "atw" ) parent.location = 'http://www.alltheweb.com/';
      else if ( psite == "yah" ) parent.location = 'http://www.yahoo.dk/';
      else if ( psite == "hif" ) parent.location = 'http://www.hifisalsa.dk/';
      else if ( psite == "amg" ) parent.location = 'http://www.allmusic.com/';
      else if ( psite == "des" ) parent.location = 'http://www.descarga.com/';
      else if ( psite == "ktn" ) parent.location = 'http://www.krak.dk/';
      else if ( psite == "ktt" ) parent.location = 'http://www.krak.dk/';
      else if ( psite == "aok" ) parent.location = 'http://www.aok.dk/';
      else if ( psite == "kul" ) parent.location = 'http://www.kultunaut.dk/';
      else if ( psite == "net" ) parent.location = 'http://www.netdoktor.dk/';
      else                       parent.location = 'http://www.salsaloca.dk/';
    }
    else {
      if ( psite == "slo" || psite == "goo" || psite == "atw" ) {
        while ( ptxt.indexOf("æ") > -1 ) { i = ptxt.indexOf("æ"); ptxt = ""+(ptxt.substring(0,i)+"%C3%A6"+ptxt.substring((i+1),ptxt.length)); }
        while ( ptxt.indexOf("Æ") > -1 ) { i = ptxt.indexOf("Æ"); ptxt = ""+(ptxt.substring(0,i)+"%C3%86"+ptxt.substring((i+1),ptxt.length)); }
        while ( ptxt.indexOf("ø") > -1 ) { i = ptxt.indexOf("ø"); ptxt = ""+(ptxt.substring(0,i)+"%C3%B8"+ptxt.substring((i+1),ptxt.length)); }
        while ( ptxt.indexOf("Ø") > -1 ) { i = ptxt.indexOf("Ø"); ptxt = ""+(ptxt.substring(0,i)+"%C3%98"+ptxt.substring((i+1),ptxt.length)); }
        while ( ptxt.indexOf("å") > -1 ) { i = ptxt.indexOf("å"); ptxt = ""+(ptxt.substring(0,i)+"%C3%A5"+ptxt.substring((i+1),ptxt.length)); }
        while ( ptxt.indexOf("Å") > -1 ) { i = ptxt.indexOf("Å"); ptxt = ""+(ptxt.substring(0,i)+"%C3%85"+ptxt.substring((i+1),ptxt.length)); }
        if      ( psite == "slo" ) parent.location = 'http://www.google.com/search?hl=da&safe=off&lr=&q='+ptxt+' site:www.salsaloca.dk&btnG=Goo';
        else if ( psite == "goo" ) parent.location = 'http://www.google.dk/search?hl=da&safe=off&lr=&q='+ptxt+'&btnG=Goo';
        else if ( psite == "atw" ) parent.location = 'http://www.alltheweb.com/search?cat=web&cs=utf-8&l=any&q='+ptxt;
      }
      else if ( psite == "atx" ) parent.location = 'http://www.alltheweb.com/search?hl=da&cat=web&cs=utf-8&l=any&q='+ptxt;
      else if ( psite == "hif" ) parent.location = 'http://www.google.com/custom?cof=GIMP%3A%23000000%3BT%3A%23000000%3BLW%3A450%3BALC%3A%23660000%3BL%3Ahttp%3A%2F%2Fwww.hifisalsa.dk%2Flogo8_450.png%3BGFNT%3A%23000000%3BLC%3A%23993300%3BLH%3A100%3BBGC%3A%23FFFFFF%3BAH%3Aleft%3BVLC%3A%23660000%3BGALT%3A%23000000%3BAWFID%3A0730b0c0bbb923cb%3B&domains=hifisalsa.dk&sitesearch=hifisalsa.dk&q='+ptxt+'&sa=HiFi';
      else if ( psite == "amg" || psite == "net" || psite == "yah" ) {
        while ( ptxt.indexOf(" ") > -1 ) {
          i = ptxt.indexOf(" ");
          ptxt = ""+(ptxt.substring(0,i)+"+"+ptxt.substring((i+1),ptxt.length));
        }
        if      ( psite == "yah" ) parent.location = 'http://dk.search.yahoo.com/search/dk?p='+ptxt;
        else if ( psite == "amg" ) parent.location = 'http://www.allmusic.com/cg/amg.dll?p=amg&uid=search&opt1=1&sql='+ptxt;
        else if ( psite == "net" ) parent.location = 'http://search.netdoktor.com:8765/query.html?col=dkpuball&pw=650&la=da&nh=10&qt='+ptxt+'&x=8&y=11';
      }
      else if ( psite == "des" ) {
        while ( ptxt.indexOf('"') > -1 ) {
          i = ptxt.indexOf('"');
          j = ptxt.length;
          if ( i == 0 )      ptxt = ptxt.substring(1,j);
          else if ( i == j ) ptxt = ptxt.substring(0,j-1);
          else               ptxt = ptxt.substring(0,i)+ptxt.substring(i+1);
        }
        while ( ptxt.indexOf("'") > -1 ) {
          i = ptxt.indexOf("'");
          j = ptxt.length;
          if ( i == 0 )      ptxt = ptxt.substring(1,j);
          else if ( i == j ) ptxt = ptxt.substring(0,j-1);
          else               ptxt = ptxt.substring(0,i)+ptxt.substring(i+1);
        }
        parent.location = 'http://www.descarga.com/cgi-bin/db/process?mv_session_id=&mv_todo=Search&mv_doit=search&mv_check=search+values&mv_profile=quicksearch&mv_searchspec='+ptxt+'&x=47&y=47';
      }
      else if ( psite == "ktn" ) parent.location = 'http://www.krak.dk/scripts/SOEGNING/krakdk_soegning_resultatside.asp?pub_id=KVWW&data=t&Formnavn=normal&navn='+ptxt+'&vej=&HUSNR=&POSTNR_FRA=&BY=&omraade=%280%29&tlf=';
      else if ( psite == "ktt" ) parent.location = 'http://www.krak.dk/scripts/SOEGNING/krakdk_soegning_resultatside.asp?pub_id=KVWW&data=t&Formnavn=normal&navn=&soegeord=&vej=&HUSNR=&POSTNR_FRA=&BY=&omraade=%280%29&tlf='+ptxt;
      else if ( psite == "aok" ) parent.location = 'http://www.aok.dk/page/gen?_template=%2Fsearch%2Fresult_list.html&sort=class%2Ccustom_page_count%2Ctemplate_page_count&keywords='+ptxt+'&areas_id=&context_id=&submit=Find';
      else if ( psite == "kul" ) parent.location = 'http://www.kultunaut.dk/perl/stedlist/type-nynaut?StedNavn='+ptxt+'&Area=';
      else                       parent.location = 'http://www.google.com/search?hl=da&safe=off&lr=&q='+ptxt+' site:www.salsaloca.dk&btnG=Goo';
    }
  }

  function slMouseOver(pthis,pover) {
    if ( pover ) pthis.filters.alpha.opacity = 75;
    else pthis.filters.alpha.opacity = 100;
  }

  // ---------------------------------------------------
  // Fotofremvisningsfunktioner
  // ---------------------------------------------------

  function slInit(plnr) {
    iFotoLnr = plnr;
    var sHref = this.location.href;
    var iGitter = sHref.indexOf("#");
    if ( iGitter > -1 ) iFotoLnr = parseInt(sHref.substring(iGitter+1));
    if ( iFotoLnr > 0 && iFotoLnr < iFotoMax+1 ) { slShow(); }
    document.slForm.slNext.focus();
  }

  function slInitNew(plnr) {
    iFotoLnr = plnr;
    var sHref = this.location.href;
    var iGitter = sHref.indexOf("#");
    if ( iGitter > -1 ) iFotoLnr = parseInt(sHref.substring(iGitter+1));
    if ( iFotoLnr > 0 && iFotoLnr < iFotoMax+1 ) { slShowNew(); }
    document.slForm.slNext.focus();
  }

  function slWriteTn() {
    for (i=1; i<=iFotoMax; i++) {
      if ( sFotoSplit.indexOf(","+i+",") > -1 ) {
        document.write('  </tr></table><table class="dtxtfx" align="center" cellpadding=0 cellspacing=0><tr>');
      }
      if ( bWriteIdxNo )
        sIdxNoTxt=' ('+aFotoIdx[i-1]+')';
      else
        sIdxNoTxt='';

      if ( bWriteTnails ) {
        document.write('  <td align="center"><a href="javascript:slShowThis('+i+')" onmouseover="window.status=\'Vis foto nr. '+i+'\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sGrafikPath+sFotoSti1+aFotoIdx[i-1]+sFotoTnail+sFotoSti2+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Foto '+i+sIdxNoTxt+'"></a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 alt="" name="slFoto'+i+'"></td>');
      }






      else {
        document.write('  <td align="center"></td>');
//zz    document.write('  <td align="center"><a href="javascript:slShowThis('+i+')" onmouseover="window.status=\'Vis foto nr. '+i+'\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sGrafikPath+sFotoSti1+aFotoIdx[i-1]+sFotoTnail+sFotoSti2+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Foto '+i+sIdxNoTxt+'"></a>&nbsp;<br>'+i+'</td>');
//      document.write('  <td align="center"><a href="javascript:slShowThis('+i+')" onmouseover="window.status=\'Vis foto nr. '+i+'\'; return true;" onmouseout="window.status=\'\'; return true;">'+i+'</a>&nbsp;</td>');
      }
    }
  }

  function slWriteTnUk() {
    for (i=1; i<=iFotoMax; i++) {
      if ( sFotoSplit.indexOf(","+i+",") > -1 ) {
        document.write('  </tr></table><table class="dtxtfx" align="center" cellpadding=0 cellspacing=0><tr>');
      }

      document.write('  <td align="center"><a href="javascript:slShowThis('+i+')" onmouseover="window.status=\'Display photo no. '+i+'\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sGrafikPath+sFotoSti1+aFotoIdx[i-1]+sFotoTnail+sFotoSti2+'" height=30 border=0 alt="Photo '+i+'"></a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="" name="slFoto'+i+'"></td>');
    }
  }

  function slWriteTnEs() {
    for (i=1; i<=iFotoMax; i++) {
      if ( sFotoSplit.indexOf(","+i+",") > -1 ) {
        document.write('  </tr></table><table class="dtxtfx" align="center" cellpadding=0 cellspacing=0><tr>');
      }

      document.write('  <td align="center"><a href="javascript:slShowThis('+i+')" onmouseover="window.status=\'Display photo no. '+i+'\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sGrafikPath+sFotoSti1+aFotoIdx[i-1]+sFotoTnail+sFotoSti2+'" height=30 border=0 alt="Photo '+i+'"></a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)"  alt="" name="slFoto'+i+'"></td>');
    }
  }

  function slInitTnails() {
    if ( bWriteTnails ) {
      if ( iFotoOld > 0 ) document.images["slFoto"+iFotoOld].src = sGrafikPath+"grafik/slgwSpace.gif";
      document.images["slFoto"+iFotoLnr].src = "grafik/slgbBullet.gif";






    }
    iFotoOld = iFotoLnr;
  }

  function slShowThis(pfnr) {
    iFotoLnr = pfnr;
    slShowNew();
    document.slForm.slNext.focus();
  }

  function slShowThisUk(pfnr) {
    iFotoLnr = pfnr;
    slShowUk();
    document.slForm.slNext.focus();
  }

  function slShowThisEs(pfnr) {
    iFotoLnr = pfnr;
    slShowEs();
    document.slForm.slNext.focus();
  }

  function slShow() {
    if ( document.images ) {
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Foto "+iFotoLnr+" af "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Foto "+iFotoLnr+" af "+iFotoMax+sFotoSted;
      document.slForm.slText.value = "Foto "+iFotoLnr+" af "+iFotoMax;
      slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slShowNew() {
    if ( document.images ) {
      slInitTnails();
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Foto "+iFotoLnr+" af "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Foto "+iFotoLnr+" af "+iFotoMax+sFotoSted;
      // zz slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slShowUk() {
    if ( document.images ) {
      slInitTnails();
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Photo "+iFotoLnr+" of "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Photo "+iFotoLnr+" of "+iFotoMax+sFotoSted;
      document.slForm.slText.value = "Photo "+iFotoLnr+" of "+iFotoMax;
      slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slShowEs() {
    if ( document.images ) {
      slInitTnails();
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Foto "+iFotoLnr+" de "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Foto "+iFotoLnr+" de "+iFotoMax+sFotoSted;
      document.slForm.slText.value = "Foto "+iFotoLnr+" de "+iFotoMax;
      slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slShowNewUk() {
    if ( document.images ) {
      slInitTnails();
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Photo "+iFotoLnr+" of "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Photo "+iFotoLnr+" of "+iFotoMax+sFotoSted;
      // zz slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slShowNewEs() {
    if ( document.images ) {
      slInitTnails();
      document.slFoto.src = sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2;
      if ( bWriteIdxNo )
        document.slFoto.alt = "Foto "+iFotoLnr+" de "+iFotoMax+sFotoSted+" ("+aFotoIdx[iFotoLnr-1]+")";
      else
        document.slFoto.alt = "Foto "+iFotoLnr+" de "+iFotoMax+sFotoSted;
      // zz slButtonDisabling();
    }
    else { slUrlReplace(sFotoSti1+aFotoIdx[iFotoLnr-1]+sFotoSti2); }
  }

  function slButtonDisabling() {
    if ( iFotoLnr < 2 ) {
      document.slForm.slPrev.disabled = true;
      document.slForm.slNext.focus();
    }
    else {
      document.slForm.slPrev.disabled = false;
    }
    if ( iFotoLnr > iFotoMax-1 ) {
      document.slForm.slNext.disabled = true;
      document.slForm.slPrev.selected = true;
    }
    else {
      document.slForm.slNext.disabled = false;
    }
  }

  function slShowCont(pnext) {
    if ( pnext == 1 ) {
      if ( iFotoLnr < iFotoMax ) iFotoLnr = iFotoLnr+1;
      else iFotoLnr = 1;
    }
    else {
      if ( iFotoLnr > 1 ) iFotoLnr = iFotoLnr-1;
      else iFotoLnr = iFotoMax;
    }
    slShowNew();
    document.slForm.slNext.focus();
  }

  function slShowContUk(pnext) {
    if ( pnext == 1 ) {
      if ( iFotoLnr < iFotoMax ) iFotoLnr = iFotoLnr+1;
      else iFotoLnr = 1;
    }
    else {
      if ( iFotoLnr > 1 ) iFotoLnr = iFotoLnr-1;
      else iFotoLnr = iFotoMax;
    }
    slShowNewUk();
    document.slForm.slNext.focus();
  }

  function slShowContEs(pnext) {
    if ( pnext == 1 ) {
      if ( iFotoLnr < iFotoMax ) iFotoLnr = iFotoLnr+1;
      else iFotoLnr = 1;
    }
    else {
      if ( iFotoLnr > 1 ) iFotoLnr = iFotoLnr-1;
      else iFotoLnr = iFotoMax;
    }
    slShowNewEs();
    document.slForm.slNext.focus();
  }

  function slShowPrev() {
    if ( iFotoLnr > 1 ) {
      iFotoLnr = iFotoLnr-1;
      slShow();
    }
  }

  function slShowNext() {
    if ( iFotoLnr < iFotoMax ) {
      iFotoLnr = iFotoLnr+1;
      slShow();
    }
  }

  function slUrlReplace(purl) {
    if ( document.images ) { location.replace(purl); }
    else { location.href = purl; }
  }

  // -------------------------------------
  // Funktioner til fotooversigtssiden
  // -------------------------------------

  function slInitOvs(plnr,plang) {
    var sHref = this.location.href;
    var iGitter = sHref.indexOf("#");
    if ( iGitter > -1 ) {
//    alert ("URL-info: "+sHref.length+"/"+sHref.substring(0,iGitter).length+"/"+sHref.substring(iGitter+1).length+"/"+sHref.substring(iGitter+1));
      plnr = parseInt(sHref.substring(iGitter+1));
    }

    for (j=1; j<=iNoOfSerie; j++) {
      iLastSerie = iFotoMaxAll+1;
      iFotoMaxAll = iFotoMaxAll + iFotoMax[j];
    }
    iLanguage = plang;
    slWritePhoto(plnr);
  }

  function slWritePhoto(plnr) {
    iFotoLnr = plnr;
    if ( iFotoLnr < 1 || iFotoLnr > iFotoMaxAll ) iFotoLnr = 1;
    slRefreshPage();
    bPageWritten = 1;
  }

  function slWriteTnails() {
    k=0;
    n=0;
    for (j=1; j<=iNoOfSerie; j++) {
      document.write('  </tr></table><table class="bwmaxp" align="center" cellpadding=0 cellspacing=0><tr>');

      if      ( iLanguage == 1 ) document.write('  <td>Koncertfotos fra '+sFotoSted[j]+':</td>');
      else if ( iLanguage == 2 ) document.write('  <td>Concert photos from '+sFotoSted[j]+':</td>');
      else if ( iLanguage == 3 ) document.write('  <td>Fotos de el concerto en '+sFotoSted[j]+':</td>');
      else                       document.write('  <td>Concert photos from '+sFotoSted[j]+':</td>');

      document.write('  </tr></table><table class="bwmaxp" align="center" cellpadding=0 cellspacing=0><tr>');
      for (i=1; i<=iFotoMax[j]; i++) {
        if ( swidthlevel == 0 && sFotoSplit0[j].indexOf(","+i+",") > -1 ) {
          document.write('  </tr></table><table class="bwmaxp" align="center" cellpadding=0 cellspacing=0><tr>');
        }
        if ( swidthlevel == 1 && sFotoSplit1[j].indexOf(","+i+",") > -1 ) {
          document.write('  </tr></table><table class="bwmaxp" align="center" cellpadding=0 cellspacing=0><tr>');
        }
        if ( swidthlevel == 2 && sFotoSplit2[j].indexOf(","+i+",") > -1 ) {
          document.write('  </tr></table><table class="bwmaxp" align="center" cellpadding=0 cellspacing=0><tr>');
        }
        n=k+i;

        if ( bWriteTnails ) {
          if      ( iLanguage == 1 ) document.write('  <td align="center"><a href="javascript:slGoFromTnail('+j+','+n+')" onmouseover="window.status=\'Vis foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+'\';    return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sFotoPath+sFotoSti1[j]+aFotoIdx[k+i-1]+sFotoTnail[j]+sFotoSti2[j]+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+' (nr. '+n+')">  </a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 alt="" name="slFoto'+n+'"></td>');
          else if ( iLanguage == 2 ) document.write('  <td align="center"><a href="javascript:slGoFromTnail('+j+','+n+')" onmouseover="window.status=\'Show photo '+i+' of '+iFotoMax[j]+' from '+sFotoSted[j]+'\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sFotoPath+sFotoSti1[j]+aFotoIdx[k+i-1]+sFotoTnail[j]+sFotoSti2[j]+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Photo '+i+' of '+iFotoMax[j]+' from '+sFotoSted[j]+' (no. '+n+')"></a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 alt="" name="slFoto'+n+'"></td>');
          else if ( iLanguage == 3 ) document.write('  <td align="center"><a href="javascript:slGoFromTnail('+j+','+n+')" onmouseover="window.status=\'Vis foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+'\';    return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sFotoPath+sFotoSti1[j]+aFotoIdx[k+i-1]+sFotoTnail[j]+sFotoSti2[j]+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+' (nr. '+n+')">  </a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 alt="" name="slFoto'+n+'"></td>');
          else                       document.write('  <td align="center"><a href="javascript:slGoFromTnail('+j+','+n+')" onmouseover="window.status=\'Vis foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+'\';    return true;" onmouseout="window.status=\'\'; return true;"><img src="'+sFotoPath+sFotoSti1[j]+aFotoIdx[k+i-1]+sFotoTnail[j]+sFotoSti2[j]+'" height=30 border=0 style="filter:alpha(opacity=100)" onMouseOut="slMouseOver(this,0)" onMouseOver="slMouseOver(this,1)" alt="Foto '+i+' af '+iFotoMax[j]+' fra '+sFotoSted[j]+' (nr. '+n+')">  </a>&nbsp;<br><img src="'+sGrafikPath+'grafik/slgwSpace.gif" height=15 width=15 border=0 alt="" name="slFoto'+n+'"></td>');








        }
      }
      k=k+iFotoMax[j];
    }
  }

  // Foto valgt af brugeren
  function slGoFromTnail(pserie,pfnr) {
    iFotoLnr = pfnr;
    iFotoSerie = pserie;
    slRefreshPage();
  }

  // Foto valgt af brugeren
  function slGoNextConcert(pnext) {
    i=0;
    k=1;
    if ( pnext == 1 ) {
      if ( iFotoLnr < iLastSerie ) {
        for (j=1; j<=iNoOfSerie; j++) {
          if ( i == 0 && iFotoLnr < k ) { i = k }
          k=k+iFotoMax[j];
        }
      }
      else i = 1;
    }
    else {
      if ( iFotoLnr > iFotoMax[1] ) {
        for (j=1; j<=iNoOfSerie; j++) {
          if ( iFotoLnr >= k+iFotoMax[j] ) { i = k }
          k=k+iFotoMax[j];
        }
      }
      else i = iLastSerie;
    }
    iFotoLnr = i;
    slRefreshPage();
  }

  // Foto valgt af brugeren
  function slGoNextPhoto(pnext) {
    if ( pnext == 1 ) {
      if ( iFotoLnr < iFotoMaxAll ) iFotoLnr = iFotoLnr+1;
      else iFotoLnr = 1;
    }
    else {
      if ( iFotoLnr > 1 ) iFotoLnr = iFotoLnr-1;
      else iFotoLnr = iFotoMaxAll;
    }
    slRefreshPage();
  }

  // Opdater siden som følge af valgt foto
  function slRefreshPage() {

    // Opdater foto-variabler
    iFotoSerie = 0;
    iNoInSerie = 0;
    k=0;
    for (j=1; j<=iNoOfSerie; j++) {
      k=k+iFotoMax[j];
      if ( iFotoSerie == 0 && iFotoLnr <= k ) {
        iFotoSerie = j;
        iNoInSerie = iFotoLnr-k+iFotoMax[j];
      }
    }
    if ( iLanguage != 2 ) {
      sFotoMsg1 = " "+iFotoLnr+" af "+iFotoMaxAll;
      sFotoMsg2 = " "+iNoInSerie+" af "+iFotoMax[iFotoSerie];
      sFotoMsg3 = " "+sFotoSted[iFotoSerie]+" d. "+sFotoDato[iFotoSerie];
      sFotoMsg4 = " "+sFotoGraf[iFotoSerie];
      if ( bWriteIdxNo )
        sFotoMsg5 = "Foto "+iNoInSerie+" af "+iFotoMax[iFotoSerie]+" fra "+sFotoSted[iFotoSerie]+" d. "+sFotoDato[iFotoSerie]+" ("+aFotoIdx[iNoInSerie-1]+")";
      else
        sFotoMsg5 = "Foto "+iNoInSerie+" af "+iFotoMax[iFotoSerie]+" fra "+sFotoSted[iFotoSerie]+" d. "+sFotoDato[iFotoSerie];
    }
    else {
      sFotoMsg1 = " "+iFotoLnr+" of "+iFotoMaxAll;
      sFotoMsg2 = " "+iNoInSerie+" of "+iFotoMax[iFotoSerie];
      sFotoMsg3 = " "+sFotoSted[iFotoSerie]+" on "+sFotoDato[iFotoSerie];
      sFotoMsg4 = " "+sFotoGraf[iFotoSerie];
      if ( bWriteIdxNo )
        sFotoMsg5 = "Photo "+iNoInSerie+" of "+iFotoMax[iFotoSerie]+" from "+sFotoSted[iFotoSerie]+", "+sFotoDato[iFotoSerie]+" ("+aFotoIdx[iNoInSerie-1]+")";
      else
        sFotoMsg5 = "Photo "+iNoInSerie+" of "+iFotoMax[iFotoSerie]+" from "+sFotoSted[iFotoSerie]+", "+sFotoDato[iFotoSerie];
    }

    if ( document.images ) {

      // Opdater bullets
      if ( bPageWritten && bWriteBullets ) {
        if ( bWriteTnails ) {
          if ( iFotoOld > 0 ) document.images["slFoto"+iFotoOld].src = sGrafikPath+"grafik/slgwSpace.gif";
          document.images["slFoto"+iFotoLnr].src = sGrafikPath+"grafik/slgbBullet.gif";






        }
        iFotoOld = iFotoLnr;
      }

      // Opdater foto
      // alert(sFotoPath+sFotoSti1[iFotoSerie]+aFotoIdx[iFotoLnr-1]+sFotoSti2[iFotoSerie]);
      document.slForm.slFoto.src = sFotoPath+sFotoSti1[iFotoSerie]+aFotoIdx[iFotoLnr-1]+sFotoSti2[iFotoSerie];
      document.slForm.slFoto.alt = sFotoMsg5;

      // Opdater infotekst
      if ( bPageWritten ) {
        document.slForm.slText1.value = sFotoMsg1;
        document.slForm.slText2.value = sFotoMsg2;
        document.slForm.slText3.value = sFotoMsg3;
        document.slForm.slText4.value = sFotoMsg4;
      }

      // Tildel fokus til 'Næste foto'-knappen
      document.slForm.slNext.focus();
    }
    else {
      slUrlReplace(sFotoPath+sFotoSti1[iFotoSerie]+aFotoIdx[iFotoLnr-1]+sFotoSti2[iFotoSerie]);
    }
  }
  // ---------------------------------------------------
  // xxx
  // ---------------------------------------------------

  // Stop indtastning i textarea efter anført antal tegn
  function slMaxLength(formObj,event,size) {
    rc = true;
    // IE
    if ( !event.which && formObj.value.length >= size) rc = false;
    // NS4, NS6+ (allow backspace key)
    else if ( event.which && event.which != 8 && formObj.value.length >= size) rc = false;
    return rc;
  }

  // Er e-mail-adressen mulig?
  function isEmailOk(email) {
    var rc = true;
    var msg = '';

    // The following pattern is used to check if the entered email address
    // fits the user@domain format.  It also is used to separate the username from the domain.
    var emailPat = /^(.+)@(.+)$/;

    // The following string represents the pattern for matching all special
    // characters.  We don't want to allow special characters in the address.
    // These characters include ()<>@,;:\".[]
    var specialChars = "\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";

    // The following string represents the range of characters allowed in a
    // username or domainname.  It really states which chars aren't allowed.
    var validChars = "\[^\\s" + specialChars + "\]";

    // The following pattern applies if the "user" is a quoted string (in
    // which case, there are no rules about which characters are allowed
    // and which aren't; anything goes).  E.g. "jiminy cricket"@disney.com is a legal email address.
    var quotedUser = "(\"[^\"]*\")";

    // The following pattern applies for domains that are IP addresses,
    // rather than symbolic names.  E.g. joe@[123.124.233.4] is a legal
    // email address. NOTE: The square brackets are required. */
    var ipDomainPat = /^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;

    // The following string represents an atom (basically a series of non-special characters.)
    var atom = validChars+'+';

    // The following string represents one word in the typical username.
    // For example, in john.doe@somewhere.com, john and doe are words.
    // Basically, a word is either an atom or quoted string.
    var word = "("+atom+"|"+quotedUser+")";

    // The following pattern describes the structure of the user
    var userPat = new RegExp("^"+word+"(\\."+word+")*$");

    // The following pattern describes the structure of a normal symbolic
    // domain, as opposed to ipDomainPat, shown above. */
    var domainPat = new RegExp("^"+atom+"(\\."+atom+")*$");

    // Finally, let's start trying to figure out if the supplied address is valid

    // Begin with the coarse pattern to simply break up user@domain into
    // different pieces that are easy to analyze.
    var matchArray = email.match(emailPat);
    if ( matchArray == null ) {
      // Too many/few @'s or something; basically, this address doesn't even fit the general mould
      // of a valid email address.
      // alert("* E-mail-adressen synes forkert - check @ og .'er!");
      return false;
    }

    var user = matchArray[1];
    var domain = matchArray[2];

    // User is not valid
    if ( user.match(userPat) == null ) {
      // alert("* Brugernavn synes forkert!");
      return false;
    }

    // If the email address is at an IP address (as opposed to a symbolic host name)
    // make sure the IP address is valid
    var IPArray = domain.match(ipDomainPat);
    if ( IPArray != null ) {
      // This is an IP address
      for ( var i=1; i<=4; i++ ) {
        if ( IPArray[i] > 255 ) {
          // alert("* IP-addresse ikke genkendt!");
          return false;
        }
      }
      return true;
    }

    // Domain is symbolic name
    var domainArray = domain.match(domainPat);
    if ( domainArray == null ) {
      // alert("* Domænenavn synes forkert!");
      return false;
    }

    // Domain name seems valid, but now make sure that it ends in a three-letter word
    // (like com, edu, gov) or a two-letter word, representing country (uk, nl),
    // and that there's a hostname preceding the domain or country.

    // Now we need to break up the domain to get a count of how many atoms it consists of.
    var atomPat = new RegExp(atom,"g");
    var domArr = domain.match(atomPat);
    var len = domArr.length;
    if ( domArr[domArr.length-1].length < 2 || domArr[domArr.length-1].length > 4) {
      // The address must end in a two letter or three letter word.
      // alert("* E-mail-addressen skal ende med et domæne på 3 bostaver el. en landekode på 2!");
      return false;
    }

    // Make sure there's a host name preceding the domain.
    if ( len < 2 ) {
      // alert("* Adressen mangler et hostnavn!");
      return false;
    }

    return rc;
  }

  // Vis billede under link
  function showImg(pRef,pHeight) {
    pImg = setTimeout("displayImg('"+pRef+"',"+pHeight+","+event.clientX+","+event.clientY+")",100);
    pImg;
  }

  function displayImg(pRef,pHeight,posX,posY) {
    var pHeight = 70;
    document.getElementById("slimg").style.visibility = "visible";
    document.getElementById("slimg").style.top  = document.body.scrollTop+posY+14+"px";
    document.getElementById("slimg").style.left = posX+"px";
    document.getElementById("slimg").innerHTML = '<img src="'+pRef+'" class="dimg" height='+pHeight+' border=1>';
  }

  function hideImg() {
    document.getElementById("slimg").style.visibility = "hidden";
    window.clearTimeout(pImg);
  }

  // Generelle hjælpemeddelelser
  function slToolTips(pNo) {
    if ( pNo == 1 )
      alert("Tip til nemt gennemsyn af fotos på denne side:\n\nTryk 'Page Down' en enkelt gang - og derefter blot 'Enter' når du er klar til næste foto.\n\n(hvis du klikker med musen på andet end en af de to knapper, virker 'Enter' først igen som 'næste-knap',\nnår du har klikket med musen på 'Næste' eller 'Forrige')");
  }
