/* ==============================================================================================================================================================================			OLD' HOME.JS	AT THE BOTTOM			OLD' HOME.JS	AT THE BOTTOM			OLD' HOME.JS	AT THE BOTTOM			OLD' HOME.JS	AT THE BOTTOM			OLD' HOME.JS	AT THE BOTTOM==============================================================================================================================================================================*//* IE6 fix voor css dropdown(s)  nu voor topright menu op homepage */sfHover = function() {  try {	var sfEls = document.getElementById("mymenu").getElementsByTagName("li");  	for (var i=0; i<sfEls.length; i++) {  		sfEls[i].onmouseover=function() {  			this.className+=" hover";  		}  		sfEls[i].onmouseout=function() {  			this.className=this.className.replace(new RegExp(" hover\\b"), "");  		}  	}  } catch(e) {}}  if (window.attachEvent) window.attachEvent("onload", sfHover);function trim(str, chars) {	return ltrim(rtrim(str, chars), chars);} function ltrim(str, chars) {	chars = chars || "\\s";	return str.replace(new RegExp("^[" + chars + "]+", "g"), "");} function rtrim(str, chars) {	chars = chars || "\\s";	return str.replace(new RegExp("[" + chars + "]+$", "g"), "");}function doUnload(){}function showSection(m) {	var d = document.getElementById(m);	if (d.style.display=='none')		d.style.display = "block"	else		d.style.display = "none"}function showeditaddress() {document.getElementById('address').style.display = '';document.getElementById('editaddress').style.display = 'none';document.getElementById('canceladdress').style.display = '';document.getElementById('submit8') ? document.getElementById('submit8').style.display = 'none' : '';document.getElementById('submit10') ? document.getElementById('submit10').style.display = 'none' : '';document.getElementById('text') ? document.getElementById('text').style.display = 'none' : '';/* als nog niet ingelogd in my.company.info, veld niet beschikbaar  */document.getElementById('LinkedIn') && document.getElementById('LinkedIn').value.length==0? document.getElementById('LinkedIn').focus()  :  '';}function hideeditaddress() {document.getElementById('address').style.display = 'none';document.getElementById('editaddress').style.display = '';document.getElementById('canceladdress').style.display = 'none';document.getElementById('submit8') ? document.getElementById('submit8').style.display = '' : '';document.getElementById('submit10') ? document.getElementById('submit10').style.display = '' : '';document.getElementById('text') ? document.getElementById('text').style.display = '' : '';}function showeditdescription() {document.getElementById('description').style.display = '';document.getElementById('editdescription').style.display = 'none';document.getElementById('canceldescription').style.display = '';document.getElementById('submit8') ? document.getElementById('submit8').style.display = 'none' : '';document.getElementById('submit10') ? document.getElementById('submit10').style.display = 'none' : '';document.getElementById('text') ? document.getElementById('text').style.display = 'none' : '';document.getElementById('readdescriptionen') ? document.getElementById('readdescriptionen').style.display = 'none' : '';document.getElementById('readdescriptionnl') ? document.getElementById('readdescriptionnl').style.display = 'none' : '';document.getElementById('sbi') ? document.getElementById('sbi').style.display = '' :  '';document.getElementById('readsbi') ? document.getElementById('readsbi').style.display = 'none' : '';}function hideeditdescription() {document.getElementById('description').style.display = 'none';document.getElementById('editdescription').style.display = '';document.getElementById('canceldescription').style.display = 'none';document.getElementById('sbi') ? document.getElementById('sbi').style.display = 'none' : '';document.getElementById('submit8') ? document.getElementById('submit8').style.display = '' : '';document.getElementById('submit10') ? document.getElementById('submit10').style.display = '' : '';document.getElementById('text') ? document.getElementById('text').style.display = '' : '';document.getElementById('readdescriptionnl') ? document.getElementById('readdescriptionnl').style.display = ''  : '';document.getElementById('readsbi') ? document.getElementById('readsbi').style.display = ''  : '';}function showeditperson() {document.getElementById('person') ? document.getElementById('person').style.display = '' : '';document.getElementById('editperson').style.display = 'none';document.getElementById('cancelperson').style.display = '';document.getElementById('LinkedIn') && document.getElementById('LinkedIn').value.length==0? document.getElementById('LinkedIn').focus()  :  '';}function hideeditperson() {document.getElementById('person') ? document.getElementById('person').style.display = 'none' : ''document.getElementById('editperson').style.display = '';document.getElementById('cancelperson').style.display = 'none';}// qsearch vanaf search_organisations sffunction doSearchOrganisation(tType) {	var query = document.searchForm.q.value;		// cannot use get element by name because of the menu search field with same name.	query = (0 == query.length ? '' : '&q='+ query.replace('&','en').toLowerCase());	//sv fields normal text   auditor 	var tflds = ['auditor', 'postcode1', 'postcode2', 'address', 'huisnr', 'Titel', 'CompanyName'  ];	for (i=0;i<tflds.length;i++) {		if(document.getElementsByName(tflds[i])[0]) {			tval = encodeURIComponent(document.getElementsByName(tflds[i])[0].value);			query = (0 == tval.length ? query : query+ '&' + tflds[i] + '=' + tval);		}	}		tquery1 = (document.searchForm.neven && document.searchForm.neven.checked ? 'branches':'') 		tquery2 = ((document.searchForm.status && document.searchForm.status.checked)  ? 'discontinued':'');		query =  ('' != tquery1 || '' != tquery2 ? query + '&include='+tquery1 : query);		query =  ('' != tquery1 && '' != tquery2 ? query + ';' +  tquery2 : query + tquery2);		//===============		 full company search		==============	//sv fields *1milioen min_turnover max_turnover min_profit max_profit min_assets max_assets   	var tflds = ['min_turnover','max_turnover','min_profit','max_profit','min_assets','max_assets','min_age', 'max_age', 'min_service', 'max_service', 'min_network', 'max_network' ];	for (i=0;i<tflds.length;i++) {		if(document.getElementsByName(tflds[i])[0]) {			tval = document.getElementsByName(tflds[i])[0].value;			query = (0 == tval.length ? query : query+ '&' + tflds[i] + '=' + tval );		}	}	//mv fields comma city	var cityA = document.searchForm.city.value.split(",");	var city = '';	for (i=0;i<cityA.length;i++) {		if (0 != cityA[i].length) {			tCity = getTranslatedCity(cityA[i].replace(/(^\s+|\s+$)/g,''));			city = ('' == city ? tCity : city+ ';' + tCity);		}	}	query= (city=='' ? query : query+'&city=' + city);	// checkbox fields:  sector sbi employeecat legalform banks listing provincie muncipality country 	var tflds = ['S','SN','EmpListing','Banks','RV','Listing','Province','Municipality','Country','year','DocumentType'];	for (var i=0;i<tflds.length;i++) {		var cbox = document.getElementsByName(tflds[i]);		if(tflds[i] == 'SN') {debugger};		var tval = '';		if(cbox) {			for (var j=0;j< cbox.length;j++) {				 if (cbox[j].checked)   			   	{	   			   		// value => id voor de typeahead					//voor sbi's en sector loose voorloop letter:					if  (('SN' == tflds[i] ) && 2 < cbox[j].id.length) {boxval = cbox[j].id.substring(2);}					else if  (( 'S' == tflds[i]) && 2 < cbox[j].id.length) {boxval = cbox[j].id.substring(1);}					else if ("RV" == tflds[i]) {boxval = calcRVListing(cbox[j].id)}					else if ("EmpListing" == tflds[i]) {boxval = cbox[j].id.substring(3)}					else if ("Banks" == tflds[i]) {boxval = cbox[j].id.substring(5)}					else boxval = cbox[j].id.replace(" & "," and ");  					tval= (tval=='' ? boxval : tval+ ';' + boxval);   			   	}			}			query = (0 == tval.length ? query : query+ '&' + tflds[i] + '=' + tval);		}	}	// omschrijven 'echte' veldnamen naar url   	Note: we zouden ook de subform kunnen wijzigen, maar dit werkt door in scriptlibs, andere db's etc.	var rArray = ['&EmpListing=&employeecat','&RV=&legalform','&RVListing=&legalform','&SN=&sbi','&S=&sector','&postcode1=&min_postcode','&postcode2=&max_postcode','&address=&street','&huisnr=&streetnr'];	for (i=0;i<rArray.length;i++) {		var re = rArray[i].split('=');		query = query.replace(re[0],re[1])	}	// remove first &	//query = query.substring(1);	//window.location='/osearch/' +query;	debugger;	var searchurl = ((undefined == tType || '' == tType) ? '/osearch/' +query : '/' + tType + '/' +query);	window.location=searchurl.toLowerCase();		return false;}function calcRVListing(tval) {		// replace single legal form with multiple		switch (tval) {				case "01":					tval = "01;02";					break;				case "21":					tval = "21;22;24";					break;				case "03":					tval = "03;12;23";					break;				case "13":					tval = "13;14";					break;				case "41":					tval = "41;42";					break;				case "51"                 :					tval = "51;52;53;54";					break;				case "55"     :					tval = "55;56";					break;				case "61"                       :					tval = "61;62;63;64;66";					break;				case "71"      :					tval = "71;72";					break;				case "81"                            :					tval = "81;82;83;84;85;86";					break;				case "88":					tval = "88;89";					break;				case "91":					tval = "91;92";					break;			}			return tval;	}// de searchfunctionaliteit van de searchbar (home) voor organisations en personenfunction doSearch(button,tType) {debugger;	var query = '';	if ("menu" == tType) {			query = document.menuSearch.q.value;			if ('Search organisation'==  query || 'Zoek organisatie' == query  || '' == query) return false;			//window.location='/qsearch/q=' + document.menuSearch.q.value;	} else {			query = document.searchForm.q.value.replace('&','en').toLowerCase();	}	if (0==query.length) return false;	if (button) {		button.value='Searching...'		button.disabled=true;	}	returnurl = (tType && '' != tType && 'menu' != tType? '/searchresults/' + tType + '/' : '/osearch/');	//if ("people" == tType) {window.location='/qsearch/q=' + document.searchForm.q.value + '&db=people';}	//	else {		query = query.replace(/: /g,':');		query = query.replace(/, /g,',');		// fix voor spaties in search dinges		var endNum = 0;		var i = 0;		var qc = "";		var queryA = new Array();		// uit elkaar trekken van de search velden. dit is wat overdreven omdat ze weer aan elkaar geplakt worden, maar is om kans op fouten te vekleinen.		while (query.indexOf(':')>0) {						var first = query.indexOf(":");			var space = query.indexOf(" ");			if (space < first && space != -1) {				// first a 'normal' search				queryA[i] = query.substring(0,space);				query = query.substring(space+1);			} else {				var second =  query.indexOf(":",first+1);				if (-1 != second) {					var rest = query.substring(first,second);					var second = rest.lastIndexOf(" ");					rest = rest.substring(0,second);				} else {					var rest = query.substring(first);					var second = -1;				}				var tFld = query.substring(0,first);				var tVal = rest;				queryA[i] =  tFld + tVal;			debugger;				query = (-1 == second ? '': query.substring(first+second+1));			}			i++;		}		if (queryA.length==0) {queryA[0] = query};debugger		//var queryA = query.split(" ");		var hoofdquery = '';		var tquery = '';		for (i=0;i<queryA.length;i++) {			// loop door search criteria			if (queryA[i].indexOf(':')>0) {				// Google style search								tAr = queryA[i].split(':');				tField = tAr[0].replace(/(^\s+|\s+$)/g,'');				tValue = tAr[1].replace(/(^\s+|\s+$)/g,'');				if ('city' == tField) tValue = getTranslatedCity(tValue);				if (tField.indexOf('postcode')>0 && queryA.length > i+1) {					// check for space					if ( 2 ==queryA[i+1].length ) {						i = i + 1;						tValue = tValue + "+" + queryA[i]					}				}				//  MV replace , met ; voor url en encode				tValue = encodeURIComponent(tValue.replace(/,/g,';'));				tquery = tquery + '&' + tField + '=' + tValue ;			} else {				hoofdquery = hoofdquery + " " + encodeURIComponent(queryA[i]);			}					}		if ('' != hoofdquery) {hoofdquery =  'q=' + hoofdquery.substring(1)} else {tquery = tquery.substring(1)};		query = hoofdquery + tquery;		try {			tquery1 = (document.searchForm.neven && document.searchForm.neven.checked ? 'branches':'') 			tquery2 = (document.searchForm.status && document.searchForm.status.checked ? 'discontinued':'');			query =  ('' != tquery1 || '' != tquery2 ? query + '&include='+tquery1 : query);			query =  ('' != tquery1 && '' != tquery2 ? query + ';' +  tquery2 : query + tquery2);		} catch (e) {};		{window.location=returnurl + query.replace(/\+/g,' ');}//	}}function getTranslatedCity(cityName) {	var res = cityName;	res = res.replace("den haag",'"s-gravenhage"');	res = res.replace("den bosch",'"s-hertogenbosch"');	return res}// code from http://webfx.eae.net, some small adaptions made for numbers and first sort order and 	sText = sText.replace(/[\.,]/g,'');// company form// contains also advanced search section// contains also advanced people search section// contains also views.js section// contains also suggest.js section// ***** CONCERNRELATIONS BEGIN *********// Voor top 50k toegangfunction layoutConcernRelations (){	if (typeof(myframe) != "undefined") {    	var el = myframe.document.getElementsByTagName('h2').item(0); 	   if (null != el){			 el.style.display = 'none' ;		}    		el = myframe.document.getElementsByTagName('hr').item(0);		if (null != el){			 el.style.display = 'none'; 		}			el = myframe.document.getElementsByTagName('center').item(0);		if (null !=  el){			 el.style.textAlign = 'left';		}			el = myframe.document.getElementsByTagName('center').item(0);	   	if (null != el){			 el.style.marginTop = '-35px' ;		}	}	}// Voor volledige  toegangfunction getRows(id)	{	var r= new Array();	var script=document.getElementById (id);	if ( script == null)		return r;	var sValue = script.value.replace( /\r|\n/gi, '');	if (sValue=='<h2>No documents found<\/h2>' ) return r;	eval( script.value.replace( /\r|\n/gi, '') );	return r;}function expand_concern(){	if (document.getElementById('management')){ document.getElementById('management').style.display='none';}	if (document.getElementById('managementhead')){ document.getElementById('managementhead').style.display='none';}	document.getElementById('concern_results').style.width='770px';	try {		document.getElementById('collapse_concern').style.display='';		document.getElementById('expand_concern').style.display='none';//		document.getElementById('excelexportconcern').style.display='';	} catch(e) {}		// replace sbi codes and show table	var mylist=document.getElementById("aandeelhouders");	var thead= mylist.getElementsByTagName("thead");	thead[0].style.display='';	var citems= mylist.getElementsByTagName("td");	for (j=0; j<citems.length; j++) {		// show/hide		if ('h' == citems[j].className) citems[j].className='hdisabled';		if ('en h' == citems[j].className) citems[j].className='en hdisabled';		if ('nl h' == citems[j].className) citems[j].className='nl hdisabled';				if ('sbi h translated' == citems[j].className) citems[j].className='sbi hdisabled';				if ('sbi h' == citems[j].className) {			// translate sbi			try {				var sbino = citems[j].innerHTML				var section = getSection(sbino.substring(0,2));				var hoofdsbi = getSBI(section + sbino);				var hoofdtext = makeSBIText(hoofdsbi,null,null,true);				citems[j].innerHTML = hoofdtext;				citems[j].className = 'sbi hdisabled';					} catch (e) {}		}	};/*var script		= document.getElementById('concern_structure_js');var viewname		= 'concernstructure';var view		= ViewBase.getView( viewname, 'concern_table', 'sort-table' );document.getElementById('concern_results').innerHTML= ( '' );r = getRows('concern_structure_js');view.rows = r;//view.setRowScript( script );document.getElementById('concern_results').innerHTML =  document.getElementById('concern_results_expand_collapse').innerHTML + view.toHTML();st1 = new SortableTable( document.getElementById('concern_table'), view.getSortDef() );document.getElementById('excelexportconcern').style.display='';set_active_link();*/}function collapse_concern(){	var mylist=document.getElementById("aandeelhouders")	var citems= mylist.getElementsByTagName("td")	for (i=0; i<citems.length; i++) {		if ('hdisabled' == citems[i].className) citems[i].className='h';		if ('sbi hdisabled' == citems[i].className) citems[i].className='sbi h translated';					};	if (document.getElementById('management')){ document.getElementById('management').style.display='';}	if (document.getElementById('managementhead')){ document.getElementById('managementhead').style.display='';}	var thead= mylist.getElementsByTagName("thead");	thead[0].style.display='none';	document.getElementById('concern_results').style.width='240px';	try {		document.getElementById('collapse_concern').style.display='none';		document.getElementById('expand_concern').style.display='';//		document.getElementById('excelexportconcern').style.display='none';	} catch(e) {}}// ***** CONCERNRELATIONS EIND *********function SortableTable(oTable, oSortTypes, noSortIcon) {//var t21 = (new Date()).getTime();	this.element = oTable;	this.tHead = oTable.tHead;	this.tBody = oTable.tBodies[0];	this.document = oTable.ownerDocument || oTable.document;	this.sortColumn = null;	this.descending = null;	var oThis = this;		this._windowOnClick			= function (e) { oThis.windowOnClick(e); };	this._headerOnClickDropdown	= function (e) { oThis.headerOnClickDropdown(e); };	this._listOnClick			= function (e) { oThis.listOnClick(e); };//	this._listOnMouseOut		= function (e) { oThis.listOnMouseOut(e); };//	this._listOnMouseOver		= function (e) { oThis.listOnMouseOver(e); };		// only IE needs this	var win = this.document.defaultView || this.document.parentWindow;	this._onUnload = function () {		oThis.destroy();	};	if (win && typeof win.attachEvent != "undefined") {		win.attachEvent("onunload", this._onUnload);	}//var t22 = (new Date()).getTime();	//if (!noSortIcon) this.initHeader(oSortTypes || []);	this.initHeader(oSortTypes,noSortIcon);//var t23 = (new Date()).getTime();	//this.cache = this.createCache();//var t24 = (new Date()).getTime();//window.status = 'time: ' + (t22-t21) + ' - ' + (t23-t22) + ' - ' + (t24-t23);	//this.setRange( 0, this.cache.length );	//this.from	= 0;	//this.to		= this.cache.length;}SortableTable.gecko = navigator.product == "Gecko";SortableTable.msie = /msie/i.test(navigator.userAgent);// Mozilla is faster when doing the DOM manipulations on// an orphaned element. MSIE is notSortableTable.removeBeforeSort = SortableTable.gecko;//SortableTable.removeBeforeSort = true;SortableTable.prototype.onSort = function () {};// adds arrow containers and events// also binds sort type to the header cells so that reordering columns does// not break the sort typesSortableTable.prototype.initHeaderOLD = function (oSortTypes) {	var cells = this.tHead.rows[0].cells;	var l = cells.length;	for (var i = 0; i < l; i++) {		var c = cells[i];		c.style.backgroundColor = "red";		c.setAttribute( "nowrap", "" );//		var img = this.document.createElement("span");//		img.className = "imgdd";		var html = "<table width=100%><tr><td>" + c.innerHTML + "</td><td width=1 class=imgdd></td></tr></table>";// u00a0 = utf8 &nbsp;//		var dummy = this.document.createTextNode("\u00a0\u00a0\u00a0\u00a0\u00a0");	//		img.appendChild(dummy);			c.innerHTML = html;				this.setEventListener( c, "click", this._headerOnClickDropdown );	//	this.setEventListener( img, "click", this._headerOnClickDropdown );		//if (typeof img.addEventListener != "undefined")		//	{ img.addEventListener("click", this._headerOnClickDropdown, false); }		//else if (typeof img.attachEvent != "undefined")		//	{ img.attachEvent("onclick", this._headerOnClickDropdown); }					if (oSortTypes[i] != null) {			c._sortType = oSortTypes[i];		}			}};SortableTable.prototype.initHeader = function (oSortTypes, noSortIcon) {	var cells = this.tHead.rows[0].cells;	var l = cells.length;	var img, c;	for (var i = 0; i < l; i++) {		c = cells[i];		//c.style.backgroundColor = "red";		c.setAttribute( "nowrap", "" );				if (!noSortIcon) {			img = this.document.createElement("span");			img.className = "imgddicon";		// u00a0 = utf8 &nbsp;			var dummy = this.document.createTextNode("\u00a0\u00a0\u00a0\u00a0");				img.appendChild(dummy);				c.appendChild(img);					this.setEventListener( c, "click", this._headerOnClickDropdown );		//if (typeof img.addEventListener != "undefined")		//	{ img.addEventListener("click", this._headerOnClickDropdown, false); }		//else if (typeof img.attachEvent != "undefined")		//	{ img.attachEvent("onclick", this._headerOnClickDropdown); }		}			if (oSortTypes[i] != null) {			c._sortType = oSortTypes[i];		}			}};/*SortableTable.prototype.listOnMouseOver = function (e){	var el = e.target || e.srcElement;	if ( el == this.list )		this.onList = true;};SortableTable.prototype.listOnMouseOut = function (e){	var el = e.target || e.srcElement;	if ( el == this.list )		this.onList = false;};*/SortableTable.prototype.listOnClick = function (e){	e = ( e == null ? event : e );	var el = e.target || e.srcElement;	if ( el == this.list ){		el.clicked = true;	}};SortableTable.prototype.headerOnClickDropdown = function (e) {		e = ( e == null ? event : e );		var img = e.target || e.srcElement;	//alert("h");			var newlist = this.createList( img );		if ( this.list != null )		{			if ( this.list == newlist )			{				this.destroyList( this.list );				//this.destroyList( newlist );			}			else			{				this.destroyList( this.list );				this.list = newlist;			}		}		else {			this.list = newlist;					}		if ( this.list != null ){			document.body.appendChild( this.list );				this.list.clicked = true;			this.setEventListener( this.list, "click", this._listOnClick );			this.setEventListener( document, "click", this._windowOnClick );		}		//e.cancelBubble = true;};SortableTable.prototype.windowOnClick = function (e) {//	alert("w");//	if ( this.oldList != null )//	{//		this.destroyList( this.oldList );//	}	if ( this.list != null ){		this.destroyList( this.list );	}};// IE returns wrong cellIndex when columns are hiddenSortableTable.getCellIndex = function (oTd) {	var cells = oTd.parentNode.childNodes;	var l = cells.length;	var i;	for (i = 0; cells[i] != oTd && i < l; i++){}	return i;};SortableTable.prototype.getSortType = function (nColumn) {	var cell = this.tHead.rows[0].cells[nColumn];	var val = cell._sortType;	if (val != ""){		return val;	}	return "String";};// only nColumn is required// if bDescending is left out the old value is taken into account// if sSortType is left out the sort type is found from the sortTypes arraySortableTable.prototype.sort = function (nColumn, bDescending, sSortType){	//alert( "sorting" );	if (sSortType == null){		sSortType = this.getSortType(nColumn);	}	// exit if None	if (sSortType == "None"){		return;	}		if (bDescending == null) {		if (this.sortColumn != nColumn){			this.descending = false;		}else {			this.descending = !this.descending;		}		} else {		this.descending = bDescending;	}			this.sortColumn = nColumn;	if (typeof this.onBeforeSort == "function"){		this.onBeforeSort();	}	var tBody	= this.tBody;	var f	= this.getSortFunction(sSortType, nColumn);	if ( this.cache == null ){		this.cache = this.createCache();		this.setRange( 0, this.cache.length );	}		var a = this.cache;	a.sort(f);	if (this.descending){		a.reverse();	}	if (SortableTable.removeBeforeSort) {		// remove from doc		var nextSibling = tBody.nextSibling;		var p = tBody.parentNode;		p.removeChild(tBody);	}	// insert in the new order	var l = a.length;	for (var i = 0; i < l; i++){		tBody.appendChild(a[i].row);	}	if (SortableTable.removeBeforeSort) {		// insert into doc		p.insertBefore(tBody, nextSibling);	}	//this.destroyCache(a);	this.display();	if (typeof this.onSort == "function"){		this.onSort();	}};SortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) {	var oThis = this;	this._asyncsort = function () {		oThis.sort(nColumn, bDescending, sSortType);	};	window.setTimeout(this._asyncsort, 1);};SortableTable.prototype.createCache = function () {	var rows		= this.tBody.rows;	var numrows	= rows.length;	var a		= new Array(numrows);	var r, s, numcols;var t31 = (new Date()).getTime();	for (var i = 0; i < numrows; i++)	{		r		= rows[i];		numcols	= r.childNodes.length;		a[i] = {			row:		r,			value:	new Array(numcols)		};		for ( var c=0; c<numcols; c++ )		{			s = this.getSortType( c );			a[i].value[c] =	this.getRowValue(r, s, c);			//alert( "value=" + a[i].value[c] + "  " + c + "  " + s );		}	}var t32 = (new Date()).getTime();//window.status = 'time: ' + (t32-t31);	a.filter = new Array( numcols );	a.from	= 0;	a.to		= numrows;	return a;};SortableTable.prototype.doCreateCache = function () {	this.cache = this.createCache();};SortableTable.prototype.destroyCache = function (oArray) {	if ( oArray == null ){		return;	}	var l = oArray.length;	for (var i = 0; i < l; i++)	{		for ( var c=0; c<oArray[i].value.length; c++ ){			oArray[i].value[c] = null;		}		oArray[i].row	= null;		oArray[i].value	= null;		oArray[i]			= null;	}};SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {	var s;	var c = oRow.cells[nColumn];//	if (typeof c.innerText != "undefined")//		s = c.innerText;//	else		s = SortableTable.getInnerText(c);	return this.getValueFromString(s, sType);};SortableTable.getInnerText = function (oNode) {	var s = "";	switch (oNode.nodeType)	{		case 1: //ELEMENT_NODE			if ( oNode.childNodes[0] != null ){				s = SortableTable.getInnerText(oNode.childNodes[0]);			} else {				s = oNode.nodeValue;			}			break;		case 3:	//TEXT_NODE				s = oNode.nodeValue;			break;	}	return s;};SortableTable.prototype.getValueFromString = function (sText, sType) {	if ( sText == null ){		return sText;	}			switch (sType) {		case "Number":			sText = sText.replace(/[\.,]/g,'');			return Number(sText);		case "CaseInsensitiveString":			return sText.toUpperCase();		case "Date":			var parts = sText.split("-");			var d = new Date(0);			d.setDate(parts[0]);			d.setMonth(parts[1] - 1);			d.setFullYear(parts[2]);			return d.valueOf();	}	return sText;};SortableTable.prototype.getSortFunction = function (sType, nColumn) {	return function compare(n1, n2) {		var a = n1.value[nColumn];		var b = n2.value[nColumn];				a = ( a == null ? "" : a );		b = ( b == null ? "" : b );						if (a < b){			return -1;		}		if (b < a){			return 1;		}		return 0;	};};SortableTable.prototype.destroy = function () {	//this.uninitHeader();	var win = this.document.parentWindow;	if (win && typeof win.detachEvent != "undefined") {	// only IE needs this		win.detachEvent("onunload", this._onUnload);	}	this.destroyCache( this.cache );	this.cache		= null;	this.destroyCache	= null;	this._onUnload		= null;	this.element		= null;	this.tHead		= null;	this.tBody		= null;	this.document		= null;	this._headerOnclick	= null;	this._windowOnclick	= null;	this._listOnclick	= null;	this.sortTypes		= null;	this._asyncsort	= null;	this.onSort		= null;			};SortableTable.prototype.findPosX = function (obj){	var curleft = 0;	if (obj.offsetParent) {		while (obj.offsetParent) 	{			curleft += obj.offsetLeft ;			obj = obj.offsetParent;		}	}else {		if (obj.x){			curleft += obj.x;		}	}			return curleft;};SortableTable.prototype.findPosY = function (obj){	var curtop = 0;	if (obj.offsetParent){		while (obj.offsetParent)	{			curtop += obj.offsetTop;			obj = obj.offsetParent;		}	} else { 		if (obj.y){			curtop += obj.y;		}	}		return curtop;};SortableTable.prototype.makeUniqueList = function( nColumn ){	if ( this.cache == null ) {		this.cache = this.createCache();		this.setRange( 0, this.cache.length );	}	var a 		= this.cache;	var list		= new Array();	var last_value	= null;	var n		= 0;	var sType		= this.getSortType( nColumn );	var f		= this.getSortFunction( sType, nColumn );	a.sort( f );		for ( var i=0; i<a.length; i++) {		if ( a[i].value[nColumn] != last_value ){			list[n++] = {				value:	a[i].value[nColumn],				text:	SortableTable.getInnerText( a[i].row.childNodes[nColumn] )			};			last_value	= a[i].value[nColumn];		}	}		return list;};	SortableTable.prototype.destroyList = function( list ){	if ( list.clicked ){		list.clicked = false;	} else {		try {			document.body.removeChild( list );		} catch(e) {			//alert();		}				if ( list == this.oldList ){			this.oldList	= null;		}		if ( list == this.list ){			this.list		= null;		}	}};SortableTable.prototype.createList = function( img ){	var el;		// find TD element	var td = img.parentNode;	while (td.tagName != "TD"){		td = td.parentNode;	}	var x		= this.findPosX(td);	var y		= this.findPosY(td);	var w		= td.offsetWidth;	var h		= 150;	var h_space	= td.offsetHeight;	var nColumn	= SortableTable.msie ? SortableTable.getCellIndex(td) : td.cellIndex;	el = img.list;		if ( el == null )	{		var rows = this.tBody.rows;		var sortType = this.getSortType(nColumn);		var list = this.makeUniqueList( nColumn );			el = this.document.createElement("div");			// append ascending/descending, hr and (all)		var a = this.document.createElement("div");		a.table = this;		var a1 = this.document.createElement("span"); a1.className="en"; a1.appendChild( document.createTextNode("sort ascending"));		var a2 = this.document.createElement("span"); a2.className="nl"; a2.appendChild( document.createTextNode("oplopend"));		a.appendChild( a1 );		a.appendChild( a2 );		a.onclick		= function() { this.table.sort( nColumn, false ); this.className = ""; };		a.onmouseover	= function() { this.className = "sort-table-list-selected"; };		a.onmouseout	= function() { this.className = ""; };		el.appendChild( a );		var b		= this.document.createElement("div");		b.table		= this;		var b1 = this.document.createElement("span"); b1.className="en"; b1.appendChild( document.createTextNode("sort descending"));		var b2 = this.document.createElement("span"); b2.className="nl"; b2.appendChild( document.createTextNode("aflopend"));		b.appendChild( b1 );		b.appendChild( b2 );		b.onclick		= function() { this.table.sort( nColumn, true ); this.className = ""; };		b.onmouseover	= function() { this.className = "sort-table-list-selected"; };		b.onmouseout	= function() { this.className = ""; };		b.style.borderBottom = "solid 1px black";		el.appendChild( b );		var c = this.document.createElement("div");		c.table = this;		c.appendChild( document.createTextNode("(All)") );		c.onclick		= function() { this.table.setFilter( nColumn, null ); this.className = ""; };		c.onmouseover	= function() { this.className = "sort-table-list-selected"; };		c.onmouseout	= function() { this.className = ""; };		el.appendChild( c );			// get the unique elements from the selected columns		for( var i=0; i<list.length; i++)		{			var d 		= this.document.createElement("div");			d.table		= this;			d.value		= list[i].value;			d.appendChild( document.createTextNode( list[i].text ) );			d.onclick		= function() { this.table.setFilter( nColumn, this.value ); this.className = ""; };			d.onmouseover	= function() { this.className = "sort-table-list-selected"; };			d.onmouseout	= function() { this.className = ""; };			el.appendChild( d );		}				img.list = el;	}		el.className		= "sort-table-list";	el.style.position	= "absolute";	el.style.left		= x;	el.style.top		= y;	el.style.width		= Math.max(120,w);	el.style.height	= h;	el.style.marginTop	= h_space;	el.style.border	= "solid 1px black";	el.style.overflow	= "auto";		//document.body.appendChild( el );	return el;};SortableTable.prototype.setFilter = function( nColumn, value ){	this.cache.filter[ nColumn ] = value;		var th = this.tHead.rows[0].cells[nColumn];		if ( value != null )	{		th.className = "sort-table-filtered";		//th.style.color = "red";	}	else	{		th.className = "";		//th.style.color = "";	}				this.display();};SortableTable.prototype.display = function(){	var cache		= this.cache;	var filtered	= false;	var from, to;		for ( var f=0; f<cache.filter.length; f++ )	{		if ( cache.filter[ f ] != null )		{			filtered = true;			break;		}	}	from	= this.from;	to		= this.to;	if ( filtered )	{		for ( var r=from; r<to; r++ )		{			var show	= true;			for ( var f=0; f<cache.filter.length; f++ )			{				if ( cache.filter[ f ] != null )	{					if ( cache[r].value[f] != cache.filter[ f ] ){						show = false;					}				}			}			if ( show ){				cache[r].row.style.display = "";			} else {				cache[r].row.style.display = "none";			}		}	}	else	// not filtered	{		for ( var r=0; r<cache.length; r++ )		{			if ( r>=from && r<to ){				cache[r].row.style.display = "";			} else  {				cache[r].row.style.display = "none";			}		}	}		//this.showSplitter();};SortableTable.prototype.getFilteredCount = function(){	var cache		= this.cache;	var filtered	= false;	var from, to, count = 0;		for ( var f=0; f<cache.filter.length; f++ ){		if ( cache.filter[ f ] != null ){			filtered = true;			break;		}	}	from	= 0;	to		= cache.length;	if ( filtered ){		for ( var r=from; r<to; r++ ){			var show	= true;			for ( var f=0; f<cache.filter.length; f++ ){				if ( cache.filter[ f ] != null ){					if ( cache[r].value[f] != cache.filter[ f ] ){						show = false;					}				}			}			if ( show ){				count++;			}		}	}	else	// not filtered	{		count = cache.length;	}		return count;};SortableTable.prototype.setRange = function( from, to ){	this.from	= from;	this.to		= to;};SortableTable.prototype.setEventListener = function( obj, event, f ){	eval( "obj.on"  + event + " = function(e) { f(e); };" );	//eval( "obj.on"  + event + " = f;" );};//************************************************ company form********************************function alternate(id){  if((document.getElementsByTagName) && (document.getElementById(id) != null))  {    var table = document.getElementById(id);    var rows = table.getElementsByTagName("tr");    for(var i=0; i < rows.length; i++) {      if (rows[i].className)  {        rows[i].className = "";      }  else {        //manipulate rows        if(i % 2 == 0){          rows[i].className = "even";        }else{          rows[i].className = "odd";        }      }    }  }}// functions for the graphsfunction Graph( el ){	this.el = el;}Graph.prototype.setValues = function( val1, val2, val3, val4, val5 ){	this.val1 = val1;	this.val2 = val2;	this.val3 = val3;	this.val4 = val4;	this.val5 = val5;};Graph.prototype.setLabels = function( label1, label2, label3, label4, label5 ){	this.label1 = label1;	this.label2 = label2;	this.label3 = label3;	this.label4 = label4;	this.label5 = label5;};Graph.prototype.numberToLocaleString = function( i ){	var s = i.toLocaleString();	var l = s.length;	return l<3 ? s :		s.charAt(l-3)==',' || s.charAt(l-3)=='.' ? s.substring(0, l-3) : s;};Graph.prototype.draw = function(){	var height=200;	var yas, maxh, freetop=15, freebot=0;	var val_min, val_max, val_dlt;	var h1, h2, h3, h4, h5;	var y1, y2, y3, y4, y5;	var t1, t2, t3, t4, t5;		val_min = Math.min( this.val1, Math.min(this.val2, Math.min(this.val3, Math.min(this.val4, this.val5))));	val_max = Math.max( this.val1, Math.max(this.val2, Math.max(this.val3, Math.max(this.val4, this.val5))));	//val_dlt = Math.abs( val_max-val_min );	val_dlt = Math.abs(val_max) + (val_min<0 ? Math.abs(val_min) : 0);	val_dlt = val_dlt == 0 ? 1 : val_dlt;	freebot = val_min<0 ? 5  :  0;	maxh    = height - freetop - freebot;	h1 = Math.round( (this.val1/val_dlt)*maxh );	h2 = Math.round( (this.val2/val_dlt)*maxh );	h3 = Math.round( (this.val3/val_dlt)*maxh );	h4 = Math.round( (this.val4/val_dlt)*maxh );	h5 = Math.round( (this.val5/val_dlt)*maxh );		// minimale hoogte instellen indien value bijna 0		h1 = ( this.val1 == 0 ? 0 : this.val1>0 ? Math.max(3,h1) : Math.min(-3,h1) );	h2 = ( this.val2 == 0 ? 0 : this.val2>0 ? Math.max(3,h2) : Math.min(-3,h2) );	h3 = ( this.val3 == 0 ? 0 : this.val3>0 ? Math.max(3,h3) : Math.min(-3,h3) );	h4 = ( this.val4 == 0 ? 0 : this.val4>0 ? Math.max(3,h4) : Math.min(-3,h4) );	h5 = ( this.val5 == 0 ? 0 : this.val5>0 ? Math.max(3,h5) : Math.min(-3,h5) );		yas = Math.abs( val_min<0 ? val_min : 0 );	yas = Math.round( (yas/val_dlt)*maxh );	yas = yas + freebot;	y1 = yas + Math.min(0,h1);	y2 = yas + Math.min(0,h2);	y3 = yas + Math.min(0,h3);	y4 = yas + Math.min(0,h4);	y5 = yas + Math.min(0,h5);		// bartitle	t1 = this.numberToLocaleString( this.val1 );	t2 = this.numberToLocaleString( this.val2 );	t3 = this.numberToLocaleString( this.val3 );	t4 = this.numberToLocaleString( this.val4 );	t5 = this.numberToLocaleString( this.val5 );		//alert( 'yas:'+yas+' maxh:'+maxh+' freebot:'+freebot);	var html = '<UL id=q-graph>' +                   '  <LI class=qtr id=q1>' + this.label1 + '<UL>' +                   '    <LI class="sent bar ' + (h1<0 ? 'negative' : 'positive') + '" style="position:absolute; height:' + Math.abs(h1) + 'px; bottom:' + y1 + 'px;" title="' + t1 + '">' +                   '    <P></P></LI></UL></LI>' +                   '  <LI class=qtr id=q2>' + this.label2 + '<UL>' +                   '    <LI class="sent bar ' + (h2<0 ? 'negative' : 'positive') + '" style="position:absolute; height:' + Math.abs(h2) + 'px; bottom:' + y2 + 'px;" title="' + t2 + '">' +                   '    <P></P></LI></UL></LI>' +                   '  <LI class=qtr id=q3>' + this.label3 + '<UL>' +                   '    <LI class="sent bar ' + (h3<0 ? 'negative' : 'positive') + '" style="position:absolute; height:' + Math.abs(h3) + 'px; bottom:' + y3 + 'px;" title="' + t3 + '">' +                   '    <P></P></LI></UL></LI>' +                   '  <LI class=qtr id=q4>' + this.label4 + '<UL>' +                   '    <LI class="sent bar ' + (h4<0 ? 'negative' : 'positive') + '" style="position:absolute; height:' + Math.abs(h4) + 'px; bottom:' + y4 + 'px;" title="' + t4 + '">' +                   '    <P></P></LI></UL></LI>' +                   '  <LI class=qtr id=q5>' + this.label5 + '<UL>' +                   '    <LI class="sent bar ' + (h5<0 ? 'negative' : 'positive') + '" style="position:absolute; height:' + Math.abs(h5) + 'px; bottom:' + y5 + 'px;" title="' + t5 + '">' +                   '    <P></P></LI></UL></LI>' +                   '  <LI id=ticks>' +                   '    <DIV class=tick style="height:40px;"><P></P></DIV>' +                   '    <DIV class=tick style="height:40px;"><P></P></DIV>' +                   '    <DIV class=tick style="height:40px;"><P></P></DIV>' +                   '    <DIV class=tick style="height:40px;"><P></P></DIV>' +                   '  </LI>' +                   '  <DIV class="x-as" style="bottom:' + (yas-1) + 'px;"><P></P></DIV>' +                   '</UL>';	this.el.innerHTML = html;};function do_benchmark(){	var url = '/benchmark/';	var cbs = document.getElementsByName('benchmark');	var ids;	var num = 0;	for ( var i=0; i<cbs.length; i++ )	{		var cb = cbs[i];		if ( cb.checked )		{			url += cb.value + ';';			num++;		}	}	if ( num > 1 ){		return window.open( url, '_blank' );	} else {		alert( 'You should select at least 2 companies to benchmark.\n\nU moet tenminste 2 bedrijven selecteren voor de benchmark.' );	}	return null;}//************************************************ searchorganisation en searchpeople ********************************var did_dropdown = false;var on_dropdown = false;//var open_dropdown = 0;function do_dropdown( name ){	dd = document.getElementById( name );	dds =dd.style.display;		for ( var i=0; i<allDDs.length; i++ ){			close_dropdown( allDDs[i] );	}	if( dds=='none'  || dds=='' ){			dd.style.display='inline';		on_dropdown = true;	} else {		dd.style.display='none';		on_dropdown = false;	}	did_dropdown = true;}function open_dropdown( name ){	dd = document.getElementById( name );	if (dd) {dd.style.display='inline';}}function close_dropdown( xname ){	xdd = document.getElementById( xname );	if (xdd) {xdd.style.display='none';}}function is_dropdown_open( name ){	dd = document.getElementById( name );	return dd.style.display == 'inline';}function f_F_box( cbox, tList ){debugger			var id = ("countryList" == tList || "banksList" == tList  || "rvList" == tList  || "empList" == tList ) ? cbox.id : cbox.value;			var tval = cbox.value;			if (cbox.checked) {				$.TokenList.insert_token_e(id,tval,tList);			} else {				$.TokenList.delete_token_e(id,tList)			}}/*function f_F( name ){	//alert(name);	fields = document.getElementsByName( name );	disp = document.getElementById( 'Display' + name );		if ( fields == null || disp == null ){		return;	}	disp.innerHTML='';	for ( var i=0; i<fields.length; i++ ){		cbox = fields[i];		//alert('checking' + cbox.value);		if (cbox.checked) 	{			val = '\'' + cbox.value + '\'';			disp.innerHTML= (disp.innerHTML=='' ? val : disp.innerHTML+ ', ' + val);		}	}}function f_R( name ){	//alert(name);	fields = document.getElementsByName( name );	disp = document.getElementById( 'Display' + name );		if ( fields == null || disp == null ){		return;	}	disp.innerHTML='';	for ( var i=0; i<fields.length; i++ ){		cbox = fields[i];		if (cbox.checked)	{			val = '\'' + cbox.parentNode.lastChild.data + '\'';			disp.innerHTML= (disp.innerHTML=='' ? val : disp.innerHTML+ ', ' + val);		}	}}function f_S( name ){	//alert(name);	var fields	= document.getElementsByName( name );	var disp		= document.getElementById( 'Display' + name );		if ( fields == null || disp == null ){		return;	}	disp.innerHTML='';	for ( var i=0; i<fields.length; i++ ){		var cbox = fields[i];		//alert('checking' + cbox.value);		if (cbox.checked)	{			var key		= cbox.value;			var sector	= getSector( key );			var val		=	'<span class="en">' + sector.en + '</span>' +							'<span class="nl">' + sector.nl + '</span>';			disp.innerHTML= (disp.innerHTML=='' ? val : disp.innerHTML+ ', ' + val);			//alert( key + ' = '  + val );		}	}}*/function f_S_box(cbox,tList){	//alert(name);	debugger			var key		= cbox.value;			var sbi;			//			if ("S" == name) { sbi = getSector( key );} else { sbi	= getSBI( key );}	// added check on key (zouden we 2 JS functies kunnen mergen) VS 20091024			// ===================================NOTE sector toevoegen en verschil maken tussen en en nl======================================			var sbi	= getSector( key );			if (cbox.checked) {				$.TokenList.insert_token_e(key,key+' ' + sbi.nl,tList);			} else {				$.TokenList.delete_token_e(key,tList)			}			//alert( key + ' = '  + val );//		}//	}}// ================================================================================// documentation moved to views.js.documentation page// ================================================================================// Abstract class 'ViewBase'// This is the base for every view that extends this class// There is normally no need to change this class !!!!!!// ================================================================================function ViewBase(){	this.coldef	= null;	this.sortdef	= null;	this.header	= null;	this.rows		= null;	this.htmlcache	= new Array();	this.rowcache	= new Array();}ViewBase.getView = function( viewname, id, classname ){	if ( viewname == 'vieworganisations' ){		return new ViewOrganisations( id, classname );	}	if ( viewname == 'viewturnover' ){		return new ViewTurnover( id, classname );	}	if ( viewname == 'viewindustry' ){		return new ViewIndustry( id, classname );	}	if ( viewname == 'viewprofit' ){		return new ViewProfit( id, classname );	}	if ( viewname == 'viewemployees' ){		return new ViewEmployees( id, classname );	}	if ( viewname == 'viewregions' ){		return new ViewRegions( id, classname );	}	if ( viewname == 'viewsectors' ){		return new ViewSectors( id, classname );	}	if ( viewname == 'viewdsectors' ){		return new ViewDSectors( id, classname );	}			if (viewname == 'viewexchanges' ) {		return new ViewExchanges ( id, classname );	}	if ( (viewname == 'viewcountry' ) ||	(viewname == 'viewprovince' ) ||	(viewname == 'viewbusinesscentres' )	){		return new ViewCountry( id, classname );	}	if ( viewname == 'viewreports' ){		return new ViewReports( id, classname );	}	if ( viewname == 'ads' ){		return new Ads ( id, classname );	}	if ( viewname == 'viewprospecti' ){		return new ViewProspecti( id, classname );	}	if ( viewname == 'searchprospecti' ){		return new SearchProspecti( id, classname );	}			if ( viewname == 'searchorganisations'  || viewname == 'searchorganisationsviewhome' || viewname=='jssohome'  || viewname=='jsso'){		return new SearchOrganisations( id, classname );	}	if ( viewname == 'searchreports' ){		return new SearchReports( id, classname );	}	if ( viewname == 'searchpeople' ){		return new SearchPeople( id, classname );	}	if ( viewname == 'bankruptcylist' || viewname == 'bankruptcy'  ){		return new bankruptcylist ( id, classname );	}	if ( viewname == 'compliancelist' ){		return new compliancenew ( id, classname );	}			if ( viewname == 'compliance' ){		return new compliance ( id, classname );	}		if (viewname == 'mdinfolist' || viewname =='mdinfo'){		return new mdinfo(id, classname);	}		if ( viewname == 'newslist' || viewname == 'news' ){		return new news ( id, classname );	}			if ( viewname == 'rechtspraaklist'  || viewname == 'rechtspraak' ){		return new rechtspraak ( id, classname );	}	if ( viewname == 'researchlist' || viewname == 'research'     || viewname == 'researchlistedit' ){		return new research ( id, classname );	}	if ( viewname == 'viewresearchbysector' ){		return new ViewResearchBySector ( id, classname );	}			if ( viewname == 'viewnews' ){		return new viewnews ( id, classname );	}	if ( viewname == 'viewnewscategory' ){		return new viewnewscategory ( id, classname );	}				if ( viewname == 'viewpressreleasesbycompany' ){		return new viewpressreleasesbycompany ( id, classname );	}	if ( viewname == 'viewportfolio' ){		return new ViewPortfolio( id, classname );	}	if ( viewname == 'searchdutch2english' ){		return new SearchDutch2English( id, classname );	}	if ( viewname == 'searchenglish2dutch' ){		return new SearchEnglish2Dutch( id, classname );	}	if ( viewname == 'viewjaarverslag' ){		return new ViewJaarverslag( id, classname );	}		if ( viewname == 'viewpensionfunds' ){		return new ViewPensionfunds( id, classname );	}			if ( viewname == 'viewpensionfundsbyregion' ){		return new ViewPensionfundsByRegion( id, classname );	}		if ( viewname == 'viewpensionfundPartners' ){		return new ViewPensionfundPartners( id, classname );	}			// default	return null;};ViewBase.prototype.setColumnDef = function( coldef ){	this.coldef	= coldef;};ViewBase.prototype.getColumnDef = function(){	return this.coldef;};ViewBase.prototype.setSortDef = function( sortdef ){	this.sortdef	= sortdef;};ViewBase.prototype.getSortDef = function(){	return this.sortdef;};ViewBase.prototype.setHeader = function( header ){	this.header	= header; };ViewBase.prototype.getHeader = function(){	return this.header;};ViewBase.prototype.setRowScript = function( script ){	if ( script == null || script.value == '<h2>No documents found<\/h2>' )	{		document.write( '<span class=en>No documents found<\/span>' +						'<span class=nl>Geen documenten gevonden<\/span>' );	} else {			eval( script.value.replace( /\r|\n/gi, '') );			if ( script.length == 0 ) {					document.write('<span class=en>No documents found<\/span>' +'<span class=nl>Geen documenten gevonden<\/span>' );			} else {			// rare foutmelding hier. uitzoeken!!					this.rows = r;			}	}};	ViewBase.prototype.toHTML = function(){	var c = this.htmlcache;		var r = this.rows;		c.length = 0;	c.push( '<table class="' + this.classname + '" id="' + this.id + '" cellspacing="0" width="100%">' );	c.push( this.getColumnDef() );	c.push( this.getHeader() );	c.push( '<tbody>' );	if (r instanceof Array){		for ( var i=0; i<r.length; i++ ){			c.push( this.RowToHTML(r[i]) );		}	}	c.push( '</tbody>' );	c.push( '</table>' );	return c.join( '' );};// subclasses MUST overrule this function !!!!!ViewBase.prototype.RowtoHTML = function( row ){	return "<tr><td>not implemented</td></tr>";};// ============================================================================ class 'ViewOrganisations'function ViewOrganisations( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewOrganisations.prototype = new ViewBase();ViewOrganisations.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );};// ============================================================================class 'ViewTurnover'function ViewTurnover( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col align="right" valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Number', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Omzet (&euro;) </span><span class=en>Turnover (&euro;) </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewTurnover.prototype = new ViewBase();ViewTurnover.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeNumber( row.to ) );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );	return c.join( '' );}// ==========================================================================class 'ViewProfit'function ViewProfit( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col align="right" valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Number', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Winst (&euro;) </span><span class=en>Profit (&euro;) </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewProfit.prototype = new ViewBase();ViewProfit.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeNumber( row.pr ) );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// ===========================================================class 'ViewEmployees'function ViewEmployees( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col align="right" valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Number', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Werknemers </span><span class=en>Employees </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewEmployees.prototype = new ViewBase();ViewEmployees.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeNumber( row.em ) );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// ==============================================================class 'ViewRegions'function ViewRegions( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie</span><span class=en>Organisation</span></td>' +					'<td><span class=nl>Hoofd Sector</span><span class=en>Main Sector</span></td>' +					'<td nowrap><span class=nl>Omzet (&euro;)</span><span class=en>Turnover (&euro;)</span></td>' +					'<td><span class=nl>Accountant</span><span class=en>Auditor</span></td>' +				'</tr></thead>' );}ViewRegions.prototype = new ViewBase();ViewRegions.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( '<td align=left>' +row.se  );	c.push( makeNumber( row.to ) );	c.push( makeText( row.au ) );	c.push( '</tr>' );		return c.join( '' );}// ==========================================================class 'ViewSectors'function ViewSectors( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Number', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Omzet (&euro;)</span><span class=en>Turnover (&euro;)</span></td>' +					'<td width=100%><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Accountant </span><span class=en>Auditor </span></td>' +					'<td><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewSectors.prototype = new ViewBase();ViewSectors.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeNumber( row.to ) );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeLeftText( row.au ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// ==========================================================class 'ViewDSectors'function ViewDSectors( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie</span><span class=en>Organisation</span></td>' +					'<td nowrap><span class=nl>Omzet (&euro;)</span><span class=en>Turnover (&euro;)</span></td>' +					'<td><span class=nl>Accountant</span><span class=en>Auditor</span></td>' +				'</tr></thead>' );}ViewDSectors.prototype = new ViewBase();ViewDSectors.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeNumber( row.to ) );	c.push( makeLeftText( row.au ) );	c.push( '</tr>' );		return c.join( '' );}// ============================================================class 'ViewCountry'function ViewCountry( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td nowrap align=right><span class=nl>Omzet (&euro;) </span><span class=en>Turnover (&euro;) </span></td>' +					'</tr></thead>' );}ViewCountry.prototype = new ViewBase();ViewCountry.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	//c.push( makeSector( row.bc ) );	c.push( makeNumber( row.to ) );	c.push( '</tr>' );		return c.join( '' );}// ============================================================class 'ViewExchanges'function ViewExchanges( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td nowrap align=right><span class=nl>Omzet (&euro;) </span><span class=en>Turnover (&euro;) </span></td>' +								'<td nowrap align=right><span class=nl>Land </span><span class=en>Country </span></td>' +					'</tr></thead>' );}ViewExchanges.prototype = new ViewBase();ViewExchanges.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	//c.push( makeSector( row.bc ) );	c.push( makeNumber( row.to ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// =========================================================class 'ViewReports'function ViewReports( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'none', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Jaar</span><span class=en>Year</span></td>' +					'<td colspan="2" style="padding-right: 20px; padding-left:15px"><span class=nl>Verslag </span><span class=en>Report </span></td>' +					'<td  style="padding-right:20px"><span class=nl>Accountant </span><span class=en>Accountant </span></td>' +				'</tr></thead>' );}ViewReports.prototype = new ViewBase();ViewReports.prototype.RowToHTML = function( row ){	var c  = this.rowcache;	var ys = row.dt.getFullYear();		// empty the cache	c.length = 0;	c.push( '<tr>' );	//c.push( makeRightText( '\'' + ys.substring(ys.length-2) ) );	c.push( makeLeftText(ys ) );		var title = 'file size: ' + row.mb + ' Mb';	var text	= row.na ? row.na : row.url.substring(row.url.lastIndexOf('/')+1, row.url.length-4).replace(/_/g, ' <wbr>' );	if ( row.url ) {		 text	= row.na ? row.na : row.url.substring(row.url.lastIndexOf('/')+1, row.url.length-4).replace(/_/g, ' <wbr>' );		//var icon	= row.url.indexOf('excel')>=0 ? 'xls.gif' : row.url.substr(row.url.length-3).toLowerCase() + '.gif';		//var img   = '<img src="/' + icon + '" alt="' + title + '">';		//var icon	= row.url.indexOf('excel')>=0 ? 'xls' : row.url.substr(row.url.length-3).toLowerCase();		var icon	= row.url.indexOf('excel')>=0 ? '/xls.gif' : '/pdf.gif';		//var img   = '<img src="' +icon+'" alt="'+title +'" />';				//c.push( '<td style="width:16px;padding-left:15px"><a target=\"_blank\" href="' + row.url + '" title="' + title + '">' + img + '</a>' );		//c.push( '<td style="width:16px;padding-left:15px"><a target=\"_blank\" href="' + row.url + '" title="' + title + '"><img src="/pdf.gif"  height="16" width="16"/></a>' );		c.push( '<td style="width:16px;padding-left:15px"><a target=\"_blank\" href="' + row.url + '" title="' + title + '"><img src="' + icon + '"  height="16" width="16"/></a>' );		c.push( '<td><a target=\"_blank\" href="' + row.url + '" title="' + title + '">' + text + '</a>' );		c.push( makeText(row.au) );	} else {		c.push('<td style="padding-left:15px" colspan=3>' + row.na);	}	c.push( '</tr>' );		return c.join( '' );}// ========================================================== class 'SearchOrganisations'function SearchOrganisations( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number','CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Omzet </span><span class=en align=right>Turnover </span></td>' +					'<td align=right><span class=nl>Werkn. </span><span class=en>Employ. </span></td>' +					'<td><span class=nl>Plaats </span><span class=en>City </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}SearchOrganisations.prototype = new ViewBase();SearchOrganisations.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrlNoWrap( row.db, row.id, row.na ) );	c.push( makeSector( row.se ) );	c.push( makeNumber( row.to ) );	c.push( makeRightText( row.em ) );	//c.push( makeNumber( row.em ) ); moet rekening houden met klasse 2-4 etc	c.push( makeLeftTextNoWrap( row.ci ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// =========================================================class 'SearchReports'function SearchReports( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Verslag </span><span class=en>Report </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td align=right><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}SearchReports.prototype = new ViewBase();SearchReports.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeTextNoWrap( row.rt ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );		return c.join( '' );}// ========================================================class 'ViewProspecti'function ViewProspecti( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'Date'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td nowrap><span class=nl>Verslag </span><span class=en>Report </span></td>' +					'<td nowrap><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td  nowrap align=right><span class=nl>Land </span><span class=en>Country </span></td>' +					'<td align=right><span class=nl>Datum </span><span class=en>Date </span></td>' +				'</tr></thead>' );}ViewProspecti.prototype = new ViewBase();ViewProspecti.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( row.db, row.id, row.na ) );	c.push( makeTextNoWrap( row.rt ) );	c.push( makeSector( row.se ) );	c.push( makeRightText( row.co ) );	c.push( makeTextNoWrap( row.dt ) );	c.push( '</tr>' );		return c.join( '' );}// ==================================================class 'SearchProspecti'function SearchProspecti( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Datum</span><span class=en>Date</span></td>' +					'<td nowrap><span class=nl>Organisatie</span><span class=en>Organisation</span></td>' +					'<td nowrap><span class=nl>Omscrijving</span><span class=en>Description</span></td>' +					'<td nowrap><span class=nl>Type</span><span class=en>Type</span></td>' +					'<td nowrap><span class=nl>Bron</span><span class=en>Source</span></td>' +					'<td nowrap><span class=nl>ISIN</span><span class=en>ISIN</span></td>' +					'<td nowrap><span class=nl>Bestand</span><span class=en>File</span></td>' +				'</tr></thead>' );}SearchProspecti.prototype = new ViewBase();SearchProspecti.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeTextNoWrap( row.dt ) );	c.push( makeLeftText( row.na ) );	c.push( makeLeftText( row.om ) );	c.push( makeLeftText( row.ty ) );	c.push( makeLeftText( row.br ) );	c.push( makeText( row.is ) );	c.push( makeText( row.ex ) );	c.push( '</tr>' );		return c.join( '' );}// ===============================================class 'Ads'function Ads( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td nowrap><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td nowrap><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td nowrap><span class=nl>Omschrijving </span><span class=en>Description </span></td>' +					'<td nowrap><span class=nl>Type </span><span class=en>Type </span></td>' +					'<td nowrap><span class=nl>Bron </span><span class=en>Source </span></td>' +					'<td nowrap><span class=nl>ISIN </span><span class=en>ISIN </span></td>' +				'</tr></thead>' );}Ads.prototype = new ViewBase();Ads.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeTextNoWrap( row.dt ) );	c.push( makeLeftText( row.na ) );	//c.push( makeUrl( 'prospect.nsf/', row.id, row.om ) +'#view=fitV' );	c.push( makeUrl( 'prospect.nsf', row.id, row.om ) );	//c.push( makeLeftText( row.om ) );	c.push( makeLeftText( row.ty ) );	c.push( makeLeftText( row.br ) );	c.push( makeText( row.is ) );	//c.push( makeText( row.ex ) );	c.push( '</tr>' );		return c.join( '' );}// ===========================================================class 'news'function news( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td style=\"padding-left:15px\"><span class=nl>Nieuws </span><span class=en>News </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +				'</tr></thead>' );}news.prototype = new ViewBase();news.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeDate( row.dt ) );	c.push( '<td  style=\"padding-left:15px\" valign=top ><p><a href="/pressrelease/' + row.li + '">' +		'<span class="nl">' + (row.nl=='' ? row.en : row.nl ) + 		'</span><span class="en">' + (row.en=='' ? row.nl : row.en ) +		'</span></a>' +row.te +'</p>' );		c.push( '<td><a href="/id/' + row.id + '">' + row.na + '</a>' );	c.push( '</tr>' );		return c.join( '' );}// ===========================================================class 'viewnews' voor publicaties (o.a. /my)function viewnews( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Type </span><span class=en>Type </span></td>' +					'<td><span class=nl>Nieuws </span><span class=en>News </span></td>' +				'</tr></thead>' );}viewnews.prototype = new ViewBase();viewnews.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr valign=top>' );	c.push( makeTextNoWrap( row.dt ) );	c.push('<td><a href=\"/id/' +row.id + '\">' + row.na + '</a>');	c.push( makeLeftText( row.ty ) );	c.push( makeLeftText( row.om ) );	c.push( '</tr>' );		return c.join( '' );}// =======================================================class 'viewnewscategory' voor publicatiesfunction viewnewscategory( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Nieuws </span><span class=en>News </span></td>' +				'</tr></thead>' );}viewnewscategory.prototype = new ViewBase();viewnewscategory.prototype.RowToHTML = function( row ){	var c = this.rowcache;// Test Erwin Verwoerd //	var url = (row.nw ? 'https://server.db.kvk.nl/TST-BIN/FU/TSWS001@?BUTT=' : '/id/') + row.nr;	var url = '/id/' + row.nr;	// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeDate( row.dt ) );	c.push( '<td><a href="' + url + '">' + row.na + '</a>' );	c.push( makeLeftText( row.om ) );	c.push( '</tr>' );		return c.join( '' );}// =======================================================class 'viewpressreleasesbycompany'function viewpressreleasesbycompany ( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td style=\"padding-left:15px\"><span class=nl>Nieuws </span><span class=en>News </span></td>' +				'</tr></thead>' );}viewpressreleasesbycompany.prototype = new ViewBase();viewpressreleasesbycompany.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeDate( row.dt ));	if ( (typeof selectedPressLink != 'undefined') && (row.li == selectedPressLink) )		c.push( '<td style=\"padding-left:15px\" valign=top ><p><span class="nl">' + (row.nl=='' ? row.en : row.nl ) + '</span><span class="en">' +			(row.en=='' ? row.nl : row.en ) +			'</span></a>' +row.te +'</p>' );		else {		     if (row.pi) {	     c.push( '<td style=\"padding-left:15px\"  valign=top ><p><a href="/mdinfo/' + row.pi + '"><span class="nl">' + (row.nl=='' ? row.en : row.nl ) + '</span><span class="en">' +			(row.en=='' ? row.nl : row.en ) +			'</span></a>' +row.te +'</p>' );	     } else {		c.push( '<td style=\"padding-left:15px\" valign=top ><p><a href="/pressrelease/' + row.li + '"><span class="nl">' + (row.nl=='' ? row.en : row.nl ) + '</span><span class="en">' +			(row.en=='' ? row.nl : row.en ) +			'</span></a>' +row.te +'</p>' );			 }	}	c.push( '</tr>' );		return c.join( '' );}// ============================================================================ class 'ViewPortfolio'function ViewPortfolio( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td width=100%><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Plaats </span><span class=en>City </span></td>' +					'<td align=right><span class=nl>Telefoon </span><span class=en>Telephone </span></td>' +				'</tr></thead>' );}ViewPortfolio.prototype = new ViewBase();ViewPortfolio.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( null, row.id, row.na ) );	c.push( makeLeftTextNoWrap( row.ci ) );	c.push( makeRightTextNoWrap( row.te ) );	c.push( '</tr>' );		return c.join( '' );}// =====================================================class 'SearchEnglish2Dutch'function SearchEnglish2Dutch( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Engels </span><span class=en>English </span></td>' +					'<td><span class=nl>Nederlands </span><span class=en>Dutch </span></td>' +				'</tr></thead>' );}SearchEnglish2Dutch.prototype = new ViewBase();SearchEnglish2Dutch.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeText( row.en ) );	c.push( makeText( row.nl ) );	c.push( '</tr>' );		return c.join( '' );}// ====================================================class 'SearchDutch2English'function SearchDutch2English( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Nederlands </span><span class=en>Dutch </span></td>' +					'<td><span class=nl>Engels </span><span class=en>English </span></td>' +				'</tr></thead>' );}SearchDutch2English.prototype = new ViewBase();SearchDutch2English.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr><td>' );	c.push(  row.nl  );	c.push( '<td>' + row.en  );	c.push( '</tr>' );		return c.join( '' );}// =================================================class 'SearchPeople' in people.nsf !!!function SearchPeople( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'Number'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Naam </span><span class=en>Name </span></td>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Functie </span><span class=en>Position </span></td>' +					'<td><span class=nl>Rol </span><span class=en>Role </span></td>' +					'<td><span class=nl>Nevenfuncties </span><span class=en>Other positions </span></td>' +					'<td align=right><span class=nl>Netwerk </span><span class=en>Network </span></td>' +				'</tr></thead>' );}SearchPeople.prototype = new ViewBase();SearchPeople.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( '<td><a href="/people/' + row.pi + '">' + row.pn + '</a>' );	c.push( '<td><a href="/id/' + row.id + '">' + row.na + '</a>' );	c.push( '<td>' + row.fu );	c.push( makeBCG( row.le ) );	c.push( '<td>' + row.dn );	c.push( '<td align=right>' + row.ne );	c.push( '</tr>' );		return c.join( '' );}// =================================================class 'research' in research.nsf !!!function research( id, classname ){	this.id		= id;	this.classname	= classname;/*		var editresearch = false;			// if editor research add status and edit link:	my_clearance bevat 'editresearch'		var my_clearance = document.getElementById('my_clearance');		if (null != 'myclearance') {		 	var clearance = my_clearance.innerHTML.split("\u00F0")			for (var i = 0; i<clearance.length; i++) {				if ("editresearch" == clearance[i]) {					editresearch = true;					}			}		}*/	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'None', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'Number'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td></td>' +					'<td><span class=nl>Rapport </span><span class=en>Report </span></td>' +					'<td><span class=nl>Sector </span><span class=en>sector </span></td>' +					'<td><span class=nl>Uitgever </span><span class=en>Publisher </span></td>' +					'<td align=right><span class=nl>Pagina\'s </span><span class=en>Pages </span></td>' +				'</tr></thead>' );}research.prototype = new ViewBase();research.prototype.RowToHTML = function( row){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeDate(row.dt) );		var url   = '/research/' + row.bs + '/' + row.fn;		var title = 'file size: ' + row.mb + ' Mb';		var words	= row.fn.split("_") //split using _ as delimiter		// words[0] 		= uitgever		// words[1..n-2]	= titel 		// words[n-1]		= datum		// words[n] 		= taal		var word	= words[1];		for ( var i=2; i<words.length-2; i++ ){			word = word + ' - ' + words[i];		}				var text  = word.replace(/([A-Z][a-z]|[&]|[0-9]{2,4})/g, ' <wbr>$1' ); // spaties voor hoofdletters, '&' en jaartallen		text  = text.replace(/([a-z])([A-Z])/g, '$1 <wbr>$2' ); // spatie tussen 'aA'				c.push( '<td><a target=\"_blank\" href="' + url + '" title="' + title + '"><img src=\"/pdf.gif\" width=\"16\" height=\"16\" /></a>' );		c.push( '<td><a target=\"_blank\" href="' + url + '" title="' + title + '">' + text + '</a>' );		c.push( makeSector(row.se) );			c.push( makeText(row.au) );	c.push( makeNumber(row.pa) );			// if all view add status and  edit link	 if (null != row.st) { 	 		c.push(makeText(row.st))	 		c.push( '<td><a href="/researchedit/' + row.bs + '" alt="edit"><img src=\"/txt.gif\" ></a>' );	}	c.push( '</tr>' );			return c.join( '' );}// =================================================class 'compliance' in compliance.nsf !!!function compliance ( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +						'<td><span class=nl>Naam </span><span class=en>Name </span></td>' +					'<td><span class=nl>Land </span><span class=en>Country</span></td>' +					'<td><span class=nl>Programma </span><span class=en>Programme </span></td>' +					'<td><span class=nl>Bron </span><span class=en>Source </span></td>' +				'</tr></thead>' );}compliance.prototype = new ViewBase();compliance.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( '<td><a href="/compliance/' + row.pi + '">' + row.pn + '</a>' );	c.push( '<td>' + row.co );	c.push( '<td align=left>' + row.pr );	c.push( '<td>' + row.so);	c.push( '</tr>' );		return c.join( '' );}// =================================================class 'compliancenew' in compliance.nsf !!!function compliancenew ( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td><span class=nl>Naam </span><span class=en>Name </span></td>' +					'<td><span class=nl>Land </span><span class=en>Country</span></td>' +					'<td><span class=nl>Programma </span><span class=en>Programme </span></td>' +					'<td><span class=nl>Bron </span><span class=en>Source </span></td>' +				'</tr></thead>' );}compliancenew.prototype = new ViewBase();compliancenew.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push('<td nowrap>'+row.pd);	c.push( '<td><a href="/compliance/' + row.pi + '">' + row.pn + '</a>' );	c.push( '<td>' + row.co );	c.push( '<td align=left>' + row.pr );	c.push( '<td>' + row.so);	c.push( '</tr>' );		return c.join( '' );}// =================================================class 'bankruptcylist'function bankruptcylist ( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td><span class=nl>RV </span><span class=en>LF </span></td>' +					'<td><span class=nl>Naam </span><span class=en>Name </span></td>' +					'<td><span class=nl>Plaats </span><span class=en>City </span></td>' +					'<td><span class=nl>Insolventie </span><span class=en>Insolvency </span></td>' +							'<td><span class=nl>Curator / Bewindvoerder </span><span class=en>Curator / Bewindvoerder</span></td>' +				'</tr></thead>' );}bankruptcylist.prototype = new ViewBase();bankruptcylist.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push(makeDate(row.pd ));	c.push( '<td>' + row.so);	c.push( '<td><a href="/bankruptcy/' + row.pi + '">' + row.pn + '</a>' );	c.push( '<td>' + row.co );	c.push( '<td>' + row.pr );	c.push( '<td>' + row.cu );	c.push( '</tr>' );		return c.join( '' );}// ==================================================class 'mdinfo' in mdinfo.nsf !!! function mdinfo(id, classname){	this.id 	= id;	this.classname=classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['Date', 'CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td><span class=nl>Nieuws </span><span class=en>News </span></td>' +					'<td><span class=nl>Publicatie datum</span><span class=en>Publication date</span></td>'+					'<td><span class=nl>Bron </span><span class=en>Source </span></td>' +				'</tr></thead>' );}mdinfo.prototype = new ViewBase();mdinfo.prototype.RowToHTML = function(row){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeDate( row.dt ));     c.push( '<td valign=top ><p><a href="/mdinfo/' + row.pi + '"><span class="nl">' + row.ti  + '</span><span class="en">' +			row.ti +	'</span></a><br/>' +row.ab +'...</p>' );	c.push('<td>' +row.pd);	c.push('<td>'+  row.sr );		c.push( '</tr>' );		return c.join( '' );}// =================================================class 'rechtspraak' in rechtspraak.nsf !!!function rechtspraak ( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString', 'Date', 'CaseInsensitiveString','CaseInsensitiveString'] );		this.setHeader( '<thead><tr>' +					'<td colspan="6"><span class=nl>Uitspraak </span><span class=en>Verdict </span></td>' +					'</tr></thead>' );	}rechtspraak.prototype = new ViewBase();rechtspraak.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr><td colspan="6"><table style=\"border-bottom:1px solid #F0F0F0;\" width=100%>' );	c.push( '<tr><td colspan="2"><a href="/rechtspraak/' + row.pi + '">LJN: ' + row.pi +', '+ row.lo +', '+row.zn +'</a></tr>' );	c.push( '<tr><td width="20%"><span class="nl legenda">Rechtssoort:</span><span class="en legenda">Jurisdiction type:</span></td><td>' + row.rg +' - ' + row.ps );	c.push( '<tr><td><span class="nl legenda">Datum (publicatie):</span><span class="en legenda">Date:</span></td><td>' + row.du + '&nbsp;&nbsp;(' + row.dp + ')');	if (row.ei.length != 0) {		c.push( '<tr><td><span class="nl legenda">Eiser:</span><span class="en legenda">Source:</span></td><td>'+row.ei);	}	if (row.ge.length != 0){		c.push( '<tr><td><span class="nl legenda">Gedaagde:</span><span class="en legenda">Accused:</span></td>'+row.ge);	}	c.push('<tr><td><span class="nl legenda">Inhoudsindicatie:</span><span class="en legenda">Summary:</span></td><td>'+row.it);	c.push( '</table></td></tr>' );		return c.join( '' );}// =================================================class 'ViewResearchBySector' (LookupSectorReportsJSxxx) in research.nsf !!!function ViewResearchBySector( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td style="padding-right:20px"><span class=nl>Datum </span><span class=en>Date </span></td>' +					'<td colspan=2  style="padding-right:20px"><span class=nl>Rapport </span><span class=en>Report </span></td>' +					'<td><span class=nl>Uitgever </span><span class=en>Publisher </span></td>' +				'</tr></thead>' );}ViewResearchBySector.prototype = new ViewBase();ViewResearchBySector.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeShortDate(row.dt) );		var url   = '/research/' + row.bs + '/' + row.fn;		var title = 'file size: ' + row.mb + ' Mb';		var words	= row.fn.split("_") //split using _ as delimiter		// words[0] 		= uitgever		// words[1..n-2]	= titel 		// words[n-1]		= datum		// words[n] 		= taal		var word	= words[1];		for ( var i=2; i<words.length-2; i++ ){			word = word + ' - ' + words[i];		}				var text  = word.replace(/([A-Z][a-z]|[&]|[0-9]{2,4})/g, ' <wbr>$1' ); // spaties voor hoofdletters, '&' en jaartallen		text  = text.replace(/([a-z])([A-Z])/g, '$1 <wbr>$2' ); // spatie tussen 'aA'			c.push( '<td><a target=\"_blank\" href="' + url + '" title="' + title + '"><img src=\"/pdf.gif\" width=\"16\" height=\"16\" /></a>' );		c.push( '<td><a target=\"_blank\" href="' + url + '" title="' + title + '">' + text + '</a>' );			c.push( makeText(row.au) );	c.push( '</tr>' );		return c.join( '' );}// ============================================================================class 'ViewJaarverlag'function ViewJaarverslag( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top" align="right"><col valign="top" align="right">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number', 'Number'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Hoofdsector </span><span class=en>Main sector </span></td>' +					'<td nowrap><span class=nl>Omzet (&euro;) </span><span class=en>Turnover (&euro;) </span></td>' +					'<td nowrap><span class=nl>Omzet (&euro;) </span><span class=en>Turnover (&euro;) </span></td>' +				'</tr></thead>' );}ViewJaarverslag.prototype = new ViewBase();ViewJaarverslag.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( '<td><a name="' + row.id.toLowerCase() + '" href="/jaarverslag/' + row.id + '">' + row.na + '</a>' );	c.push( makeSector( row.se ) );	c.push( makeNumber( row.to ) );	c.push( makeNumber( row.em ) );	c.push( '</tr>' );	return c.join( '' );}// ============================================================================class 'ViewPensionfunds'function ViewPensionfunds( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top" align="right"><col valign="top" align="right"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Sector </span><span class=en>Sector </span></td>' +					'<td nowrap><span class=nl>Totale Premies (&euro;) </span><span class=en>Total Contributions (&euro;) </span></td>' +					'<td nowrap><span class=nl>AUM (&euro;) </span><span class=en>AUM (&euro;) </span></td>' +					'<td nowrap><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewPensionfunds.prototype = new ViewBase();ViewPensionfunds.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( null, row.id, row.na ) );	c.push( makeText( row.ex ) );	c.push( makeNumber( row.to ) );	c.push( makeNumber( row.ta ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );	return c.join( '' );}// ============================================================================class 'ViewPensionfundPartners'function ViewPensionfundPartners( id, classname ){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top" align="right"><col valign="top" align="right"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString', 'CaseInsensitiveString', 'Number', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td width=450px><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +					'<td><span class=nl>Sector </span><span class=en>Sector </span></td>' +					'<td nowrap><span class=nl>Totale Premies (&euro;) </span><span class=en>Total Contributions (&euro;) </span></td>' +					'<td nowrap><span class=nl>AUM (&euro;) </span><span class=en>AUM (&euro;) </span></td>' +					'<td nowrap><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}ViewPensionfundPartners.prototype = new ViewBase();ViewPensionfundPartners.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( null, row.id, row.na ) );	c.push( makeText( row.ex ) );	c.push( makeNumber( row.to ) );	c.push( makeNumber( row.ta ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );	return c.join( '' );}// ============================================================================class 'ViewPensionfundsByRegion'function ViewPensionfundsByRegion (id, classname){	this.id		= id;	this.classname	= classname;	this.setColumnDef( '<col valign="top"><col valign="top"><col valign="top" align="right"><col valign="top" align="right"><col valign="top">' );	this.setSortDef( ['CaseInsensitiveString',  'Number', 'Number', 'CaseInsensitiveString'] );	this.setHeader( '<thead><tr>' +					'<td><span class=nl>Organisatie </span><span class=en>Organisation </span></td>' +						'<td nowrap><span class=nl>Totale Premies (&euro;) </span><span class=en>Total Contributions (&euro;) </span></td>' +					'<td nowrap><span class=nl>AUM (&euro;) </span><span class=en>AUM (&euro;) </span></td>' +					'<td nowrap><span class=nl>Land </span><span class=en>Country </span></td>' +				'</tr></thead>' );}//				'<td><span class=nl>Sector </span><span class=en>Sector </span></td>' +ViewPensionfundsByRegion.prototype = new ViewBase();ViewPensionfundsByRegion.prototype.RowToHTML = function( row ){	var c = this.rowcache;		// empty the cache	c.length = 0;	c.push( '<tr>' );	c.push( makeUrl( null, row.id, row.na ) );//	c.push( makeText( row.ex ) );	c.push( makeNumber( row.to ) );	c.push( makeNumber( row.ta ) );	c.push( makeRightText( row.co ) );	c.push( '</tr>' );	return c.join( '' );}// ================================== functions to convert row-information to HTMLfunction makeUrl( db, id, text ){	var url = ( db == null || db == '' ? '/id/'+id : '/'+db+'/id/'+ id );	return '<td><a href="' + url + '">' + text + '</a>';}function makeUrlPDF ( db, id){	var url = ( db == null || db == '' ? '/id/'+id : '/'+db+'/id/'+ id );	return '<td><a href="' + url + '"><img src=\"/pdf.gif\" /></a>';}function makeUrlNoWrap( db, id, text ){	var url =  (db==null || db=='') ? '/id/'+id : '/'+db+'/'+ id ;	return '<td align="left" nowrap><a href="' + url + '">' + text + '</a>';}function makeLeftText( text ){	return '<td align="left">' + text ;}function makeLeftTextNoWrap( text ){	return '<td align="left" nowrap>' + text ;}function makeRightText( text ){	return '<td align="right">' + text ;}function makeRightTextNoWrap( text ){	return '<td align="right" nowrap>' + text ;}function makeTextNoWrap( text ){	return '<td nowrap>' + text;}function makeText( text ){	return '<td>' + text;}function makeDate( date ){	var dt = dateToTextArray(date);	return makeLeftTextNoWrap(dt[2] + '-' + dt[1] + '-' + dt[0] );}function makeShortDate( date ){	var dt = dateToTextArray(date);	return makeLeftTextNoWrap( dt[1] + '-\'' + dt[0].substr(2) );}// returns padded string array {'yyyy', 'mm', 'dd'}function dateToTextArray( date ){	var result 	= new Array(3);	result[0]		= '' + (date.getFullYear());	result[1]		= '0' + (date.getMonth()+1);	result[2]		= '0' + date.getDate();	// adjust values	result[1]		= result[1].substr(result[1].length-2);	result[2]		= result[2].substr(result[2].length-2);	return result;}var lang	= get_language();var sep	= ( lang == 'nl' ? '.' : '.' );function makeNumber( text ){	var num = parseInt(text);	if ( !isNaN(num) ){		sign = (num == (num = Math.abs(num)));		num = num.toString();		for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++){			num = num.substring(0,num.length-(4*i+3))+ sep +num.substring(num.length-(4*i+3));		}		text = ((sign)?'':'-') + num;	}	return '<td nowrap align="right">' + text;}function makeSectorOLD( s ){	var sector;	var text = '';	if ( s != null && s!='' ){		sector = l_S[s];		if ( sector != null && sector!='' ){			text = sector;		}	 }	return '<td>' + text;}function makeSector( s ){	var sector;	var text = '';	if ( s != null && s!='' ){		if (s.substring(0,1)!="s"){				var o = getSector( s );		} else {			var sbi = s.substring(1, s.length);			var mainnr = (sbi.substring(0,2).length>0) ? sbi.substring(0,2) : null;			if (mainnr) {				var section = getSection(sbi.substring(0,2));				if (section) {					var o = getSBI(section+sbi);				}			}		}		 		if (o) {		    var oen = ((o.en.length<=40) ? o.en : (o.en.substring(0,39)+' ...'));		    var onl = ((o.nl.length<=40) ? o.nl : (o.nl.substring(0,39)+' ...'));			text =	'<span class="en">' +  oen+ '</span>' +						'<span class="nl">' + onl+ '</span>';		}			}	return '<td>' + text;}function makeBCG ( s ){	if ( s != null && s!='' ){		if ( s=='B' ){			text='<span class="nl">B</span><span class="en">E</span>';		} else if ( s == 'C' ){			text='<span class="nl">C</span><span class="en">S</span>';		} else if ( s == 'G' ){			text='<span class="nl">G</span><span class="en">T</span>';		} else{			text='';		}	}	return '<td>' + text;}// ******************************** searchresultsfunction getSplitter(){	var html;	var a = new Array();	for ( var i=1; i<=hits; i+=count )	{		var n1 = i;		var n2 = ( hits>i+count-1 ? i+count-1 : hits );		if ( start==i )			html = n1 + '-' + n2;		else			html = '<a href="javascript:showFrom(' + n1 + ');">' + n1 + '-' + n2 + '<\/a>';		a.push( html );	}	if ( hits == 1000 )	{		html = '<a href="javascript:window.location += \'&searchmax=2500&from=1001\';"><span class="nl">zoek meer &gt;&gt;<\/span><span class="en">find more &gt;&gt;<\/span><\/a>';		a.push( html );	}	return a.join(' | ');}SortableTable.prototype.onsort = function (){	this.showRows( start, start+count-1 );};SortableTable.prototype.showRows = function (from, to){	var rows = this.tBody.rows;	var l = rows.length;	for ( var i=0; i<l; i++ )	{		if ( (i>=from-1) && (i<to) )			{rows[i].style.display = '';}		else			{rows[i].style.display = 'none';}	}};function showFrom(num){	start = num;	st1.showRows( start, start+count-1 );	document.getElementById('Splitter1').innerHTML = getSplitter();	document.getElementById('Splitter2').innerHTML = getSplitter();}// boolean directlink: indien '#search=xxx' ipv '?open&search=xxx'function add_pdfsearch( directlink, searchword ){		var word	= escape(searchword);	word		= word.replace( /%20/gi, ' ' );	word		= word.replace( /\%/gi, '\\u00' );		var query	= (directlink ?  '#search="' : '?open&search="' ) + word + '"';	var ds	= document.getElementById('Results');	var links	= ds.getElementsByTagName( 'a' );	for ( i=0; i<links.length; i++ )	{		link = links[i];		term = link.href.toLowerCase();		if ( (term.indexOf( '_ad' ) == -1) )			link.href += query;	}}// RSS Functionsfunction loadRSS( url, query, container ){	google.load("feeds", "1");	function initialize()	{		var feed = new google.feeds.Feed( url + '&q=' + encodeURIComponent(query) );		feed.setNumEntries(9);		feed.includeHistoricalEntries();		feed.load( function(result) {			if (!result.error && result.feed.entries.length>0) {				for (var i = 0; i < result.feed.entries.length; i++) {					var entry = result.feed.entries[i];					var li = document.createElement("li");					li.innerHTML = '<a href="' + entry.link + '">' + entry.title + '<\/a>'					container.appendChild(li);				}			}			else {				var li = document.createElement("li");				li.innerHTML = '<span class="en">No news available<\/span><span class="nl">Geen nieuws beschikbaar<\/span>';				container.appendChild(li);			}		});	}	google.setOnLoadCallback(initialize);}/*==============================================================================================================================================================================			START OF 'OLD' HOME.JS			START OF 'OLD' HOME.JS			START OF 'OLD' HOME.JS			START OF 'OLD' HOME.JS			START OF 'OLD' HOME.JS			START OF 'OLD' HOME.JS==============================================================================================================================================================================*/// contains also suggest.js sectionfunction set_cookie( name, value, remember, path, domain) {	var ExpireDate = new Date();	if ( remember ) {		ExpireDate.setTime( ExpireDate.getTime() + (10 * 365 * 24  * 3600 * 1000) );	}	if ( value === null ) {		ExpireDate = new Date(0);		remember = true;	}	document.cookie = name + "=" +value +		( (remember)	? ";expires=" + ExpireDate.toGMTString() : "") +		( (path)		? ";path=" + path : "");		  }function getCookie(name) {	var bikky = document.cookie;	var index = bikky.indexOf(name + "=");	if (index == -1) return null;	index = bikky.indexOf("=", index) + 1; // first character	var endstr = bikky.indexOf(";", index);	if (endstr == -1) endstr = bikky.length; // last character	return unescape(bikky.substring(index, endstr));}function delCookie(name) {  set_cookie( name, null, false, '/' );}function set_language(name) {	set_cookie('ar_language',name,true,'/');	//window.location=window.location;	window.location.reload();}function get_language() {	return getCookie('ar_language');}function set_peergroup(peer) {	set_cookie('lupv',peer,false,'/');	var loc = "" + window.location;	// make string	if (loc.indexOf('#') < 0)		window.location = window.location + "#peergroup";	window.location.reload();}function sf(){	var field = document.getElementById('text');	if (field!=null){		field.focus();		if ( document.keyHandler ){			field.onkeydown = document.keyHandler;		}	}}function m_to(n,d){	estring= n + "@" + d;	document.write("<a href=\"mailto:" +estring +"\">" +estring +"</a>");}function Born(y,m,d){	now		= new Date();	born		= new Date(y, m*1-1, d);	years	= new Date(now.getTime() - born.getTime());	base 	= new Date(0);	age		= years.getFullYear()-base.getFullYear();	document.write(age);} function FieldValidation(){ 	document.forms['terugkoppeling'].submit();}function EmailValidation(){ 	var form = document.service;	var fieldcheck = form.Email.value;	if ( fieldcheck == ""  )	{	    	alert("Vult u altublieft uw emailadres in!");    		return (false);  	}	form.submit()}function validateLinkedIn(form){	if (form.LinkedIn.value=='')	{		return false;	}	return true;}function validateDescription(form){	if (form.ProfileNL.value=='' &&form.Profile.value==''  )	{		return false;	}	return true;}function validatePeerGroup(form){	if (form.PeerGroup.value=='' || form.PeerGroup.value.length <7  )	{		return false;	}	return true;}// voor branchedropdownpijltjes: branchescollapsednormal (bcn), branchescollapsedhover (bcn), branchesexpandednormal (ben), branchesexpandedhover (ben);function b_onmouseover(){	if		( this.className == 'bcn')	{ this.className='bch'; }	else if	( this.className == 'ben')	{ this.className='beh'; }}function b_onmouseout(){	if 		( this.className == 'bch')	{ this.className='bcn'; }	else if	( this.className == 'beh')	{ this.className='ben'; }}function b_onclick(){	if 		( this.className == 'bch')	{ b_expand.call(this, true);	 	}	else if 	( this.className == 'beh') 	{ b_collapse.call(this, true);	}}function b_expand( select ){	this.className	= ( select ?  'beh' : 'ben' );	document.getElementById('dd_'+ this.id.substring(2)).className='dd_expanded';}function b_collapse( select ){	this.className	= ( select ? 'bch' : 'bcn' );	document.getElementById('dd_' +this.id.substring(2)).className='dd_collapsed';}function b_expand_all(){	if (document.getElementById('sectordropdowns'))		var x = document.getElementById('sectordropdowns').getElementsByTagName('div');	else return;	for (var i=0;i<x.length;i++){		if ( x[i].className == 'bcn' )		// only get the spans with class="bcn"		{			b_expand.call( x[i], false );		// expand, but do not make them orange...		}	}	document.getElementById('expandall').style.display = 'none';	document.getElementById('collapseall').style.display = '';}function b_collapse_all(){	if (document.getElementById('sectordropdowns')){		var x = document.getElementById('sectordropdowns').getElementsByTagName('div');	} else return;	for (var i=0;i<x.length;i++){		if ( x[i].className == 'ben' )		// only get the spans with class="ben"		{			b_collapse.call( x[i], false );		// collapse, but do not make them orange...		}	}	document.getElementById('expandall').style.display = '';	document.getElementById('collapseall').style.display = 'none';}function init(){//debugger	if (document.getElementById('sectordropdowns'))		var x = document.getElementById('sectordropdowns').getElementsByTagName('div');	else return;	for (var i=0;i<x.length;i++)	{		if ( (x[i].className=='bcn') || (x[i].className=='ben') )		{ 			x[i].onmouseover	= b_onmouseover;			x[i].onmouseout	= b_onmouseout;			x[i].onclick 		= b_onclick;		}	}	// enable buttons in case of back	var gridViewControls = document.getElementsByTagName("input");    for (i = 0; i < gridViewControls.length; i++)     {        // if this input type is button, disable        if (gridViewControls[i].type == "button")         {            gridViewControls[i].disabled = false;        }    }}function dMyCompany(portfolio,news,press,settings,link){	if ( document.getElementById('portfolio') )		document.getElementById('portfolio').style.display = portfolio;	if ( document.getElementById('news') )		document.getElementById('news').style.display = news;	if ( document.getElementById('settings') )		document.getElementById('settings').style.display = settings;	if ( document.getElementById('press') )		document.getElementById('press').style.display = press;			if ( document.getElementById('portfoliolink') )		document.getElementById('portfoliolink').className = '';	if ( document.getElementById('newslink') )		document.getElementById('newslink').className = '';	if ( document.getElementById('settingslink') )		document.getElementById('settingslink').className = '';	if ( document.getElementById('presslink') )		document.getElementById('presslink').className = '';			if ( link=='settingslink') {sf()};	if ( document.getElementById(link) )		document.getElementById(link).className = 'selectedlink';}function dFinancials(keyfigures,ratios,balance,profitloss,link){	if ( document.getElementById('keyfigures') )		document.getElementById('keyfigures').className = keyfigures;	if ( document.getElementById('ratios') )		document.getElementById('ratios').className = ratios;	if ( document.getElementById('balance') )		document.getElementById('balance').className = balance;	if ( document.getElementById('profitloss') )		document.getElementById('profitloss').className = profitloss;	if ( document.getElementById('keyfigureslink') )		document.getElementById('keyfigureslink').className = '';	if ( document.getElementById('balancelink') )		document.getElementById('balancelink').className = '';	if ( document.getElementById('profitlosslink') )		document.getElementById('profitlosslink').className = '';	if ( document.getElementById('reportlink') )		document.getElementById('reportlink').className = '';	if ( document.getElementById(link) )		document.getElementById(link).className = 'selectedlink';}//************ suggest.js section ***************************************var xmlhttp=false;/*@cc_on @*//*@if (@_jscript_version >= 5)// JScript gives us Conditional compilation, we can cope with old IE versions.// and security blocked creation of the objects. try {  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {  try {   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");  } catch (E) {   xmlhttp = false;  } }@end @*/if (!xmlhttp && typeof XMLHttpRequest!='undefined') {	try {		xmlhttp = new XMLHttpRequest();	} catch (e) {		xmlhttp=false;	}}if (!xmlhttp && window.createRequest) {	try {		xmlhttp = window.createRequest();	} catch (e) {		xmlhttp=false;	}}var timer = null;function keyHandlerSuggest( evt ){	var box	= document.getElementById( 'suggest_home' );	if ( box==null )		return true;		var KEYUP		= 38;	var KEYDOWN	= 40;	var KEYENTER	= 13;	var KEYTAB	= 9;	if(!evt && window.event)	{		evt = window.event;	}	var key = evt.keyCode;	if ((key != KEYUP) && (key != KEYDOWN) && (key != KEYENTER) && (key != KEYTAB) && (undefined != key))		return setSuggestTimer();	if( (key == KEYUP) ) {		changeSuggestion( false );	}	if( (key == KEYDOWN) ) {		changeSuggestion( true );	}	if( (key == KEYENTER) || (key == KEYTAB) )	{		if ( suggestList != null )		{			clickSuggestion();			evt.cancelBubble=true;			return false;		}		//else		//	document.getElementById('submit1').click();		// search from searchbar  => not needed submitted anyway (alleen nog KEYTAB????)	}	if (undefined == key) {		// clicked on document, close suggest box		closeSuggestBox();	}}function setKeypressHandler (windowOrFrame, keyHandler){	var doc = windowOrFrame.document;	if (doc) {		if (doc.addEventListener) {			doc.addEventListener('keypress',keyHandler,false);		}		else if (doc.attachEvent) { 			doc.attachEvent('onkeypress',function () { keyHandler(windowOrFrame.event); } );		}		else {			doc.onkeypress = keyHandler;		}	}}function initSuggestion(){	//setKeypressHandler( window, keyHandlerSuggest );}//setKeypressHandler( window, keyHandlerSuggest );document.onkeypress = keyHandlerSuggest;document.onclick = closeSuggestBox;var suggestList		= null;var suggestIndex	= -1;function clickSuggestion(){	if ( suggestIndex >= 0 )	{		//fillText( document.getElementById( 'suggest_' + suggestIndex ).innerHTML );		var unid = suggestList[suggestIndex].unid;		window.location = '/id/' + unid;		//return false;	}	else		document.getElementById('submit1').click();		// search from searchbar 		//document.forms['searchForm'].submit();	}function setSuggestion( nr ){	for( var i=0; ; i++ )	{		var d = document.getElementById( 'suggest_' + i);		if ( d == null )			break;		else			d.className = null;	}	if( nr>-1 )		document.getElementById( 'suggest_' + nr ).className = 'selected';	suggestIndex = nr;}function changeSuggestion( inc ){	if ( inc ){		suggestIndex++;	} else {		suggestIndex--;	}	var high = getHighestSuggestion();	if ( suggestIndex < 0 ){		suggestIndex = high;	}	if ( suggestIndex > high ){		suggestIndex = 0;	}	if( (suggestIndex >= 0) && (suggestIndex <= high) ){		//document.getElementById( 'suggest_' + suggestIndex ).className = 'selected';	} else {		suggestIndex = -1;	}	setSuggestion( suggestIndex );}function getHighestSuggestion(){	if ( suggestList === null ){		return -1;	}	return suggestList.length -1;}function setSuggestTimer(){	if (timer != null)	{		clearTimeout( timer );		timer = null;	}	if ( document.getElementById('text').value != '' ){		timer = setTimeout( 'doSuggestQuery()', 1000 );	}	return true;}function doSuggestQuery(){	var url = '/do_company_suggest?openagent&text=' + document.getElementById('text').value;	xmlhttp.open( 'get', url, true );	xmlhttp.onreadystatechange = doSuggestResult;	xmlhttp.send(null);}function doSuggestResult(){	if (xmlhttp.readyState==4)	{		if (xmlhttp.status!=404){			var list=new Function("return "+xmlhttp.responseText)();			suggestList = list;			fillSuggestBox();		} else {			closeSuggestBox();		}	}}function fillSuggestBox(){	if ( suggestList==null || suggestList.length==0 )	{		closeSuggestBox()		return;	}	var box	= document.getElementById( 'suggest_home' );	var html	= '';	for ( var i=0; i<suggestList.length; i++ )	{		html += '<div id="suggest_' + i + '" onmouseover="setSuggestion(' + i + ');" onclick="clickSuggestion();">';		html += suggestList[i].name;		html += suggestList[i].legal!='' ? '<span class="suggestLegal"> (' + suggestList[i].legal + ')</span>' : '';		html += '</div>';	}	box.innerHTML		= html + '<span class="helpklein nl" style="color:777">Suggestielijst omvat de top 50.000 organisaties. Klik op \'Zoek organisatie\' voor alle hits. </span><span class="helpklein en" style="color:777">Suggestion list of the top 50.000 organisations. Click on \'Search organisation\' for all hits. </span>';	box.style.display 	= 'inline';	//box.style.display 	= 'block';	suggestIndex		= -1;}function closeSuggestBox(){     var sh = document.getElementById('suggest_home');     if (sh) {     	sh.style.display='none';     }	suggestIndex = -1;}function fillText( name ){	document.getElementById( 'text' ).value = name;	closeSuggestBox();}// =========================== Sectors (home + sector pages) ========================== function makeSectorCheckBox( sector ){	//text	= '<input type="checkbox" id="s' + sector.c + '" name="S" value="' + sector.c + '" onclick="f_S(\'S\');">';				//==============	text	= '<input type="checkbox" id="s' + sector.c + '" name="S" value="' + sector.c + '" onclick="f_S_box(this,\'sectorList\');">';	return text;}function makeSectorText( sector, is_fts ){	var text = '';		if ( is_fts )	{		text	=	makeSectorCheckBox( sector ) +				'<label for="s' + sector.c + '">' +					'<span class="nl">' + sector.nl + '</span>' +					'<span class="en">' + sector.en + '</span>' +				'</label>';	}	else	{		var href = '/sector/' + sector.en.toLowerCase().replace( / /g, '_' );		text	= 	'<a href="' + href + '" id="s_' + sector.c + '">' +					'<span class="nl">' + sector.nl + '</span>' +					'<span class="en">' + sector.en + '</span>' +				'</a>';	}	return text;}function showSectorDropDown( maincode, subcode, branchecode, is_fts ){	if ( branchecode )	{		var o = m[maincode].s[subcode].b[branchecode];		document.write( '<table class="S">' );		document.write( '<tr><td><div class="bbb"></div>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '</table>' );	}	else if ( subcode )	{		var o = m[maincode].s[subcode];		document.write( '<table class="Ss">' );		document.write( '<tr><td><div class="bcn" id="b_' + o.c + '"></div>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '<tr class="dd_collapsed" id="dd_' + o.c + '"><td></td><td>' );		for ( branchecode in o.b )		{			showSectorDropDown( maincode, subcode, branchecode, is_fts );		}		document.write( '</td></tr></tbody>' );		document.write( '</table>' );	}	else if ( maincode )	{		var o = m[maincode];		document.write( '<table class="Sm">' );		document.write( '<tr><td>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '<tr><td></td><td>' );		for ( subcode in o.s )		{			showSectorDropDown( maincode, subcode, null, is_fts );		}		document.write( '</td></tr>' );		document.write( '</table>' );	}}function showSectorDropDownNew( maincode, subcode, branchecode, is_fts ){	if ( branchecode )	{		var o = m[maincode].s[subcode].b[branchecode];		document.write( '<table class="S">' );		document.write( '<tr><td><div class="bbb"></div>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '</table>' );	}	else if ( subcode )	{		var o = m[maincode].s[subcode];		document.write( '<table class="Ss">' );		document.write( '<tr><td><div class="bcn" id="b_' + o.c + '"></div>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '<tr class="dd_collapsed" id="dd_' + o.c + '"><td></td><td>' );		for ( branchecode in o.b )		{			showSectorDropDown( maincode, subcode, branchecode, is_fts );		}		document.write( '</td></tr>' );		document.write( '</table>' );	}	else if ( maincode )	{		var o = m[maincode];		document.write( '<table class="Sm">' );		document.write( '<tr><td><div class="bcn" id="b_' + o.c + '"></div>' );		document.write( '</td><td>' + makeSectorText(o, is_fts) + '</td></tr>' );		document.write( '<tr class="dd_collapsed" id="dd_' + o.c + '"><td></td><td>' );		for ( subcode in o.s )		{			showSectorDropDown( maincode, subcode, null, is_fts );		}		document.write( '</td></tr>' );		document.write( '</table>' );	}}// utility function to get easy access to the branche arrayfunction getSector( nr ){	var sector	= null;	var main_nr	= nr.substring(0, 2);	var sub_nr	= nr.substring(2, 4);	var branche_nr	= nr.substring(4, 6);	//debugger;	//if (sector) {		// lookup in sector array		if ( main_nr )			sector = m['m' + main_nr];		if ( sub_nr ) {			sector = (sector ? sector.s['s' + sub_nr] : null);		}		if (branche_nr){				sector = sector = (sector ? sector.b['b' + branche_nr] : null);		}	//}	return sector;}var m = new Array();m['m00'] = {c:'10', en:'General', nl:'Algemeen'}; m['m00'].s = new Array();m['m10'] = {c:'10', en:'Resources', nl:'Grondstoffen'}; m['m10'].s = new Array();m['m10'].s['s10'] = {c:'1010', en:'Mining', nl:'Mijnbouw'}; m['m10'].s['s10'].b = new Array();m['m10'].s['s10'].b['b10'] = {c:'101010', en:'Gold mining', nl:'Goudmijnbouw'};m['m10'].s['s10'].b['b15'] = {c:'101015', en:'Silver mining', nl:'Zilvermijnbouw'};m['m10'].s['s10'].b['b20'] = {c:'101020', en:'Copper mining', nl:'Kopermijnbouw'};m['m10'].s['s10'].b['b25'] = {c:'101025', en:'Aluminium mining', nl:'Aluminiummijnbouw'};m['m10'].s['s10'].b['b30'] = {c:'101030', en:'Tin mining', nl:'Tinmijnbouw'};m['m10'].s['s10'].b['b35'] = {c:'101035', en:'Iron mining', nl:'IJzermijnbouw'};m['m10'].s['s10'].b['b40'] = {c:'101040', en:'Lead mining', nl:'Loodmijnbouw'};m['m10'].s['s10'].b['b45'] = {c:'101045', en:'Uranium mining', nl:'Uraniummijnbouw'};m['m10'].s['s10'].b['b50'] = {c:'101050', en:'Zinc mining', nl:'Zinkmijnbouw'};m['m10'].s['s10'].b['b90'] = {c:'101090', en:'Services for the mining industry (rent, consulting, personnel, maintenance)', nl:'Dienstverlening voor de mijnbouw (huur, advies, personeel, onderhoud)'};m['m10'].s['s20'] = {c:'1020', en:'Extraction', nl:'Mineralenwinning'}; m['m10'].s['s20'].b = new Array();m['m10'].s['s20'].b['b10'] = {c:'102010', en:'Salt extraction', nl:'Zoutwinning'};m['m10'].s['s20'].b['b20'] = {c:'102020', en:'Sand extraction', nl:'Zandwinning'};m['m10'].s['s20'].b['b30'] = {c:'102030', en:'Stone extraction', nl:'Steenwinning'};m['m10'].s['s20'].b['b90'] = {c:'102090', en:'Services for the extraction industry (rent, consulting, personnel, maintenance)', nl:'Dienstverlening voor de mineralenwinning (huur, advies, personeel, onderhoud)'};m['m10'].s['s30'] = {c:'1030', en:'Oil, coal and gas', nl:'Olie, kolen en gas'}; m['m10'].s['s30'].b = new Array();m['m10'].s['s30'].b['b10'] = {c:'103010', en:'Oil and gas exploration and production', nl:'Olie en gaswinning'};m['m10'].s['s30'].b['b20'] = {c:'103020', en:'Coal mining', nl:'Kolenmijnbouw'};m['m10'].s['s30'].b['b90'] = {c:'103090', en:'Services for the oil and gas industry (rent, consulting, personnel, maintenance)', nl:'Dienstverlening voor de olie en gas (huur, advies, personeel, onderhoud)'};m['m20'] = {c:'20', en:'Basic industries', nl:'Basis industrie'}; m['m20'].s = new Array();m['m20'].s['s10'] = {c:'2010', en:'Metal and metal products', nl:'Metalen en metaalproducten'}; m['m20'].s['s10'].b = new Array();m['m20'].s['s10'].b['b10'] = {c:'201010', en:'Iron and steel (mills, casting, refining)', nl:'IJzer en staal (hoogovens, smelten, walsen, gieten)'};m['m20'].s['s10'].b['b20'] = {c:'201020', en:'Non-ferro metals (mills, casting)', nl:'Non-ferrometalen (hoogovens, smelten, walsen, gieten)'};m['m20'].s['s10'].b['b30'] = {c:'201030', en:'Metal tanks, radiators', nl:'Metalen tanks, ketels en radiatoren'};m['m20'].s['s10'].b['b40'] = {c:'201040', en:'Sheet iron, barrels, wire, bolts', nl:'Blik, vaten, draad, bouten'};m['m20'].s['s10'].b['b50'] = {c:'201050', en:'Surface casting and other metal preparation', nl:'Oppervlaktebehandeling en overige metaalbewerking'};m['m20'].s['s10'].b['b90'] = {c:'201090', en:'Services for the metal industry', nl:'Dienstverlening voor de metaalindustrie'};m['m20'].s['s20'] = {c:'2020', en:'Chemicals', nl:'Chemie'}; m['m20'].s['s20'].b = new Array();m['m20'].s['s20'].b['b10'] = {c:'202010', en:'Agricultural products (pesticides, fertilizers', nl:'Agrarische producten (pesticiden, kunstmest, groeiverbeteraars)'};m['m20'].s['s20'].b['b20'] = {c:'202020', en:'Basic chemicals (chlorine, sulphur, sulphates, phosphors, ammonia)', nl:'Basischemicali\u00EBn (chloor, zwavel, sulfaten, fosfor, ammoniak)'};m['m20'].s['s20'].b['b30'] = {c:'202030', en:'Industrial gas', nl:'Industri\u00EBle gassen'};m['m20'].s['s20'].b['b40'] = {c:'202040', en:'Dyes and colorants', nl:'Kleurstoffen'};m['m20'].s['s20'].b['b50'] = {c:'202050', en:'Plastics', nl:'Kunststoffen (polymeren, policarbonaten, polyether)'};m['m20'].s['s20'].b['b60'] = {c:'202060', en:'Paints and coatings', nl:'Verven en lakken'};m['m20'].s['s20'].b['b70'] = {c:'202070', en:'Fibres and films', nl:'Vezels en films'};m['m20'].s['s20'].b['b90'] = {c:'202090', en:'Services for the chemical industry', nl:'Dienstverlening voor de chemische industrie'};m['m20'].s['s30'] = {c:'2030', en:'Pharmaceuticals', nl:'Farmacie'}; m['m20'].s['s30'].b = new Array();m['m20'].s['s30'].b['b10'] = {c:'203010', en:'Pharmaceutical research, development and production', nl:'Geneesmiddelenresearch, ontwikkeling en/of productie'};m['m20'].s['s30'].b['b20'] = {c:'203020', en:'Biotechnology', nl:'Biotechnologie'};m['m20'].s['s30'].b['b90'] = {c:'203090', en:'Services for the pharmaceutical industry', nl:'Dienstverlening voor de farmaceutische industrie'};m['m20'].s['s40'] = {c:'2040', en:'Construction', nl:'Bouw'}; m['m20'].s['s40'].b = new Array();m['m20'].s['s40'].b['b10'] = {c:'204010', en:'Concrete, cement and plaster products', nl:'Beton-, cement- en gipsproducten'};m['m20'].s['s40'].b['b15'] = {c:'204015', en:'Glass', nl:'Glas'};m['m20'].s['s40'].b['b20'] = {c:'204020', en:'Stones and tiles', nl:'Stenen en tegels'};m['m20'].s['s40'].b['b25'] = {c:'204025', en:'Steel constructions', nl:'Staalconstructie'};m['m20'].s['s40'].b['b30'] = {c:'204030', en:'Pipe products', nl:'Pijpproductie'};m['m20'].s['s40'].b['b35'] = {c:'204035', en:'Demolition and earthworks', nl:'Slopen en grondverzet'};m['m20'].s['s40'].b['b40'] = {c:'204040', en:'Cables, pipelines and sewage construction', nl:'Kabels, buizenleggers en riolering'};m['m20'].s['s40'].b['b45'] = {c:'204045', en:'Infrastructure construction (roads, bridges, tunnels)', nl:'Infrastructuurbouw (wegen, bruggen, tunnels, kunstwerken)'};m['m20'].s['s40'].b['b50'] = {c:'204050', en:'Residential building construction (houses)', nl:'Huizenbouw (woningen)'};m['m20'].s['s40'].b['b55'] = {c:'204055', en:'Utility building construction (offices, sport arenas, parkings, swimming pools)', nl:'Utiliteitsbouw (kantoren, sporthallen, parkeergarages, zwembaden)'};m['m20'].s['s40'].b['b60'] = {c:'204060', en:'Electrical contractors', nl:'Elektrotechnische bouwinstallatie'};m['m20'].s['s40'].b['b62'] = {c:'204062', en:'Brickmasons', nl:'Metselaars'};m['m20'].s['s40'].b['b63'] = {c:'204063', en:'Plasterers', nl:'Stucadoors'};m['m20'].s['s40'].b['b65'] = {c:'204065', en:'Plumbers', nl:'Loodgieters'};m['m20'].s['s40'].b['b70'] = {c:'204070', en:'Painting contractors', nl:'Schilders'};m['m20'].s['s40'].b['b75'] = {c:'204075', en:'Carpenters', nl:'Timmerbedrijven'};m['m20'].s['s40'].b['b80'] = {c:'204080', en:'Insulation', nl:'Isolateurs'};m['m20'].s['s40'].b['b90'] = {c:'204090', en:'Construction services (rent, personnel, consulting and maintenance)', nl:'Dienstverlening voor de bouw (huur, personeel, advies en onderhoud)'};m['m20'].s['s50'] = {c:'2050', en:'Packaging and paper', nl:'Verpakkingen en papier'}; m['m20'].s['s50'].b = new Array();m['m20'].s['s50'].b['b10'] = {c:'205010', en:'Packaging (plastic, metal, wood)', nl:'Verpakkingen (kunststof, metaal, hout)'};m['m20'].s['s50'].b['b20'] = {c:'205020', en:'Paper and cardboard', nl:'Papier en karton'};m['m20'].s['s50'].b['b90'] = {c:'205090', en:'Packaging and paper services (rent, personnel, consulting and maintenance)', nl:'Dienstverlening voor verpakkingen en papier (huur, personeel, advies en onderhoud)'};m['m30'] = {c:'30', en:'General industrials', nl:'Algemene industrie'}; m['m30'].s = new Array();m['m30'].s['s10'] = {c:'3010', en:'Machinery and transportation tool manufacturing', nl:'Machines en transportwerktuigen'}; m['m30'].s['s10'].b = new Array();m['m30'].s['s10'].b['b10'] = {c:'301010', en:'Tool manufacturing', nl:'Gereedschapsfabricage'};m['m30'].s['s10'].b['b20'] = {c:'301020', en:'Agriculture, construction, and mining machinery manufacturing', nl:'Machines voor de bouw, landbouw en mijnbouw'};m['m30'].s['s10'].b['b30'] = {c:'301030', en:'Industrial machinery manufacturing', nl:'Machines voor industrie'};m['m30'].s['s10'].b['b40'] = {c:'301040', en:'Metalworking machinery manufacturing', nl:'Metaalbewerkingmachines fabricage'};m['m30'].s['s10'].b['b50'] = {c:'301050', en:'Turbine, pump, compressor and engine manufacturing', nl:'Turbine, pomp, compressor en motorfabricage'};m['m30'].s['s10'].b['b60'] = {c:'301060', en:'Refrigeration and climate control equipment manufacturing', nl:'Koeltechniek en klimaatregelingfabricage'};m['m30'].s['s10'].b['b70'] = {c:'301070', en:'Packaging machinery manufacturing', nl:'Verpakkingsmachinefabricage'};m['m30'].s['s10'].b['b80'] = {c:'301080', en:'Transport manufacturing (shipbuilding, trains)', nl:'Transportmiddelen (schepen, treinen)'};m['m30'].s['s10'].b['b90'] = {c:'301090', en:'Services for the machinery and transportation tools industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de machinebouw (huur, personeel, advies, onderhoud)'};m['m30'].s['s20'] = {c:'3020', en:'Electrical and electronic equipment manufacturing', nl:'Elektrische en elektronische apparaten'}; m['m30'].s['s20'].b = new Array();m['m30'].s['s20'].b['b10'] = {c:'302010', en:'Insulated cable and fibre manufacturing', nl:'Ge\u00EFsoleerde kabel en draad'};m['m30'].s['s20'].b['b20'] = {c:'302020', en:'Switch and relay manufacturing', nl:'Schakel- en verdeelinrichtingen'};m['m30'].s['s20'].b['b30'] = {c:'302030', en:'Electrical engine, generator, transformer manufacturing', nl:'Elektromotoren, generatoren en transformatoren'};m['m30'].s['s20'].b['b40'] = {c:'302040', en:'Electronic components manufacturing', nl:'Elektrische componenten'};m['m30'].s['s20'].b['b50'] = {c:'302050', en:'Lighting and lighting equipment manufacturing', nl:'Lampen en verlichtingsbenodigdheden'};m['m30'].s['s20'].b['b60'] = {c:'302060', en:'Measuring and control instruments manufacturing', nl:'Meet-, regel- en controleapparaten'};m['m30'].s['s20'].b['b70'] = {c:'302070', en:'Medical systems', nl:'Medische apparaten'};m['m30'].s['s20'].b['b80'] = {c:'302080', en:'Vending machines and other automatic machines', nl:'Automaten (speel-, verkoop-, parkeer-)'};m['m30'].s['s20'].b['b90'] = {c:'302090', en:'Services for the electrical and electronic equipment industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de elektrische en elektronische apparaten (huur, personeel, advies, onderhoud)'};m['m30'].s['s30'] = {c:'3030', en:'Aerospace and defence', nl:'Luchtvaart en defensie'}; m['m30'].s['s30'].b = new Array();m['m30'].s['s30'].b['b10'] = {c:'303010', en:'Aircraft manufacturing', nl:'Vliegtuigproducenten'};m['m30'].s['s30'].b['b20'] = {c:'303020', en:'Defence industry', nl:'Defensie producenten'};m['m30'].s['s30'].b['b30'] = {c:'303030', en:'Services for the aerospace and defence industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de luchtvaart en defensie (huur, personeel, advies, onderhoud)'};m['m40'] = {c:'40', en:'Utilities', nl:'Nutsbedrijven'}; m['m40'].s = new Array();m['m40'].s['s10'] = {c:'4010', en:'Electricity', nl:'Elektriciteit'}; m['m40'].s['s10'].b = new Array();m['m40'].s['s10'].b['b10'] = {c:'401010', en:'Electricity generation', nl:'Productie van elektriciteit'};m['m40'].s['s10'].b['b20'] = {c:'401020', en:'Electricity distribution', nl:'Distributeurs van elektriciteit'};m['m40'].s['s10'].b['b90'] = {c:'401090', en:'Services for the electricity industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de elektriciteitsbedrijven (huur, personeel, advies, onderhoud)'};m['m40'].s['s20'] = {c:'4020', en:'Gas distribution', nl:'Gasdistributie'}; m['m40'].s['s20'].b = new Array();m['m40'].s['s20'].b['b10'] = {c:'402010', en:'Distributors of natural and manufactured gas', nl:'Distributeurs van natuurlijk en geproduceerd gas'};m['m40'].s['s20'].b['b90'] = {c:'402090', en:'Services for the gas industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de gasbedrijven (huur, personeel, advies, onderhoud)'};m['m40'].s['s30'] = {c:'4030', en:'Water', nl:'Water'}; m['m40'].s['s30'].b = new Array();m['m40'].s['s30'].b['b10'] = {c:'403010', en:'Water distribution', nl:'Waterleidingbedrijven'};m['m40'].s['s30'].b['b20'] = {c:'403020', en:'Sewage treatment', nl:'Rioolwaterbedrijven'};m['m40'].s['s30'].b['b30'] = {c:'403030', en:'Water authority', nl:'Waterschappen'};m['m40'].s['s30'].b['b90'] = {c:'403090', en:'Services for the water industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de waterbedrijven (huur, personeel, advies, onderhoud)'};m['m50'] = {c:'50', en:'Agriculture and food', nl:'Landbouw en voedselproductie'}; m['m50'].s = new Array();m['m50'].s['s10'] = {c:'5010', en:'Agriculture', nl:'Landbouw'}; m['m50'].s['s10'].b = new Array();m['m50'].s['s10'].b['b10'] = {c:'501010', en:'Crop farming', nl:'Akker- en tuinbouw'};m['m50'].s['s10'].b['b20'] = {c:'501020', en:'Forestry and logging', nl:'Bosbouw'};m['m50'].s['s10'].b['b30'] = {c:'501030', en:'Animal farming', nl:'Veehouderij'};m['m50'].s['s10'].b['b40'] = {c:'501040', en:'Fishing', nl:'Visserij'};m['m50'].s['s10'].b['b90'] = {c:'501090', en:'Services for the agriculture (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de landbouw (huur, personeel, advies, onderhoud)'};m['m50'].s['s20'] = {c:'5020', en:'Food producing and processing', nl:'Voedselproductie'}; m['m50'].s['s20'].b = new Array();m['m50'].s['s20'].b['b10'] = {c:'502010', en:'Grain milling', nl:'Meelproductenvervaardiging'};m['m50'].s['s20'].b['b15'] = {c:'502015', en:'Vegetable and animal oils and fat processing', nl:'Plantaardige en dierlijke oli\u00EBn en vettenproductie'};m['m50'].s['s20'].b['b20'] = {c:'502020', en:'Fruits and vegetables processing', nl:'Groente- en fruitverwerking'};m['m50'].s['s20'].b['b25'] = {c:'502025', en:'Dairy product processing', nl:'Zuivelproductenvervaardiging'};m['m50'].s['s20'].b['b30'] = {c:'502030', en:'Slaughtering and meat processing', nl:'Slachterijen en vleesverwerking'};m['m50'].s['s20'].b['b35'] = {c:'502035', en:'Fish processing', nl:'Visverwerking'};m['m50'].s['s20'].b['b40'] = {c:'502040', en:'Animal food processing', nl:'Diervoederproductie'};m['m50'].s['s20'].b['b45'] = {c:'502045', en:'Bakery products manufacturing', nl:'Brood en bakkerijproductie'};m['m50'].s['s20'].b['b50'] = {c:'502050', en:'Meals and meal ingredient manufacturing', nl:'Maaltijd en maaltijdingredi\u00EBnten'};m['m50'].s['s20'].b['b55'] = {c:'502055', en:'Sweets', nl:'Zoetwaren'};m['m50'].s['s20'].b['b90'] = {c:'502090', en:'Services for the food industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de voedselproductie (huur, personeel, advies, onderhoud)'};m['m50'].s['s30'] = {c:'5030', en:'Beverages', nl:'Drankenproductie'}; m['m50'].s['s30'].b = new Array();m['m50'].s['s30'].b['b10'] = {c:'503010', en:'Coffee and tea', nl:'Koffiebranderijen en theepakkerijen'};m['m50'].s['s30'].b['b20'] = {c:'503020', en:'Distilleries and liquor', nl:'Distilleerderijen en likeurstokerijen'};m['m50'].s['s30'].b['b30'] = {c:'503030', en:'Beer breweries', nl:'Bierbrouwerijen'};m['m50'].s['s30'].b['b40'] = {c:'503040', en:'Soft drinks and carbonated waters', nl:'Frisdranken en mineraalwaterproductie'};m['m50'].s['s30'].b['b45'] = {c:'503045', en:'Fruit juices', nl:'Vruchtensappen'};m['m50'].s['s30'].b['b50'] = {c:'503050', en:'Wine', nl:'Wijn'};m['m50'].s['s30'].b['b90'] = {c:'503090', en:'Services for the beverage industries (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de drankenproductie (huur, personeel, advies, onderhoud)'};m['m50'].s['s40'] = {c:'5040', en:'Tobacco', nl:'Tabak'}; m['m50'].s['s40'].b = new Array();m['m50'].s['s40'].b['b10'] = {c:'504010', en:'Tobacco producers', nl:'Tabaksproducenten'};m['m55'] = {c:'55', en:'Consumer products', nl:'Consumentengoederen'}; m['m55'].s = new Array();m['m55'].s['s10'] = {c:'5510', en:'Automobile production', nl:'Automobielproductie'}; m['m55'].s['s10'].b = new Array();m['m55'].s['s10'].b['b10'] = {c:'551010', en:'Automobile manufacturing', nl:'Automobielfabricage'};m['m55'].s['s10'].b['b20'] = {c:'551020', en:'Car parts manufacturing', nl:'Auto-onderdelen fabricage'};m['m55'].s['s10'].b['b30'] = {c:'551030', en:'Rubber and tires', nl:'Banden- en rubberfabricage'};m['m55'].s['s10'].b['b90'] = {c:'551090', en:'Services for the automobile industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de automobielindustrie (huur, personeel, advies, onderhoud)'};m['m55'].s['s20'] = {c:'5520', en:'Domestic appliance manufacturing', nl:'Huishoudelijke goederenproductie'}; m['m55'].s['s20'].b = new Array();m['m55'].s['s20'].b['b10'] = {c:'552010', en:'Furniture manufacturing', nl:'Meubilairproductie'};m['m55'].s['s20'].b['b20'] = {c:'552020', en:'Bicycle manufacturing', nl:'Fietsproductie'};m['m55'].s['s20'].b['b30'] = {c:'552030', en:'Jewellery manufacturing', nl:'Sieradenproductie'};m['m55'].s['s20'].b['b40'] = {c:'552040', en:'Clothing manufacturing', nl:'Kledingproductie'};m['m55'].s['s20'].b['b50'] = {c:'552050', en:'Footwear manufacturing', nl:'Schoeiselproductie'};m['m55'].s['s20'].b['b60'] = {c:'552060', en:'Textile manufacturing', nl:'Textielproductie'};m['m55'].s['s20'].b['b70'] = {c:'552070', en:'Domestic appliances manufacturing', nl:'Huishoudelijke apparaten productie'};m['m55'].s['s30'] = {c:'5530', en:'Personal care and cleaning', nl:'Persoonlijke verzorging en schoonmaak'}; m['m55'].s['s30'].b = new Array();m['m55'].s['s30'].b['b10'] = {c:'553010', en:'Cleaning products', nl:'Reinigingsmiddelenproductie'};m['m55'].s['s30'].b['b20'] = {c:'553020', en:'Personal care products', nl:'Productie van persoonlijke hygi\u00EBne producten, toiletartikelen en parfums'};m['m60'] = {c:'60', en:'Media, entertainment, travel and recreation', nl:'Media, entertainment, reizen en recreatie'}; m['m60'].s = new Array();m['m60'].s['s10'] = {c:'6010', en:'Printed media', nl:'Gedrukte media'}; m['m60'].s['s10'].b = new Array();m['m60'].s['s10'].b['b10'] = {c:'601010', en:'Newspapers and press agencies', nl:'Kranten en persbureaus'};m['m60'].s['s10'].b['b20'] = {c:'601020', en:'Publishing', nl:'Uitgevers'};m['m60'].s['s10'].b['b30'] = {c:'601030', en:'Printing', nl:'Drukkerijen'};m['m60'].s['s10'].b['b90'] = {c:'601090', en:'Services for the printed media (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de gedrukte media (huur, advies, personeel, onderhoud)'};m['m60'].s['s20'] = {c:'6020', en:'Entertainment', nl:'Entertainment'}; m['m60'].s['s20'].b = new Array();m['m60'].s['s20'].b['b05'] = {c:'602005', en:'Music producers', nl:'Muziekproductie'};m['m60'].s['s20'].b['b10'] = {c:'602010', en:'Games producers', nl:'Gamesproductie'};m['m60'].s['s20'].b['b20'] = {c:'602020', en:'Film producers', nl:'Filmproductie'};m['m60'].s['s20'].b['b30'] = {c:'602030', en:'Film distributors', nl:'Filmdistributeurs'};m['m60'].s['s20'].b['b40'] = {c:'602040', en:'Radio and television producers', nl:'Radio- en televisieprogrammaproductie'};m['m60'].s['s20'].b['b50'] = {c:'602050', en:'Radio and television broadcasters', nl:'Radio- en televisie omroeporganisaties'};m['m60'].s['s20'].b['b60'] = {c:'602060', en:'Theatre, concert houses and art institutions', nl:'Theaters, schouwburgen, concertgebouwen en kunstinstellingen'};m['m60'].s['s20'].b['b70'] = {c:'602070', en:'Gambling', nl:'Gokindustrie'};m['m60'].s['s20'].b['b80'] = {c:'602080', en:'Sport', nl:'Sport'};m['m60'].s['s20'].b['b90'] = {c:'602090', en:'Services for the entertainment industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de entertainment (huur, advies, personeel, onderhoud)'};m['m60'].s['s30'] = {c:'6030', en:'Edutainment', nl:'Edutainment'}; m['m60'].s['s30'].b = new Array();m['m60'].s['s30'].b['b10'] = {c:'603010', en:'Museums', nl:'Musea'};m['m60'].s['s30'].b['b20'] = {c:'603020', en:'Libraries', nl:'Bibliotheken'};m['m60'].s['s30'].b['b90'] = {c:'603090', en:'Services for the edutainment industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de edutainment (huur, advies, personeel, onderhoud)'};m['m60'].s['s40'] = {c:'6040', en:'Travel and recreation', nl:'Reizen en recreatie'}; m['m60'].s['s40'].b = new Array();m['m60'].s['s40'].b['b10'] = {c:'604010', en:'Hotels, restaurants and bars', nl:'Horeca'};m['m60'].s['s40'].b['b15'] = {c:'604015', en:'Convention organisations and rental halls', nl:'Congresorganisaties en zaalverhuur'};m['m60'].s['s40'].b['b20'] = {c:'604020', en:'Holiday resorts', nl:'Vakantieparken exploitanten'};m['m60'].s['s40'].b['b25'] = {c:'604025', en:'Amusement parks and zoos', nl:'Amusementsparken en dierentuinen'};m['m60'].s['s40'].b['b30'] = {c:'604030', en:'Travel agencies', nl:'Reisorganisaties'};m['m60'].s['s40'].b['b40'] = {c:'604040', en:'Car rental', nl:'Autoverhuur'};m['m60'].s['s40'].b['b90'] = {c:'604090', en:'Services for the recreational industry (rental, consulting, personnel, maintenance)', nl:'Dienstverlening voor de recreatie (huur, personeel, advies, onderhoud)'};m['m70'] = {c:'70', en:'IT hardware and telecom', nl:'IT en telecom'}; m['m70'].s = new Array();m['m70'].s['s10'] = {c:'7010', en:'IT hardware', nl:'IT hardware'}; m['m70'].s['s10'].b = new Array();m['m70'].s['s10'].b['b10'] = {c:'701010', en:'Semiconductors', nl:'Halfgeleiders en chips'};m['m70'].s['s10'].b['b20'] = {c:'701020', en:'Computer hardware', nl:'Computer hardware'};m['m70'].s['s10'].b['b30'] = {c:'701030', en:'Telecom appliances', nl:'Telecommunicatie apparatuur'};m['m70'].s['s10'].b['b40'] = {c:'701040', en:'Audio, video and telecom products', nl:'Audio-, video- en telecomapparatuur productie'};m['m70'].s['s10'].b['b50'] = {c:'701050', en:'Services for the information technology hardware', nl:'Dienstverlening voor de informatie technologie hardware'};m['m70'].s['s20'] = {c:'7020', en:'Telecommunication', nl:'Telecommunicatie'}; m['m70'].s['s20'].b = new Array();m['m70'].s['s20'].b['b10'] = {c:'702010', en:'Fixed line', nl:'Vaste lijn'};m['m70'].s['s20'].b['b20'] = {c:'702020', en:'Cable', nl:'Kabel'};m['m70'].s['s20'].b['b30'] = {c:'702030', en:'Cellular', nl:'Mobiel'};m['m70'].s['s20'].b['b40'] = {c:'702040', en:'Wireless communication', nl:'Draadloos communicatie (radio, tv etc.)'};m['m70'].s['s20'].b['b50'] = {c:'702050', en:'Internet providers', nl:'Internetproviders'};m['m70'].s['s20'].b['b90'] = {c:'702090', en:'Services for the telecom industry', nl:'Dienstverlening voor de telecommunicatie'};m['m70'].s['s30'] = {c:'7030', en:'Software and internet', nl:'Software en internet'}; m['m70'].s['s30'].b = new Array();m['m70'].s['s30'].b['b10'] = {c:'703010', en:'Software and internet services', nl:'Software en internetdiensten'};m['m70'].s['s40'] = {c:'7040', en:'IT services', nl:'IT dienstverleners'}; m['m70'].s['s40'].b = new Array();m['m70'].s['s40'].b['b10'] = {c:'704010', en:'IT service organisations', nl:'IT diensten'};m['m75'] = {c:'75', en:'Transport', nl:'Transport'}; m['m75'].s = new Array();m['m75'].s['s10'] = {c:'7510', en:'Land transport', nl:'Landtransport'}; m['m75'].s['s10'].b = new Array();m['m75'].s['s10'].b['b10'] = {c:'751010', en:'Rail transport', nl:'Railtransport'};m['m75'].s['s10'].b['b20'] = {c:'751020', en:'Road transport', nl:'Wegtransport'};m['m75'].s['s10'].b['b30'] = {c:'751030', en:'Pipeline transport', nl:'Pijpleidingtransport'};m['m75'].s['s10'].b['b40'] = {c:'751040', en:'Ground passenger transportation', nl:'Personenvervoer over land'};m['m75'].s['s20'] = {c:'7520', en:'Water transport', nl:'Watertransport'}; m['m75'].s['s20'].b = new Array();m['m75'].s['s20'].b['b10'] = {c:'752010', en:'Ocean and coastal water transport', nl:'Kust en grote vaart'};m['m75'].s['s20'].b['b20'] = {c:'752020', en:'Inland water transport', nl:'Binnenvaart'};m['m75'].s['s20'].b['b30'] = {c:'752030', en:'Harbours', nl:'Havens'};m['m75'].s['s30'] = {c:'7530', en:'Air transport', nl:'Luchttransport'}; m['m75'].s['s30'].b = new Array();m['m75'].s['s30'].b['b10'] = {c:'753010', en:'Airlines', nl:'Luchtvaartmaatschappijen'};m['m75'].s['s30'].b['b20'] = {c:'753020', en:'Airports', nl:'Luchthavens'};m['m75'].s['s40'] = {c:'7540', en:'Transport services', nl:'Transportdiensten'}; m['m75'].s['s40'].b = new Array();m['m75'].s['s40'].b['b10'] = {c:'754010', en:'Warehousing and storage', nl:'Laad-, los- en overslagactiviteiten en opslag'};m['m75'].s['s40'].b['b20'] = {c:'754020', en:'Post, courier and logistics services', nl:'Post-, koeriers en logistieke diensten'};m['m75'].s['s40'].b['b90'] = {c:'754090', en:'Services for the transport industry (rental, consulting, personnel, expedition)', nl:'Dienstverlening voor de transport (huur, personeel, advies, expeditie)'};m['m80'] = {c:'80', en:'Trade', nl:'Handel'}; m['m80'].s = new Array();m['m80'].s['s10'] = {c:'8010', en:'Wholesale', nl:'Groothandel'}; m['m80'].s['s10'].b = new Array();m['m80'].s['s10'].b['b10'] = {c:'801010', en:'Metal and metal products wholesale', nl:'Metalen en metaalproducten groothandel'};m['m80'].s['s10'].b['b15'] = {c:'801015', en:'Chemicals wholesale', nl:'Chemie groothandel'};m['m80'].s['s10'].b['b20'] = {c:'801020', en:'Pharmaceuticals wholesale', nl:'Farmacie groothandel'};m['m80'].s['s10'].b['b25'] = {c:'801025', en:'Construction wholesale', nl:'Bouwgroothandel'};m['m80'].s['s10'].b['b30'] = {c:'801030', en:'Packaging and paper wholesale', nl:'Verpakkingen- en papiergroothandel'};m['m80'].s['s10'].b['b35'] = {c:'801035', en:'Machinery wholesale', nl:'Machines- en apparatengroothandel'};m['m80'].s['s10'].b['b40'] = {c:'801040', en:'Electrical and electronic equipment wholesale', nl:'Elektrische en elektronische apparatengroothandel'};m['m80'].s['s10'].b['b45'] = {c:'801045', en:'Agriculture wholesale', nl:'Landbouwgroothandel'};m['m80'].s['s10'].b['b50'] = {c:'801050', en:'Food and beverages wholesale', nl:'Voedsel en drankengroothandel'};m['m80'].s['s10'].b['b55'] = {c:'801055', en:'Tobacco wholesale', nl:'Tabakgroothandel'};m['m80'].s['s10'].b['b60'] = {c:'801060', en:'Automobile wholesale', nl:'Automobielgroothandel'};m['m80'].s['s10'].b['b65'] = {c:'801065', en:'Domestic appliances wholesale', nl:'Huishoudelijke goederengroothandel'};m['m80'].s['s10'].b['b70'] = {c:'801070', en:'Personal care and cleaning wholesale', nl:'Persoonlijke verzorginggroothandel'};m['m80'].s['s10'].b['b72'] = {c:'801072', en:'Office equipment wholesale', nl:'Kantoorbenodigdheden groothandel'};m['m80'].s['s10'].b['b75'] = {c:'801075', en:'IT hardware wholesale', nl:'IT hardware groothandel'};m['m80'].s['s10'].b['b80'] = {c:'801080', en:'Telecom wholesale', nl:'Telecommunicatie groothandel'};m['m80'].s['s10'].b['b85'] = {c:'801085', en:'Oil and gas wholesale', nl:'Olie en gas groothandel'};m['m80'].s['s10'].b['b87'] = {c:'801087', en:'General wholesale', nl:'Overige groothandel'};m['m80'].s['s10'].b['b90'] = {c:'801090', en:'Services for the wholesale trade (consulting, personnel)', nl:'Dienstverlening voor de groothandel (advies, personeel)'};m['m80'].s['s20'] = {c:'8020', en:'Retail', nl:'Detailhandel'}; m['m80'].s['s20'].b = new Array();m['m80'].s['s20'].b['b10'] = {c:'802010', en:'Gasoline stations', nl:'Benzinestations'};m['m80'].s['s20'].b['b15'] = {c:'802015', en:'Pharmacies', nl:'Apotheken'};m['m80'].s['s20'].b['b20'] = {c:'802020', en:'Building material and garden equipment dealers', nl:'Bouwmarkten en tuincentra'};m['m80'].s['s20'].b['b25'] = {c:'802025', en:'Electrical and electronic equipment stores', nl:'Elektrische en elektronische apparatenwinkels'};m['m80'].s['s20'].b['b30'] = {c:'802030', en:'Food and beverages stores (incl. supermarkets)', nl:'Levensmiddelenwinkels (incl. supermarkten)'};m['m80'].s['s20'].b['b40'] = {c:'802040', en:'Automotive retail and repair', nl:'Autodealers en -reparatie'};m['m80'].s['s20'].b['b45'] = {c:'802045', en:'Domestic appliances stores (incl. clothing, sports and furniture, books)', nl:'Huishoudelijke goederenwinkels (incl. kleding, sport en meubels, boeken)'};m['m80'].s['s20'].b['b50'] = {c:'802050', en:'Personal care and cleaning stores', nl:'Persoonlijke verzorgingwinkels (drogisterijen, parfumerien, juweliers, opticiens)'};m['m80'].s['s20'].b['b55'] = {c:'802055', en:'Computer stores', nl:'Computerwinkels'};m['m80'].s['s20'].b['b60'] = {c:'802060', en:'Telecom stores', nl:'Telecomwinkels'};m['m80'].s['s20'].b['b65'] = {c:'802065', en:'Department stores', nl:'Warenhuizen'};m['m80'].s['s20'].b['b90'] = {c:'802090', en:'Services for the retail trade (consulting, personnel)', nl:'Dienstverlening voor de detailhandel (advies, personeel)'};m['m85'] = {c:'85', en:'Financial institutions', nl:'Financi\u00EBle instellingen'}; m['m85'].s = new Array();m['m85'].s['s10'] = {c:'8510', en:'Central, governmental and development banks', nl:'Centrale, overheids en ontwikkelingsbanken'}; m['m85'].s['s10'].b = new Array();m['m85'].s['s10'].b['b10'] = {c:'851010', en:'Central banks and monetary authorities', nl:'Centrale banken en toezichthouders'};m['m85'].s['s10'].b['b30'] = {c:'851030', en:'Governmental and Development banks', nl:'Overheids en Ontwikkelingsbanken'};m['m85'].s['s20'] = {c:'8520', en:'Banks', nl:'Banken'}; m['m85'].s['s20'].b = new Array();m['m85'].s['s20'].b['b10'] = {c:'852010', en:'Retail banks', nl:'Retailbanken'};m['m85'].s['s20'].b['b20'] = {c:'852020', en:'Commercial financing', nl:'Commerci\u00EBle financieringsmaatschappijen'};m['m85'].s['s20'].b['b30'] = {c:'852030', en:'Mortgage banks', nl:'Hypotheekbanken'};m['m85'].s['s20'].b['b39'] = {c:'852039', en:'Commercial banks', nl:'Zakenbanken'};m['m85'].s['s20'].b['b40'] = {c:'852040', en:'Investment banks', nl:'Investmentbanken'};m['m85'].s['s20'].b['b50'] = {c:'852050', en:'Savings banks', nl:'Spaarbanken'};m['m85'].s['s20'].b['b90'] = {c:'852090', en:'Services for the banking industry (consulting, personnel)', nl:'Dienstverlening voor de banken (advies, personeel)'};m['m85'].s['s30'] = {c:'8530', en:'Insurance', nl:'Verzekeraars'}; m['m85'].s['s30'].b = new Array();m['m85'].s['s30'].b['b05'] = {c:'853005', en:'Health insurance', nl:'Zorgverzekeraars'};m['m85'].s['s30'].b['b10'] = {c:'853010', en:'Life insurance', nl:'Levensverzekeraars'};m['m85'].s['s30'].b['b20'] = {c:'853020', en:'Non-life insurance', nl:'Schadeverzekeraars'};m['m85'].s['s30'].b['b30'] = {c:'853030', en:'In kind insurance', nl:'Naturaverzekeraars'};m['m85'].s['s30'].b['b40'] = {c:'853040', en:'Financial intermediaries', nl:'Assurantietussenpersonen'};m['m85'].s['s30'].b['b50'] = {c:'853050', en:'Re-insurance', nl:'Herverzekeraars'};m['m85'].s['s30'].b['b70'] = {c:'853070', en:'Credit insurance', nl:'Kredietverzekeraars'};m['m85'].s['s30'].b['b90'] = {c:'853090', en:'Service for the insurance industry (consulting, personnel)', nl:'Dienstverlening voor de verzekeraars (advies, personeel)'};m['m85'].s['s35'] = {c:'8535', en:'Stock exchanges and Security Brokers', nl:'Beurzen en Effectenmakelaars'}; m['m85'].s['s35'].b = new Array();m['m85'].s['s35'].b['b10'] = {c:'853510', en:'Exchanges', nl:'Beurzen'};m['m85'].s['s35'].b['b20'] = {c:'853520', en:'Security brokerage', nl:'Effectenmakelaars'};m['m85'].s['s40'] = {c:'8540', en:'Funds', nl:'Beleggingsfondsen'}; m['m85'].s['s40'].b = new Array();m['m85'].s['s40'].b['b10'] = {c:'854010', en:'Stock funds', nl:'Aandelen beleggingsfondsen'};m['m85'].s['s40'].b['b20'] = {c:'854020', en:'Bond funds', nl:'Obligatie beleggingsfondsen'};m['m85'].s['s40'].b['b30'] = {c:'854030', en:'Real estate funds', nl:'Onroerend goed beleggingsfondsen'};m['m85'].s['s40'].b['b40'] = {c:'854040', en:'Mixed funds', nl:'Gemengde beleggingsfondsen'};m['m85'].s['s40'].b['b50'] = {c:'854050', en:'Umbrella funds', nl:'Paraplufondsen'};m['m85'].s['s50'] = {c:'8550', en:'Investment firms and holding companies', nl:'Investerings- en participatie- en holdingmaatschappijen'}; m['m85'].s['s50'].b = new Array();m['m85'].s['s50'].b['b10'] = {c:'855010', en:'Investment firms', nl:'Investerings- en participatiemaatschappijen'};m['m85'].s['s50'].b['b20'] = {c:'855020', en:'Holding companies', nl:'Holding- en beheermaatschappijen'};m['m85'].s['s60'] = {c:'8560', en:'Speciality finance', nl:'Speciale financiering'}; m['m85'].s['s60'].b = new Array();m['m85'].s['s60'].b['b10'] = {c:'856010', en:'Credit card issuing', nl:'Credit card maatschappijen'};m['m85'].s['s60'].b['b20'] = {c:'856020', en:'Lease companies (car, airplanes etc.)', nl:'Leasemaatschappijen (auto, vliegtuigen etc.)'};m['m85'].s['s70'] = {c:'8570', en:'Pension funds', nl:'Pensioenfondsen'}; m['m85'].s['s70'].b = new Array();m['m85'].s['s70'].b['b10'] = {c:'857010', en:'Industry pension funds not obligatory', nl:'Bedrijfstakpensioenfondsen niet verplichtgesteld'};m['m85'].s['s70'].b['b15'] = {c:'857015', en:'Industry pension funds obligatory', nl:'Bedrijfstakpensioenfondsen verplichtgesteld'};m['m85'].s['s70'].b['b20'] = {c:'857020', en:'Company pension funds', nl:'Ondernemingspensioenfondsen'};m['m85'].s['s70'].b['b25'] = {c:'857025', en:'Goverment pension funds', nl:'Overheidspensioenfondsen'};m['m85'].s['s70'].b['b30'] = {c:'857030', en:'Occupational pension funds', nl:'Beroepspensioenfondsen'};m['m85'].s['s70'].b['b40'] = {c:'857040', en:'Early retirement pension funds', nl:'Vervroegde uittredingsfondsen'};m['m85'].s['s70'].b['b50'] = {c:'857050', en:'Social funds', nl:'Sociale fondsen'};m['m85'].s['s70'].b['b60'] = {c:'857060', en:'Pension trusts', nl:'Pensioen b.v.\'s'};m['m85'].s['s70'].b['b90'] = {c:'857090', en:'Services for the pension funds (consulting, personnel)', nl:'Dienstverlening voor de pensioenfondsen (advies, personeel)'};m['m90'] = {c:'90', en:'Services', nl:'Dienstverlening'}; m['m90'].s = new Array();m['m90'].s['s10'] = {c:'9010', en:'Consulting', nl:'Advies'}; m['m90'].s['s10'].b = new Array();m['m90'].s['s10'].b['b10'] = {c:'901010', en:'Accountants and auditors', nl:'Accountancy'};m['m90'].s['s10'].b['b12'] = {c:'901012', en:'Bookkeepers', nl:'Administratiediensten'};m['m90'].s['s10'].b['b15'] = {c:'901015', en:'Legal services', nl:'Juridisch advies'};m['m90'].s['s10'].b['b20'] = {c:'901020', en:'Architects', nl:'Architectenbureaus'};m['m90'].s['s10'].b['b25'] = {c:'901025', en:'Economic consulting', nl:'Economische adviesbureaus'};m['m90'].s['s10'].b['b30'] = {c:'901030', en:'Engineering services', nl:'Ingenieursbureaus'};m['m90'].s['s10'].b['b35'] = {c:'901035', en:'Inspection and testing services', nl:'Keuring en controle'};m['m90'].s['s10'].b['b40'] = {c:'901040', en:'Market and opinion research services', nl:'Markt- en opinieonderzoekbureaus'};m['m90'].s['s10'].b['b45'] = {c:'901045', en:'Attorney services', nl:'Notarisdiensten'};m['m90'].s['s10'].b['b50'] = {c:'901050', en:'Management consulting', nl:'Organisatieadvies'};m['m90'].s['s10'].b['b55'] = {c:'901055', en:'Advertising and related services', nl:'Reclame-, public relations en mediabureaus'};m['m90'].s['s10'].b['b60'] = {c:'901060', en:'Research', nl:'Onderzoek'};m['m90'].s['s20'] = {c:'9020', en:'Personnel services', nl:'Personeel'}; m['m90'].s['s20'].b = new Array();m['m90'].s['s20'].b['b10'] = {c:'902010', en:'Employment office', nl:'Arbeidsbemiddelingsbureaus'};m['m90'].s['s20'].b['b20'] = {c:'902020', en:'Secondment services', nl:'Detacheringbureaus'};m['m90'].s['s20'].b['b30'] = {c:'902030', en:'Temporary employment agency', nl:'Uitzendbureaus'};m['m90'].s['s30'] = {c:'9030', en:'Facility management and outsourcing', nl:'Facility en outsourcing'}; m['m90'].s['s30'].b = new Array();m['m90'].s['s30'].b['b10'] = {c:'903010', en:'Call centres', nl:'Callcentra'};m['m90'].s['s30'].b['b20'] = {c:'903020', en:'Collection services', nl:'Incasso diensten'};m['m90'].s['s30'].b['b30'] = {c:'903030', en:'Security and reception services', nl:'Beveiligings- en receptiediensten'};m['m90'].s['s30'].b['b40'] = {c:'903040', en:'Cleaning services', nl:'Schoonmaakdiensten'};m['m90'].s['s40'] = {c:'9040', en:'Environmental services', nl:'Milieu'}; m['m90'].s['s40'].b = new Array();m['m90'].s['s40'].b['b10'] = {c:'904010', en:'Waste treatment', nl:'Afvalverwerking'};m['m90'].s['s40'].b['b20'] = {c:'904020', en:'Waste collection', nl:'Afvalophaaldiensten'};m['m90'].s['s40'].b['b25'] = {c:'904025', en:'Remediation', nl:'Sanering'};m['m90'].s['s40'].b['b30'] = {c:'904030', en:'Environmental consulting', nl:'Milieuadviesdiensten'};m['m90'].s['s50'] = {c:'9050', en:'Real estate', nl:'Onroerend goed'}; m['m90'].s['s50'].b = new Array();m['m90'].s['s50'].b['b10'] = {c:'905010', en:'Real estate agents', nl:'Makelaars'};m['m90'].s['s50'].b['b20'] = {c:'905020', en:'Project development', nl:'Projectontwikkeling'};m['m90'].s['s50'].b['b25'] = {c:'905025', en:'Management of real estate', nl:'Beheer van onroerend goed'};m['m90'].s['s50'].b['b30'] = {c:'905030', en:'Rental and lease of real estate', nl:'Verhuur van onroerend goed'};m['m90'].s['s50'].b['b90'] = {c:'905090', en:'Service for the real estate industry', nl:'Dienstverlening voor de onroerend goed'};m['m95'] = {c:'95', en:'Institutions', nl:'Instellingen'}; m['m95'].s = new Array();m['m95'].s['s10'] = {c:'9510', en:'Housing agencies', nl:'Woningcorporaties'}; m['m95'].s['s10'].b = new Array();m['m95'].s['s10'].b['b10'] = {c:'951010', en:'Housing agencies (associations and foundations)', nl:'Woningcorporaties (verenigingen en stichtingen)'};m['m95'].s['s20'] = {c:'9520', en:'Education', nl:'Onderwijs en opleiding'}; m['m95'].s['s20'].b = new Array();m['m95'].s['s20'].b['b05'] = {c:'952005', en:'Basic education and child care', nl:'Basisonderwijs en kinderopvang'};m['m95'].s['s20'].b['b07'] = {c:'952007', en:'Secondary education', nl:'Voortgezet onderwijs'};m['m95'].s['s20'].b['b08'] = {c:'952008', en:'Vocational education', nl:'Beroepsonderwijs'};m['m95'].s['s20'].b['b10'] = {c:'952010', en:'Regional education centres', nl:'Regionaal opleidingscentra'};m['m95'].s['s20'].b['b20'] = {c:'952020', en:'Colleges', nl:'Hogescholen'};m['m95'].s['s20'].b['b30'] = {c:'952030', en:'Universities', nl:'Universiteiten'};m['m95'].s['s20'].b['b40'] = {c:'952040', en:'Commercial educational institutions', nl:'Commerci\u00EBle opleidingsinstituten'};m['m95'].s['s20'].b['b90'] = {c:'952090', en:'Services for the educational industry (rental, personnel, consulting, maintenance)', nl:'Dienstverlening voor de onderwijsinstellingen (huur, personeel, advies, onderhoud)'};m['m95'].s['s30'] = {c:'9530', en:'Charities', nl:'Goede doelen organisaties'}; m['m95'].s['s30'].b = new Array();m['m95'].s['s30'].b['b10'] = {c:'953010', en:'Health charities', nl:'Gezondheids goede doelen'};m['m95'].s['s30'].b['b20'] = {c:'953020', en:'International help charities', nl:'Internationale hulp goede doelen'};m['m95'].s['s30'].b['b30'] = {c:'953030', en:'Environmental charities', nl:'Natuur en milieu goede doelen'};m['m95'].s['s30'].b['b40'] = {c:'953040', en:'Welfare charities', nl:'Welzijns goede doelen'};m['m95'].s['s30'].b['b90'] = {c:'953090', en:'Services for the welfare industry (personnel, consulting)', nl:'Dienstverlening voor de goede doelen organisaties (personeel, advies)'};m['m95'].s['s40'] = {c:'9540', en:'Membership organisations', nl:'Ledenorganisaties'}; m['m95'].s['s40'].b = new Array();m['m95'].s['s40'].b['b10'] = {c:'954010', en:'Interest groups', nl:'Belangenverenigingen'};m['m95'].s['s40'].b['b20'] = {c:'954020', en:'Political parties', nl:'Politieke organisaties'};m['m95'].s['s40'].b['b30'] = {c:'954030', en:'Religious organisations', nl:'Religieuze en levensbeschouwelijke organisaties'};m['m95'].s['s40'].b['b40'] = {c:'954040', en:'Employee organisations', nl:'Werknemersorganisaties'};m['m95'].s['s40'].b['b50'] = {c:'954050', en:'Industry, employers and professional bodies', nl:'Bedrijfs-, werkgevers- en beroepsorganisaties'};m['m95'].s['s40'].b['b90'] = {c:'954090', en:'Services for the membership organisations industry', nl:'Dienstverlening voor de ledenorganisaties (personeel, advies)'};m['m95'].s['s50'] = {c:'9550', en:'Health and welfare', nl:'Zorginstellingen'}; m['m95'].s['s50'].b = new Array();m['m95'].s['s50'].b['b20'] = {c:'955020', en:'General hospitals', nl:'Algemene ziekenhuizen'};m['m95'].s['s50'].b['b25'] = {c:'955025', en:'Categorial hospitals and clinics', nl:'Categorale ziekenhuizen en klinieken'};m['m95'].s['s50'].b['b28'] = {c:'955028', en:'Municipal health services', nl:'Gemeentelijke Gezondheidsdiensten (GGD)'};m['m95'].s['s50'].b['b30'] = {c:'955030', en:'Psychiatric care', nl:'Geestelijke Gezondheidszorg (GGZ)'};m['m95'].s['s50'].b['b35'] = {c:'955035', en:'Care for physically challenged', nl:'Fysiek gehandicaptenzorg'};m['m95'].s['s50'].b['b40'] = {c:'955040', en:'Offices of health practitioners', nl:'Artsenpraktijken'};m['m95'].s['s50'].b['b75'] = {c:'955075', en:'Elderly care and nursing', nl:'Ouderenverzorging en -verpleging'};m['m95'].s['s50'].b['b80'] = {c:'955080', en:'Medical research and laboratories', nl:'Medisch onderzoek en laboratoria'};m['m95'].s['s50'].b['b85'] = {c:'955085', en:'Social work (incl youth care)', nl:'Welzijnszorg (sociaal werk, jeugdzorg)'};m['m95'].s['s50'].b['b88'] = {c:'955088', en:'Home and maternity care', nl:'Thuis- en kraamzorg'};m['m95'].s['s50'].b['b89'] = {c:'955089', en:'Funeral services', nl:'Uitvaartverzorging'};m['m95'].s['s50'].b['b90'] = {c:'955090', en:'Services for the health and welfare industry', nl:'Dienstverlening voor de zorginstellingen'};m['m99'] = {c:'99', en:'Government', nl:'Overheid'}; m['m99'].s = new Array();m['m99'].s['s10'] = {c:'9910', en:'Central government', nl:'Centrale overheid'}; m['m99'].s['s10'].b = new Array();m['m99'].s['s10'].b['b10'] = {c:'991010', en:'Departments', nl:'Ministeries'};m['m99'].s['s10'].b['b20'] = {c:'991020', en:'States and provinces', nl:'Provincies'};m['m99'].s['s10'].b['b30'] = {c:'991030', en:'Municipalities', nl:'Gemeenten'};m['m99'].s['s20'] = {c:'9920', en:'Governmental organisations', nl:'Overheidsorganisaties'}; m['m99'].s['s20'].b = new Array();m['m99'].s['s20'].b['b10'] = {c:'992010', en:'Police', nl:'Politie'};m['m99'].s['s20'].b['b20'] = {c:'992020', en:'Justice', nl:'Rechterlijke macht'};m['m99'].s['s20'].b['b30'] = {c:'992030', en:'Correctional institutions', nl:'Justiti\u00EBle inrichtingen'};m['m99'].s['s20'].b['b40'] = {c:'992040', en:'Fire brigades', nl:'Brandweer'};m['m99'].s['s20'].b['b50'] = {c:'992050', en:'Chambers of commerce', nl:'Kamers van Koophandel'};m['m99'].s['s30'] = {c:'9930', en:'Governmental agencies', nl:'Overheidsagentschappen'}; m['m99'].s['s30'].b = new Array();m['m99'].s['s30'].b['b10'] = {c:'993010', en:'Support funds and Social insurance', nl:'Steunfondsen en Sociale verzekeringen'};m['m99'].s['s30'].b['b20'] = {c:'993020', en:'Advisory institutions', nl:'Adviescolleges'};m['m99'].s['s30'].b['b30'] = {c:'993030', en:'Government agents', nl:'Zelfstandige bestuursorganen'};m['m99'].s['s30'].b['b40'] = {c:'993040', en:'Public industry organisations', nl:'Publiekrechtelijke bedrijfsorganen'};m['m99'].s['s30'].b['b50'] = {c:'993050', en:'Government departments', nl:'Ministeri\u00EBle en gemeente-onderdelen'};m['m99'].s['s40'] = {c:'9940', en:'Intergovernmental organisations', nl:'Intergouvermentele organisaties'}; m['m99'].s['s40'].b = new Array();m['m99'].s['s40'].b['b10'] = {c:'994010', en:'Intra and intergovernmental organisations', nl:'Intra en intergouvermentele organisaties'};