// Path of the Master database: var DBNameHTML = "/clients/vvaa/webportal.nsf"; // Path of the current database: var DBNameHTML_C = ""; var sPathName = document.location.pathname; var iNSFPos = sPathName.toUpperCase().indexOf( ".NSF" ); if( iNSFPos == -1 ){ var iSlashPos = sPathName.indexOf( "/", 1 ); DBNameHTML_C = sPathName.substring( 0, iSlashPos ); } else { DBNameHTML_C = sPathName.substring( 0, iNSFPos + 4 ); } var aViewEntries = new Array(); function viewEntry( docTitle, docID, docSummary, docType, docKeywords, docPDate, docDDate,docIcons,docAttachment1,docAttachment2 ) { // Object constructor if (docTitle.length > 45) { this.docTitle = docTitle.substr(0, 45) + "..."; } else { this.docTitle = docTitle; } this.docID = docID; this.docSummary = docSummary; this.docType = docType; this.docKeywords = docKeywords; this.docPDate = docPDate; this.docDDate = docDDate; this.docIcons=docIcons this.docAttachment1 = docAttachment1; this.docAttachment2 = docAttachment2; } function vE( docTitle, docID, docSummary, docType, docKeywords, docPDate,docDDate,docIcons,docAttachment1,docAttachment2 ) { // Create an object instance in the array oViewEntry = new viewEntry( docTitle, docID, docSummary, docType, docKeywords, docPDate,docDDate, docIcons,docAttachment1,docAttachment2 ); if (aViewEntries.push ) { pushed = aViewEntries.push( oViewEntry ); } else { aViewEntries = aViewEntries.concat(oViewEntry ) } } /*Deze wordt gebruikt door de overzichten met alternate rows*/ function writeTableA() { // Write out the final HTML var count=0; var iColumns = 1; // Writing script var i = 0; var record=0 // de rij: var iRows = aViewEntries.length / iColumns; if( iRows== 0 ) iRows = 1; if(aViewEntries.length==0) i = 1; for( var iRowNumber = 0; iRowNumberยป' + aViewEntries[ i ].docTitle + ''); count++; i=i+1; } }