//---------------------------------------------------------------
// dbgtData.js v.1.5
// Copyright (C) 2002 David Bollinger (davebollinger@hotmail.com)
//
// Support code for the 'dbGroupToc' modification - A grouped
// table of contents for ArcIMS 3.1+ HTML viewer sites.
//
// Notice:   This code may be freely distributed, used and
//           modified provided that this comment remains intact.
//---------------------------------------------------------------

var toc = new TOCNR('LAGEN','Alle Lagen',true,'swatch_layers.gif');

var grpbasis = toc.addGroup( new GROUP('Basisdata',true,'swatch_layers.gif') );
	grpbasis.addLayer( new LAYER('ngi topo\'s', null) );
	grpbasis.addLayer( new LAYER('wegennet', null) );
	grpbasis.addLayer( new LAYER('gemeentegrenzen', null) );

if (get_cookie("gisoost") == "intranet") {
var grpgmrup = toc.addGroup( new GROUP('Gemeentelijke rup\'s',true,'swatch_layers.gif') );
	grpgmrup.addLayer( new LAYER('gemeentelijke rup contouren', null) );}

var grpprup = toc.addGroup( new GROUP('Provinciale rup\'s',true,'swatch_layers.gif') );
	grpprup.addLayer( new LAYER('provinciale rup contouren', null, 'icon_hyperlink.gif') );
	grpprup.addLayer( new LAYER('provinciale rup deelgebieden', null,'icon_hyperlink.gif') );

var grpgrup = toc.addGroup( new GROUP('Gewestelijke rup\'s',true,'swatch_layers.gif') );
	grpgrup.addLayer( new LAYER('gewestelijke rup contouren', null, 'icon_hyperlink.gif') );
	grpgrup.addLayer( new LAYER('gewestelijke rup deelgebieden', null) );

var grpbpa = toc.addGroup( new GROUP('Bpa\'s',true,'swatch_layers.gif') );
	grpbpa.addLayer( new LAYER('bpa contouren 2005', null, 'icon_hyperlink.gif') );
	grpbpa.addLayer( new LAYER('bpa scans 2005', null) );
	grpbpa.addLayer( new LAYER('bpa contouren 2002', null) );
	grpbpa.addLayer( new LAYER('bpa scans 2002', null) );

var grpgwp = toc.addGroup( new GROUP('Gewestplan',true,'swatch_layers.gif') );
	grpgwp.addLayer( new LAYER('gewestplan - aanvullende voorschriften', null, 'icon_hyperlink.gif') );
	grpgwp.addLayer( new LAYER('labels', null) );
	grpgwp.addLayer( new LAYER('lijninfrastructuren', null) );
	grpgwp.addLayer( new LAYER('reservatiestroken', null) );
	grpgwp.addLayer( new LAYER('aan te leggen wegen', null) );
	grpgwp.addLayer( new LAYER('extra bestemming', null) );
	grpgwp.addLayer( new LAYER('extra bestemming gemarkeerd als overdruk', null) );
	grpgwp.addLayer( new LAYER('hoofdbestemming', null) );
	grpgwp.addLayer( new LAYER('voor- of nabestemming', null) );


