/*********************************************************************************************/
/****************************** Declaration of global variables ******************************/
/*********************************************************************************************/

linkon = new Image();
linkon.src = "../../../../images/general/links_on.gif";
linkoff = new Image();
linkoff.src = "../../../../images/general/links_off.gif";

infoon = new Image();
infoon.src = "../../../../images/general/info_on.gif";
infooff = new Image();
infooff.src = "../../../../images/general/info_off.gif";

reekson = new Image();
reekson.src = "../../../../images/general/reeks_on.gif";
reeksoff = new Image();
reeksoff.src = "../../../../images/general/reeks_off.gif";

extraon = new Image();
extraon.src = "../../../../images/general/extra_on.gif";
extraoff = new Image();
extraoff.src = "../../../../images/general/extra_off.gif";

var WinPopup;

/*********************************************************************************************/
/************************************** Image rollovers **************************************/
/*********************************************************************************************/

function img_act(imgName)
  {
    imgOn = eval(imgName + "on.src");
    document[imgName].src = imgOn;
  }

function img_inact(imgName)
  {
    imgOff = eval(imgName + "off.src");
    document [imgName].src = imgOff;
  }

/*********************************************************************************************/
/****************************************** ShowItem *****************************************/
/*********************************************************************************************/

function ShowItem(htmlfile, alias, wSize, hSize, sb)
  {
    if (WinPopup!=null && (!WinPopup.closed))
      {
        WinPopup.resizeTo(wSize,hSize);
        WinPopup.location=htmlfile;
        WinPopup.focus();
      }
    else WinPopup=window.open(htmlfile, alias, "width="+wSize+",height="+hSize+",toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars="+sb);
  }

/*********************************************************************************************/



function OutOfOrder()
  {
    alert("Dit onderdeel van de site is helaas nog niet beschikbaar");
    return;
  }
  
function getCalendarDate()
  {
    var months = new Array(13);
    months[0]  = "januari";
    months[1]  = "februari";
    months[2]  = "maart";
    months[3]  = "april";
    months[4]  = "mei";
    months[5]  = "juni";
    months[6]  = "juli";
    months[7]  = "augustus";
    months[8]  = "september";
    months[9]  = "oktober";
    months[10] = "november";
    months[11] = "december";
    var now         = new Date();
    var monthnumber = now.getMonth();
    var monthname   = months[monthnumber];
    var monthday    = now.getDate();
    var year        = now.getYear();
    if(year < 2000) { year = year + 1900; }
    var dateString = monthday  + ' ' + monthname + ' ' + year;
    return dateString;
  }
