//////////////////////////////////////////////////////////////////
//                                                              //
//                         webdesign by:                        //
//                                                              //
//                             Mbark                            //
//                     Antoon Coolenlaan 29                     //
//                        5044 MK Tilburg                       //
//                        The Netherlands                       //
//                    Phone: +31 6 5110 5002                    //
//    		       Email: info@mbark.nl  	                //
//                                                              //
//////////////////////////////////////////////////////////////////

var mijnTimer = null;
var mijnTimer2 = null;

function cC(source, color) {
  source.bgColor = color;
  }

function cT(source, color) {
  if (document.all) {
    document.all[source].style.color = color; }
  else if (document.getElementById) {
    document.getElementById(source).style.color = color; }
  }

function showhideLayer(layerName, showHide) {
if (layerName!=='')
{
  if (document.all) {
    if (showHide == 'show') {
      document.all[layerName].style.display = 'inline'; }
    else if (showHide == 'hide') {
      document.all[layerName].style.display = 'none'; }
    }
  else if (document.getElementById) {
    if (showHide == 'show') {
	  document.getElementById(layerName).style.display = 'inline';
	  
	  }
    else if (showHide == 'hide') {
      document.getElementById(layerName).style.display = 'none'; }
    }
}
  }

function wachthideLayer() {
  mijnTimer = setTimeout("showhideLayer(actief, 'hide');", 750);
  }

function wachthideSub() {
  mijnTimer2 = setTimeout("showhideLayer(subactief, 'hide');", 600);
  mijnTimer = setTimeout("showhideLayer(actief, 'hide');", 750);
  }

function stop() {
  clearTimeout(mijnTimer);
  clearTimeout(mijnTimer2);
  }

function leeg() {
  stop();
  showhideLayer(actief, 'hide');
  showhideLayer(subactief, 'hide');
  }

function subleeg() {
  stop();
  showhideLayer(subactief, 'hide');
  }

