function SDOLPopup(astrFileName)
{
	var myWindow;
	var myUrl = 'SDOL/NL/' + astrFileName;
		myWindow = window.open(myUrl,'SDOL','menubar=no,scrollbars=no,width=800,height=600,screenX=1,screenY=1,left=1,top=1');
		myWindow.focus();
}

function GoToPage(dropdown)
{
	var url;
	if (dropdown)
	{
		url = dropdown.options[dropdown.options.selectedIndex].value;
		if (url!="")
		{
			document.location.href = url;
		}
	}
}


function MoveFooterOrganisatie()
{
	if(document.getElementById)
	{
		var lobjDivFooterOrganisatie = document.getElementById("divFooterOrganisatie");
		var lobjDivContent = document.getElementById("elContent");
		
		/*
			var lobjResolution = new getResolutie();
			var newTop =  document.body.clientHeight  + lobjDivContent.scrollTop;
			if (newTop>lobjDivContent.scrollHeight)
			{
				newTop = lobjDivContent.scrollHeight + 10;
			}
		lobjDivFooterOrganisatie.style.pixelTop = newTop-49;
		
		lobjDivFooterOrganisatie.
		*/
		
		
		if ( (lobjDivFooterOrganisatie) && (lobjDivContent) && (lobjDivContent.scrollWidth) && (lobjDivContent.scrollHeight) )
		{
			var lobjResolution = new getResolutie();
			

			var lintPaddingBottom = 0;
			
			lintPaddingBottom = lobjDivContent.scrollHeight-lobjResolution.height - lobjDivContent.scrollTop + 20;
			
			
			if ((lobjDivContent.scrollWidth)>lobjResolution.width)
				lintPaddingBottom = lintPaddingBottom +20;
			if (lintPaddingBottom<0) {lintPaddingBottom = 0;}
			
			var lobjTable = document.getElementById("tableFooterOrganisatie");
			if (lobjTable.offsetHeight)
			{
				if ((lintPaddingBottom+29)>lobjTable.offsetHeight)
				{
					lintPaddingBottom = 0;
				}
			}
			
			
			
			var lobjCell = document.getElementById("tablecellFooterOrganisatie1");
			var lstrPadding = "0px, 0px, " + lintPaddingBottom + "px, 0px";
			if (lobjCell)
			{
				lobjCell.style.padding = lstrPadding;
			}
			lobjCell = document.getElementById("tablecellFooterOrganisatie2");
			if (lobjCell)
			{
				lobjCell.style.padding = lstrPadding;
			}
			lobjCell = document.getElementById("tablecellFooterOrganisatie3");
			if (lobjCell)
			{
				lobjCell.style.padding = lstrPadding;
			}
			
		}
		
	}
}

function getResolutie(){
var myWidth = 0, myHeight = 0;
var deResolutie = new oResolutie();
if( typeof( window.innerWidth ) == 'number' ) {
	//Non-IE
	theWidth = window.innerWidth;
	theHeight = window.innerHeight;
} else {
	if( document.documentElement &&
		( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
	//IE 6+
	theWidth = document.documentElement.clientWidth;
	theHeight = document.documentElement.clientHeight;
	} else {
	if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		theWidth = document.body.clientWidth;
		theHeight = document.body.clientHeight;
	}
	}
}
deResolutie.width = theWidth;
deResolutie.height = theHeight;
return deResolutie;
}

function oResolutie(width,height){
	this.width = width;
	this.height = height;
}


function fncPullDownDisPlay(state){
	for (var iForms = 0; iForms < document.forms.length; iForms++){
		var theForm = document.forms[iForms];
		for( var iElements=0; iElements < theForm.elements.length; iElements++){
			var theElement = theForm.elements[iElements];
			
			if(theElement.type == "select-one"){
				if ( (theElement.style) && (theElement.className) ){
					if (theElement.className=="DropDownHideFromMenu")
					{
						theElement.style.display = state;
					}
				}
			}
		}
	}
}