<!--// 

//  This script is built from scratch by 
//     Rick Betting  (rick_b@dds.nl)
//
//   You can use this script but this 
//       message must be included.

if (document.images)  
  {
    var IsMSIE = (navigator.appName == "Microsoft Internet Explorer");
 
    var twoextrapixels  = new Image();
    var twoextrapixelsheight = 2;
    var fourextrapixels = new Image();
    var fiveextrapixels = new Image();
    var sixextrapixels  = new Image()
    twoextrapixels.src  = "../images/menu/twopixels.gif";
    fourextrapixels.src = "../images/menu/fourpixels.gif"; 
    fiveextrapixels.src = "../images/menu/fivepixels.gif";
    sixextrapixels.src  = "../images/menu/sixpixels.gif";
    var twoextrapixelsheight  = 2;
    var fourextrapixelsheight = 4;
    var fiveextrapixelsheight = 5;
    var sixextrapixelsheight  = 6;

    var menustatusimage   = new Image();
    menustatusimage.src   = "../images/menu/dimmuborgir.gif";
    menustatusimagewidth  = 156;
    menustatusimageheight = 17;

    var mainuit    = new Image();
    var mainaan    = new Image();
    mainuit.src    = "../images/menu/mainoff.gif";
    mainaan.src    = "../images/menu/mainon.gif";
    var maintext   = "Go back to the mainscreen";
    var mainexsp   = "two";
    var mainwidth  = 55;
    var mainheight = 37;

    var cdsuit    = new Image();
    var cdsaan    = new Image();
    cdsuit.src    = "../images/menu/cdsoff.gif";
    cdsaan.src    = "../images/menu/cdson.gif";
    var cdstext   = "Dimmu Borgir CDs and lyrics";
    var cdsexsp   = "four";
    var cdswidth  = 36;
    var cdsheight = 37;

    var aboutuit    = new Image();
    var aboutaan    = new Image();
    aboutuit.src    = "../images/menu/aboutoff.gif";
    aboutaan.src    = "../images/menu/abouton.gif";
    var abouttext   = "My (dark) opinion and some photos";
    var aboutexsp   = "six";
    var aboutwidth  = 111;
    var aboutheight = 31;

    var linksuit    = new Image();
    var linksaan    = new Image();
    linksuit.src    = "../images/menu/linksoff.gif";
    linksaan.src    = "../images/menu/linkson.gif";
    var linkstext   = "Links to other great sites";
    var linksexsp   = "two";
    var linkswidth  = 57;
    var linksheight = 35;

    var signguestbookuit    = new Image();
    var signguestbookaan    = new Image();
    signguestbookuit.src    = "../images/menu/signguestbookoff.gif";
    signguestbookaan.src    = "../images/menu/signguestbookon.gif";
    var signguestbooktext   = "Leave me a note...";
    var signguestbookexsp   = "two";
    var signguestbookwidth  = 172;
    var signguestbookheight = 37;

    var readguestbookuit    = new Image();
    var readguestbookaan    = new Image();
    readguestbookuit.src    = "../images/menu/readguestbookoff.gif";
    readguestbookaan.src    = "../images/menu/readguestbookon.gif";
    var readguestbooktext   = "See what other dark souls had to say";
    var readguestbookexsp   = "five";
    var readguestbookwidth  = 184;
    var readguestbookheight = 33;

    var historyuit    = new Image();
    var historyaan    = new Image();
    historyuit.src    = "../images/menu/historyoff.gif";
    historyaan.src    = "../images/menu/historyon.gif";
    var historytext   = "What has changed";
    var historyexsp   = "two";
    var historywidth  = 135;
    var historyheight = 37;

    var webringuit    = new Image();
    var webringaan    = new Image();
    webringuit.src    = "../images/menu/webringoff.gif";
    webringaan.src    = "../images/menu/webringon.gif";
    var webringtext   = "The webrings";
    var webringexsp   = "two";
    var webringwidth  = 102;
    var webringheight = 38;

    var voteuit    = new Image();
    var voteaan    = new Image();
    voteuit.src    = "../images/menu/voteoff.gif";
    voteaan.src    = "../images/menu/voteon.gif";
    var votetext   = "Vote for my site or add your own site to the Dark Sites Voting Aeon";
    var voteexsp   = "five";
    var votewidth  = 53;
    var voteheight = 34;

    var awarduit    = new Image();
    var awardaan    = new Image();
    awarduit.src    = "../images/menu/awardoff.gif";
    awardaan.src    = "../images/menu/awardon.gif";
    var awardtext   = "View my awards or apply your self for my award";
    var awardexsp   = "four";
    var awardwidth  = 88;
    var awardheight = 36;

    var statsuit    = new Image();
    var statsaan    = new Image();
    statsuit.src    = "../images/menu/statsoff.gif";
    statsaan.src    = "../images/menu/statson.gif";
    var statstext   = "Statistics of this site (in dutch only...)";
    var statsexsp   = "five";
    var statswidth  = 62;
    var statsheight = 32;

    var creditsuit    = new Image();
    var creditsaan    = new Image();
    creditsuit.src    = "../images/menu/creditsoff.gif";
    creditsaan.src    = "../images/menu/creditson.gif";
    var creditstext   = "View the credits !!!";
    var creditsexsp   = "two";
    var creditswidth  = 83;
    var creditsheight = 32;
  }

function act (imgName)
{
  if (document.images) 
  {
    document [imgName].width       = eval (imgName + 'width');
    document [imgName].height      = eval (imgName + 'height');
    document [imgName].src         = eval (imgName + 'aan.src');
    if (IsMSIE)
    {
      document ["extraspace"].width  = 1;
      document ["extraspace"].height = eval (eval (imgName + 'exsp') + 'extrapixelsheight');
      document ["extraspace"].src    = eval (eval (imgName + 'exsp') + 'extrapixels.src');
      document ["menustatus"].width  = eval (imgName + 'width');
      document ["menustatus"].height = eval (imgName + 'height');
      document ["menustatus"].src    = eval (imgName + 'uit.src');
    }
    parent.status                  = eval (imgName + 'text');
  }
}

function inact (imgName)
{
  if (document.images)
  {
    document [imgName].width       = eval (imgName + 'width');
    document [imgName].height      = eval (imgName + 'height');
    document [imgName].src         = eval (imgName + 'uit.src');
    if (IsMSIE)
    {
      document ["extraspace"].width  = 1;
      document ["extraspace"].height = twoextrapixelsheight;
      document ["extraspace"].src    = twoextrapixels.src;
      document ["menustatus"].width  = menustatusimagewidth;
      document ["menustatus"].height = menustatusimageheight;
      document ["menustatus"].src    = menustatusimage.src;
    }
    parent.status = "";
  }
}

//-->