Biemer, P.P. and R.A. Caspar (1994). "Continuous Quality Improvement for Survey Operations: Some General Principles and Applications." Journal of Official Statistics, Vol. 10, No. 3, pp. 307-326.
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs a[href="#' + url.split('#')[1] + '"]').tab('show');
}
// Change hash for page-reload
$('.nav-tabs a').on('shown.bs.tab', function (e) {
window.location.hash = e.target.hash;
});
});