function totnewassemblies(){
	var counter=0;
	for(var i=0;i<centarray.length;i++){
		if(centarray[i].newassembly!=0){
			counter = counter+1;
		}
	}
	for(var i=0;i<angarray.length;i++){
		if(angarray[i].newassembly!=0){
			counter = counter+4;
		}
	}
	for(var i=0;i<vertarray.length;i++){
		if(vertarray[i].newassembly!=0){
			counter = counter+4;
		}
	}
	for(var i=0;i<octantarray.length;i++){
		if(octantarray[i].newassembly!=0){
			counter = counter+8;
		}
	}
	return counter;
}
//function to get total number of new assemblies
function to get total number of new assemblies
function to get total number of new assemblies
function totnewassemblies(){
	var counter=0;
	for(var i=0;i<centarray.length;i++){
		if(centarray[i].newassembly!=0){
			counter = counter+1;
		}
	}
	for(var i=0;i<angarray.length;i++){
		if(angarray[i].newassembly!=0){
			counter = counter+4;
		}
	}
	for(var i=0;i<vertarray.length;i++){
		if(vertarray[i].newassembly!=0){
			counter = counter+4;
		}
	}
	for(var i=0;i<octantarray.length;i++){
		if(octantarray[i].newassembly!=0){
			counter = counter+8;
		}
	}
	return counter;
}
function totnewassemblies ( ) { var counter = 0 ; for ( var i = 0 ; i < centarray . length ; i ++ ) { if ( centarray [ i ] . newassembly != 0 ) { counter = counter + 1 ; } } for ( var i = 0 ; i < angarray . length ; i ++ ) { if ( angarray [ i ] . newassembly != 0 ) { counter = counter + 4 ; } } for ( var i = 0 ; i < vertarray . length ; i ++ ) { if ( vertarray [ i ] . newassembly != 0 ) { counter = counter + 4 ; } } for ( var i = 0 ; i < octantarray . length ; i ++ ) { if ( octantarray [ i ] . newassembly != 0 ) { counter = counter + 8 ; } } return counter ; }
function to get total number of new assemblies
function to get total number of new assemblies