function showDiffInfo(version1, version2){
	var bivesSum, bivesDeletes, bivesInserts, bivesUpdates, bivesMoves;
	originalDiffstats.forEach(function(r){
		if(r.model == version1.model && r.version1id == version1.versionid && r.version2id == version2.versionid){
			bivesSum = r.bives;
			bivesInserts = r.bivesinsert;
			bivesDeletes = r.bivesdelete;
			bivesMoves = r.bivesmove;
			bivesUpdates = r.bivesupdate;
		}
	});
	$("#bivesInfo").show();
	$('#callBivesButton').show();
	$('.bivesNavi').hide();
	$('#bivesResult').hide();
	$("#bivesModelName").text (version1.modelname);
	$("#bivesOriginalModel").attr ("href", version1.url).text (version1.versionid);
	$("#bivesModifiedModel").attr ("href", version2.url).text (version2.versionid);
	$("#bivesOriginalModelSupp").text (version1.date.getDate() + "." + version1.date.getMonth() + "." + version1.date.getFullYear());
	$("#bivesModifiedModelSupp").text (version2.date.getDate() + "." + version2.date.getMonth() + "." + version2.date.getFullYear());

	$("#bivesOriginalModelCuration").text (version1.curated);
	$("#bivesModifiedModelCuration").text (version2.curated);
	$("#bivesRepository").text (version1.modeltype);
	$("#bivesChangesSum").text (bivesSum);
	$("#bivesInserts").text (bivesInserts);
	$("#bivesUpdates").text (bivesUpdates);
	$("#bivesMoves").text (bivesMoves);
	$("#bivesDeletes").text (bivesDeletes);

	$('#callBivesButton').click(function(){getBivesData(version1, version2, ["reportHtml", "reactionsSbgnJson", "xmlDiff", "separateAnnotations"], "#info");});
}
// show info andd difference button of a visulization element
show info andd difference button of a visulization element
show info andd difference button of a visulization element
function showDiffInfo(version1, version2){
	var bivesSum, bivesDeletes, bivesInserts, bivesUpdates, bivesMoves;
	originalDiffstats.forEach(function(r){
		if(r.model == version1.model && r.version1id == version1.versionid && r.version2id == version2.versionid){
			bivesSum = r.bives;
			bivesInserts = r.bivesinsert;
			bivesDeletes = r.bivesdelete;
			bivesMoves = r.bivesmove;
			bivesUpdates = r.bivesupdate;
		}
	});
	$("#bivesInfo").show();
	$('#callBivesButton').show();
	$('.bivesNavi').hide();
	$('#bivesResult').hide();
	$("#bivesModelName").text (version1.modelname);
	$("#bivesOriginalModel").attr ("href", version1.url).text (version1.versionid);
	$("#bivesModifiedModel").attr ("href", version2.url).text (version2.versionid);
	$("#bivesOriginalModelSupp").text (version1.date.getDate() + "." + version1.date.getMonth() + "." + version1.date.getFullYear());
	$("#bivesModifiedModelSupp").text (version2.date.getDate() + "." + version2.date.getMonth() + "." + version2.date.getFullYear());
	$("#bivesOriginalModelCuration").text (version1.curated);
	$("#bivesModifiedModelCuration").text (version2.curated);
	$("#bivesRepository").text (version1.modeltype);
	$("#bivesChangesSum").text (bivesSum);
	$("#bivesInserts").text (bivesInserts);
	$("#bivesUpdates").text (bivesUpdates);
	$("#bivesMoves").text (bivesMoves);
	$("#bivesDeletes").text (bivesDeletes);
	$('#callBivesButton').click(function(){getBivesData(version1, version2, ["reportHtml", "reactionsSbgnJson", "xmlDiff", "separateAnnotations"], "#info");});
}
function showDiffInfo ( version1 , version2 ) { var bivesSum , bivesDeletes , bivesInserts , bivesUpdates , bivesMoves ; originalDiffstats . forEach ( function ( r ) { if ( r . model == version1 . model && r . version1id == version1 . versionid && r . version2id == version2 . versionid ) { bivesSum = r . bives ; bivesInserts = r . bivesinsert ; bivesDeletes = r . bivesdelete ; bivesMoves = r . bivesmove ; bivesUpdates = r . bivesupdate ; } } ) ; $ ( "#bivesInfo" ) . show ( ) ; $ ( '#callBivesButton' ) . show ( ) ; $ ( '.bivesNavi' ) . hide ( ) ; $ ( '#bivesResult' ) . hide ( ) ; $ ( "#bivesModelName" ) . text ( version1 . modelname ) ; $ ( "#bivesOriginalModel" ) . attr ( "href" , version1 . url ) . text ( version1 . versionid ) ; $ ( "#bivesModifiedModel" ) . attr ( "href" , version2 . url ) . text ( version2 . versionid ) ; $ ( "#bivesOriginalModelSupp" ) . text ( version1 . date . getDate ( ) + "." + version1 . date . getMonth ( ) + "." + version1 . date . getFullYear ( ) ) ; $ ( "#bivesModifiedModelSupp" ) . text ( version2 . date . getDate ( ) + "." + version2 . date . getMonth ( ) + "." + version2 . date . getFullYear ( ) ) ; $ ( "#bivesOriginalModelCuration" ) . text ( version1 . curated ) ; $ ( "#bivesModifiedModelCuration" ) . text ( version2 . curated ) ; $ ( "#bivesRepository" ) . text ( version1 . modeltype ) ; $ ( "#bivesChangesSum" ) . text ( bivesSum ) ; $ ( "#bivesInserts" ) . text ( bivesInserts ) ; $ ( "#bivesUpdates" ) . text ( bivesUpdates ) ; $ ( "#bivesMoves" ) . text ( bivesMoves ) ; $ ( "#bivesDeletes" ) . text ( bivesDeletes ) ; $ ( '#callBivesButton' ) . click ( function ( ) { getBivesData ( version1 , version2 , [ "reportHtml" , "reactionsSbgnJson" , "xmlDiff" , "separateAnnotations" ] , "#info" ) ; } ) ; }
show info andd difference button of a visulization element
show info andd difference button of a visulization element