<!-- hide script content from old browsers
/*
   ###########################################################
   JavaScript functions for www.love-to-dance.dk
   Author: pbsw 2001-09-22
   ###########################################################
*/

function skriv(tekst)
{
  document.write(tekst)
}

function fncSpacer(intWidth,intHeight)
{
  skriv('<IMG SRC="images/" WIDTH="' + intWidth + '1" HEIGHT="' + intHeight + '" BORDER="0" ALT="">')
}

function fncNav(intSelectno)
{
  skriv('<IMG SRC="images/main-menu.gif" WIDTH="132" HEIGHT="263" BORDER="0" USEMAP="#nav1"><BR>')
  skriv('<MAP NAME="nav1">')
  skriv('<AREA SHAPE="rect" COORDS="1,0,132,20"   HREF="om_love-to-dance_index.htm" ALT="Hvem er Love-to-Dance?">')
  skriv('<AREA SHAPE="rect" COORDS="1,27,132,47"  HREF="om_line_dance_index.htm" ALT="Hvad er line-dancing egentlig?">')
  skriv('<AREA SHAPE="rect" COORDS="1,54,132,73" HREF="vi_underviser_i_index.htm" ALT="Se vores programmer">')
  skriv('<AREA SHAPE="rect" COORDS="1,81,132,100" HREF="top-10-index.htm" ALT="Se vores Top-10 liste">')
  skriv('<AREA SHAPE="rect" COORDS="1,108,132,127" HREF="arrangementer_index.htm" ALT="Hvad sker der rundt omkring?">')
  skriv('<AREA SHAPE="rect" COORDS="1,135,132,154" HREF="fotoalbum_index.htm" ALT="Se billeder fra Love-to-Dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,163,132,183" HREF="chat_index.htm" ALT="Her kan du chatte om line dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,189,132,208" HREF="links_index.htm" ALT="Find andre klubber m.m.">')
  skriv('<AREA SHAPE="rect" COORDS="1,216,132,236" HREF="gaestebog_index.htm" ALT="Læs og skriv i vores gæstebog">')
  skriv('<AREA SHAPE="rect" COORDS="1,243,132,263" HREF="kontakt_index.htm" ALT="Skriv eller ring til os!">')
  skriv('</MAP>')
}

function fncOmline(intSelectno)
{
  skriv('<IMG SRC="images/om linedance.gif" WIDTH="133" HEIGHT="182" BORDER="0" USEMAP="#nav2"><BR>')
  skriv('<MAP NAME="nav2">')
  skriv('<AREA SHAPE="rect" COORDS="1,0,132,20"   HREF="hvad_er_line_dance.htm" ALT="Få noget at vide om line dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,27,132,47"  HREF="historie.htm" ALT="Hvordan line dance er opstået">')
  skriv('<AREA SHAPE="rect" COORDS="1,54,132,73" HREF="hvorfor_line_dance.htm" ALT="Hvorfor gå til line dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,81,132,100" HREF="line_dance_trin_og_teknik.htm" ALT="Læs om trinene og teknikken">')
  skriv('<AREA SHAPE="rect" COORDS="1,108,132,127" HREF="etiketten.htm" ALT="Om etiketten på gulvet">')
  skriv('<AREA SHAPE="rect" COORDS="1,135,132,154" HREF="musikken_til_line_dance.htm" ALT="Musikken til line dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,163,132,183" HREF="dansebeskrivelser.htm" ALT="Om dansebeskrivelserne">')
  skriv('</MAP>')
}

function fncOmlove(intSelectno)
{
  skriv('<IMG SRC="images/om love-to-dance.gif" WIDTH="133" HEIGHT="74" BORDER="0" USEMAP="#nav3"><BR>')
  skriv('<MAP NAME="nav3">')
  skriv('<AREA SHAPE="rect" COORDS="1,0,132,20"   HREF="om_love-to-dance_right.htm" ALT="Få noget at vide om love-to-dance">')
  skriv('<AREA SHAPE="rect" COORDS="1,27,132,47"  HREF="tid_og_sted.htm" ALT="Hvornår vi danser og hvor vi holder til">')
  skriv('<AREA SHAPE="rect" COORDS="1,54,132,73" HREF="instruktor.htm" ALT="Hvem er det der underviser?">')
  skriv('</MAP>')
}

function fncLink(intSelectno)
{
  skriv('<IMG SRC="images/links.gif" WIDTH="133" HEIGHT="337" BORDER="0" USEMAP="#nav4"><BR>')
  skriv('<MAP NAME="nav4">')
  skriv('<AREA SHAPE="rect" COORDS="1,17,132,37"   HREF="dk_links.htm" ALT="Links over danske klubber">')
  skriv('<AREA SHAPE="rect" COORDS="1,45,132,65" HREF="skandinavien_links.htm" ALT="Links over skandinaviske klubber">')
  skriv('<AREA SHAPE="rect" COORDS="1,71,132,92"  HREF="udenlandske_klubber.htm" ALT="Links over udenlandske klubber">')
  skriv('<AREA SHAPE="rect" COORDS="1,126,132,147" HREF="step_sheets_links.htm" ALT="Links til sider med step sheets">')
  skriv('<AREA SHAPE="rect" COORDS="1,153,132,174" HREF="organisationer.htm" ALT="Links til line dance organisationer">')
  skriv('<AREA SHAPE="rect" COORDS="1,181,132,201" HREF="line_dance_blade.htm" ALT="Links til line dance blade">')
  skriv('<AREA SHAPE="rect" COORDS="1,208,132,228" HREF="koreografer.htm" ALT="Links til line dance koreografer">')
  skriv('<AREA SHAPE="rect" COORDS="1,235,132,255" HREF="musik.htm" ALT="Hvor man kan købe line dance musik">')
  skriv('<AREA SHAPE="rect" COORDS="1,262,132,283" HREF="musikere.htm" ALT="Links til musikerne">')
  skriv('<AREA SHAPE="rect" COORDS="1,290,132,310" HREF="beklaedning.htm" ALT="Hvor man kan købe tøj og udstyr">')
  skriv('<AREA SHAPE="rect" COORDS="1,317,132,337" HREF="private.htm" ALT="Privatpersoner med line dance på deres hjemmeside">')
  skriv('</MAP>')
}

function fncDans(intSelectno)
{
  skriv('<IMG SRC="images/vi underviser.gif" WIDTH="133" HEIGHT="73" BORDER="0" USEMAP="#nav5"><BR>')
  skriv('<MAP NAME="nav5">')
  skriv('<AREA SHAPE="rect" COORDS="1,0,132,20"   HREF="program_oktober_2001.htm" ALT="Programmet for Oktober 2001">')
  skriv('<AREA SHAPE="rect" COORDS="1,54,132,75" HREF="dansene.htm" ALT="Dansene i Love-to-Dance">')
  skriv('</MAP>')
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function surfto1(form) 
{       
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != "0") 
  {
   window.open(form.select1.options[myindex].value, TARGET="hovedramme");
  }
}

function surfto(form) 
{       
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != "0") 
  {
   window.open(form.select1.options[myindex].value, TARGET="nederst");
  }
var myindex=form.select2.selectedIndex
if (form.select2.options[myindex].value != "0") 
  {
   window.open(form.select2.options[myindex].value, TARGET="nederst");
  }
}

function popUp(URL) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=200,left = 340,top = 262');");
}

// end hiding -->