/***** LAYER EINBLENDEN    ********

function goTo(objSelect) {
	var strVal = objSelect.options[objSelect.selectedIndex].value;
	document.location.href = strVal;
}
	
	
function toggleElement(strIdShow, strIdHide, strStyleProp, strStyleValHide, strStyleValShow) {
  document.getElementById(strIdHide).style[strStyleProp] = strStyleValHide;
  document.getElementById(strIdShow).style[strStyleProp] = strStyleValShow;
}
	
function showElement(strIdSrc, strIdTarget) {
  var objSrc = document.getElementById(strIdSrc);  
  var objTarget = document.getElementById(strIdTarget);  
  var objCopy = objSrc.cloneNode(true);
  objTarget.parentNode.replaceChild(objCopy,objTarget);  
  objCopy.setAttribute('id',strIdTarget);
  objCopy.style.display = 'inline';
  
}
	
		
function toggleVisibility(obj, intHeight) {
if (obj.style.display  == "inline") {
obj.style.display  = "none";
obj.style.height = "1px";
}
else {
if (!isNaN(intHeight) && intHeight > 0) {
  obj.style.height = intHeight+"px";
}
obj.style.display = "inline";
}

return true;
}

*/

function toggleVisibilitySingle(_parentDivId,_strName, _strKey) {
  objParent = document.getElementById(_parentDivId);
  if (objParent) {
    arrDivs = objParent.getElementsByTagName('div');
    for (_intI = 0; _intI < arrDivs.length; _intI++) {
      if (arrDivs[_intI].getAttribute('name') == _strName) {
        if (arrDivs[_intI].id == _strName+'_'+_strKey) {
          arrDivs[_intI].style.display = "inline";
		    }
		    else {
		      arrDivs[_intI].style.display = "none";
		    }
      }
    }
  }
}


function toggleVisibility(obj) {
if (obj.style.display == "inline") {
obj.style.display = "none";
}
else {
obj.style.display = "inline";
}
return true;
}