<!-- 
// Gets a element by its Id. Used for shorter coding
function GetE( elementId )
{
	return document.getElementById( elementId )  ;
}

// Sets an element visible/invisible
function ShowE( element, isVisible )
{
	if ( typeof( element ) == 'string' )
		element = GetE( element ) ;
	element.style.display = isVisible ? '' : 'none' ;
}

// Sets a value for an element
function SetAttribute( element, attName, attValue )
{
	if ( attValue == null || attValue.length == 0 )
		element.removeAttribute( attName, 0 ) ;			// 0 : Case Insensitive
	else
		element.setAttribute( attName, attValue, 0 ) ;	// 0 : Case Insensitive
}

// Gets the value for an element
function GetAttribute( element, attName, valueIfNull )
{
	var oAtt = element.attributes[attName] ;
	
	if ( oAtt == null || !oAtt.specified )
		return valueIfNull ;
		
	var oValue = element.getAttribute( attName, 2 ) ;
	
	return ( oValue == null ? valueIfNull : oValue ) ;
}

// Add a new entry in the dropdownlistbox
function AddSelectOption( selectElement, optionText, optionValue )
{
	var oOption = document.createElement("OPTION") ;
	oOption.text	= optionText ;
	oOption.value	= optionValue ;	
	selectElement.options.add(oOption) ;
	return oOption ;
}

// switch for making spans visible or invisible
function chkBlockStatus(el, elImg)
{
	//objDisplay = el.style.display;
	//el.style.display='none';
	if (el.style.display=='block')	{
		el.style.display='none';
		elImg.src='../../style/images/nav_right.gif';
	}
	else	{	
		el.style.display='block';
		elImg.src='../../style/images/nav_down.gif';
	}
}

// W3C standard. 17/05/2005. Philip Boekholt
function ToggleVisibility(el, elImg, elImgPath, elNoImg)
{
	if (GetE(el).style.display=='block')	{
		GetE(el).style.display='none';
		if(elNoImg!=1) {GetE(elImg).src=elImgPath + 'td_nav_right.gif';}
	}
	else	{
		GetE(el).style.display='block';
		if(elNoImg!=1) {GetE(elImg).src=elImgPath + 'td_nav_down.gif';}
	}
}

function alertDemo(){
	alert('Dit is de demo omgeving (safemode ON)!');
}
//-->
