/*	Companies Everyone's talking about*/var whoCompaniesDocsAjaxReq;var whoCompaniesDocs = '';var whoCompaniesStart = 1;var whoCompaniesTotal = 0;function showwhoCompaniesDocuments() {	var url = 'LUIPWhosWho?ReadViewEntries&start=' + '1' + '&count=' + '1' + '&restricttocategory=' + IndustrySectorUNID + '&outputformat=JSON' + '&ms='+ new Date().getTime();	whoCompaniesDocsAjaxReq = createAJAXRequest(url, whoCompaniesDocsResponseFunction);	whoCompaniesDocsAjaxReq.send(null);	}function whoCompaniesDocsResponseFunction() {	if (whoCompaniesDocsAjaxReq.readyState === 4){		if (whoCompaniesDocsAjaxReq.status === 200) {			eval("whoCompaniesDocs = " + whoCompaniesDocsAjaxReq.responseText );			outputwhoCompaniesDocuments();		} else alert("AJAX failed with error: \n" + whoCompaniesDocsAjaxReq.status + " - " + whoCompaniesDocsAjaxReq.statusText);	}	}function outputwhoCompaniesDocuments() {	if (typeof whoCompaniesDocs != "object") return(alert("data not loaded [" + typeof whoCompaniesDocs + "]"))	whoCompaniesTotal = parseInt(whoCompaniesDocs['@toplevelentries']);	var k = 0;	var people = '';	var baseURL =  '/' + dbName + '/filterCompany1c?openview&restricttocategory=';		if (typeof whoCompaniesDocs.viewentry != "undefined") {		for (var i = 0; i < whoCompaniesDocs.viewentry.length; i++) people = getViewColData(whoCompaniesDocs.viewentry[i], "CompaniesList");		var names = new Array();		names = people.split('#');		var ob = newTable( document.getElementById( "CompaniesOutput" ))		var j=0		for(var i=0;i<names.length;i++){			if(i%2 == 0)	var rob = ob.appendChild(nDOMObj(null,"tr","","","","","","","",""))			var tob = rob.appendChild(nDOMObj(null,"td","","","","","","","","height:15;width:150;margin:14 0 0 0;vertical-align:top;font-size:11px;color:black;"))			if (names[i].length > 24) {tob.innerHTML = names[i].slice(0, 21) + '...'; tob.title = names[i]}			else	tob.innerHTML = names[i];			bsob.adv(tob,{ l: baseURL + encodeURI(names[i])})		}		if(i%2 == 1)	rob.appendChild(nDOMObj(null,"td","","","","","","","","height:15;width:150;margin:14 0 0 0;vertical-align:top;font-size:11px;color:black;"))	}	return}