<!-- hide script content from old browsers
/*
   ###########################################################
   JavaScript functions for www.buanco.dk
   Author: Bjarne Lindegaard Christensen, Buanco System A/S
   Date: 2001-08-30 / 2012-01-10
   ###########################################################
*/

function skriv(tekst)
{
  document.write(tekst)
}

function fncSpacer(intWidth,intHeight)
{
  skriv('<IMG SRC="gfx/_.gif" WIDTH="' + intWidth + '" HEIGHT="' + intHeight + '1" BORDER="0" ALT="">')
}

function fncTopNav(intSelectno)
{
  skriv('<IMG SRC="gfx/TopNav.gif" ALT="V&aelig;lg Emne" WIDTH="655" HEIGHT="115" BORDER="0" USEMAP="#nav1"><BR>')
  skriv('<MAP NAME="nav1">')
  skriv('<AREA SHAPE="rect" COORDS="5,3,150,110"                 HREF="index.htm" ALT="Forside">')
  skriv('<AREA SHAPE="poly" COORDS="255,0,306,0,191,115,140,115" HREF="card8.htm" ALT="Card8 Systemet">')
  skriv('<AREA SHAPE="poly" COORDS="307,0,358,0,243,115,192,115" HREF="AdgangsKontrol.htm" ALT="AdgangsKontrol">')
  skriv('<AREA SHAPE="poly" COORDS="359,0,410,0,295,115,244,115" HREF="TyveriAlarm.htm" ALT="TyveriAlarm">')
  skriv('<AREA SHAPE="poly" COORDS="411,0,462,0,347,115,296,115" HREF="TidsRegistrering.htm" ALT="TidsRegistrering">')
  skriv('<AREA SHAPE="poly" COORDS="463,0,514,0,399,115,348,115" HREF="NoegleBank.htm" ALT="NøgleBank">')
  skriv('<AREA SHAPE="poly" COORDS="515,0,566,0,451,115,400,115" HREF="KantineSystem.htm" ALT="KantineSystem">')
  skriv('<AREA SHAPE="poly" COORDS="567,0,618,0,503,115,452,115" HREF="ParkeringsSystem.htm" ALT="ParkeringsSystem">')
  skriv('<AREA SHAPE="poly" COORDS="619,0,670,0,555,115,504,115" HREF="profil.htm" ALT="Om Buanco">')
  skriv('</MAP>')
 }

function fncPline(intSelectno)
{
  if (intSelectno == 0){fncSpacer(63,1);  skriv('<IMG SRC="gfx/pline0.gif" WIDTH="114" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 1){fncSpacer(174,1); skriv('<IMG SRC="gfx/pline1.gif" WIDTH="143" HEIGHT="69" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 2){fncSpacer(63,1);  skriv('<IMG SRC="gfx/pline2.gif" WIDTH="165" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 3){fncSpacer(63,1);  skriv('<IMG SRC="gfx/pline3.gif" WIDTH="217" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 4){fncSpacer(62,1);  skriv('<IMG SRC="gfx/pline4.gif" WIDTH="269" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 5){fncSpacer(62,1);  skriv('<IMG SRC="gfx/pline5.gif" WIDTH="321" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 6){fncSpacer(62,1);  skriv('<IMG SRC="gfx/pline6.gif" WIDTH="373" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 7){fncSpacer(61,1);  skriv('<IMG SRC="gfx/pline7.gif" WIDTH="425" HEIGHT="67" BORDER="0" ALT=""><BR>');}
  if (intSelectno == 8){fncSpacer(61,1);  skriv('<IMG SRC="gfx/pline8.gif" WIDTH="477" HEIGHT="67" BORDER="0" ALT=""><BR>');}

}

function fncBotNav()
{
  skriv('<DIV CLASS="small1">')
  skriv('&nbsp;<IMG SRC="gfx/aa0022.gif" WIDTH="650" HEIGHT="2" ALT="">')
  skriv('&nbsp; &nbsp; &nbsp; &nbsp;')
  skriv('<A HREF="index.htm">Forside</a>&nbsp; &nbsp;')
  skriv('<A HREF="artikler.htm">Artikler</a>&nbsp; &nbsp;')
  skriv('<A HREF="galleri.htm">Galleri</a>&nbsp; &nbsp;')
  skriv('<A HREF="partners.htm">Partnere</a>&nbsp; &nbsp;')
  skriv('<A HREF="referencer.htm">Referencer</a>&nbsp; &nbsp;')
  skriv('<A HREF="http://www.buancoshop.dk" target="_blank">Shop</a>&nbsp; &nbsp;')
  skriv('<A HREF="BuancoSupport.htm">Online-support</a>&nbsp; &nbsp;')
  skriv('<A HREF="PDF/Buanco - leveringsbetingelser.pdf" TARGET="_blank">Leveringsbetingelser</a>&nbsp; &nbsp;')
  skriv('<A HREF="kontakt.htm">Kontakt os</a>&nbsp; &nbsp;')
  skriv('<BR>&nbsp;<BR>')
//  skriv('<IMG SRC="gfx/_.gif" WIDTH="42" HEIGHT="1" BORDER="0" ALT="">')
  skriv('</DIV>')
}

function fncPopWin(url,w,h) {
 var intPopupWindowWidth  = w;
 var intPopupWindowLeftPosition = (screen.availWidth - (intPopupWindowWidth)) / 2;
// popupWin = window.open(url,'ANYTHING', 'WIDTH=' + w + ',HEIGHT=' + h + ',TOP=5,LEFT=' + (intPopupWindowLeftPosition) +'');  // Bruger samme PopUpVindue hvergang.
   popupWin = window.open(url,'', 'WIDTH=' + w + ',HEIGHT=' + h + ',TOP=5,LEFT=' + (intPopupWindowLeftPosition) +'');  // Åbner et nyt PopUpVindue hver gang.
}

function fncCopyright()
{
  skriv('<DIV CLASS="small2" ALIGN="center">Copyright &copy;1999-2012 Buanco System A/S</div><BR>')
  skriv('<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="100%"><TR><TD CLASS="gggg"><A Name="" Href="http://www.sikkerhedsbranchen.dk"><IMG Src="gfx/SikkerhedsBranchen.gif" Border="0" Width="225" Height="50" Alt="Medlem af Sikkerheds Branchen"></A> &nbsp; &nbsp; &nbsp; &nbsp; <A Name="" Href="http://www.dibs.dk"><IMG Src="gfx/dibs_sort_rgb_certified.gif" Border="0" Width="88" Height="50" Alt="DIBS Certified"></A>   &nbsp; &nbsp; &nbsp; &nbsp; <A Name="" Href="http://www.pbs.dk/da/produkter/certificeringafbetalingsloesninger/vejledning-og-regler/godkendteloesningerogleverandoerer/Pages/integrationsloesninger.aspx"><IMG Src="gfx/pbs.gif" Border="0" Width="121" Height="50" Alt="PBS Terminalintegrator"></A> &nbsp; &nbsp; &nbsp; &nbsp; <A HREF="PDF/Buanco-ElreturCertifikat2009.pdf" TARGET="_blank" TITLE="Læs artiklen her."><IMG Src="gfx/Elretur.gif" Border="0" Width="94" Height="50" Alt="Elretur Certifikat"></A>  </TD></TR></TABLE>')
}

function fncFooter1()
{
  skriv('<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="650">')
  skriv('<TR><TD WIDTH="10">&nbsp;</TD><TD ALIGN="center">')
  skriv('<IMG SRC="gfx/firmanavn_black_215x15.gif" ALT="Buanco System A/S" WIDTH="215" HEIGHT="15" BORDER="0"><BR>')
  skriv('Agerhatten 25, 5220 Odense SØ.&nbsp; Telefon 64 73 14 07 &nbsp; Web: www.buanco.dk &nbsp; &nbsp;E-mail: buanco@buanco.dk<BR><BR>')
  fncCopyright()
  skriv('</TD></TR></TABLE>')
}

function fncSafemail(strName, strDomain, strCountry)
{
strDisplayed= strName+"@"+strDomain+"."+strCountry
skriv('<A HREF=mailto:' + strName + '@' + strDomain + '.' + strCountry + '>' + strDisplayed + '</A>');
}

function fncDataSheetLink(strUrl)
{
  skriv('&nbsp; <A HREF=' + strUrl + '><IMG SRC="gfx/datablad.gif" ALT="Datablad" WIDTH="64" HEIGHT="16" BORDER="0"></A>&nbsp;&nbsp;')
//  skriv('&nbsp; <A HREF=' + strUrl + '>Datablad</A>&nbsp;&nbsp;')
}

function fncPdfLink(strUrl, strFileSize, strDescription)
{
//  skriv('&nbsp; <A HREF=' + strUrl + '>' + strDescription + '</A> <SPAN CLASS="smallest">' + strFileSize + '</SPAN>&nbsp;')
  skriv('&nbsp; <A HREF=' + strUrl + 'target="_blank"><IMG SRC="gfx/pdficon.gif" ALT="'+ strDescription +'" WIDTH="22" HEIGHT="24" BORDER="0"></A> <SPAN CLASS="smallest">' + strFileSize + '</SPAN>&nbsp;')
}

function fncGetAdobeReader()
{
  skriv('<A HREF="http://www.adobe.dk/products/acrobat/readstep2.html" TARGET="_blank"><IMG SRC="gfx/get_adobe_reader.gif" WIDTH="88" HEIGHT="31" BORDER="0" ALT="Hent Adobe Reader"></A>')
}

function disableRightClick(e)
{
  var message = "Copyright - Buanco System A/S";

  if(!document.rightClickDisabled) // initialize
  {
    if(document.layers)
    {
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown = disableRightClick;
    }
    else document.oncontextmenu = disableRightClick;
    return document.rightClickDisabled = true;
  }
  if(document.layers || (document.getElementById && !document.all))
  {
    if (e.which==2||e.which==3)
    {
      alert(message);
      return false;
    }
  }
  else
  {
    alert(message);
    return false;
  }
}


// end hiding -->
