function() {
var c = jQuery(this).attr("tab");
var acr = jQuery(this).attr("acr");
var refresh = jQuery(this).attr("refresh");
if (typeof refresh !== typeof undefined && refresh !== false) {
location.reload();
return true
}
if (typeof acr !== typeof undefined && acr !== false) {
var inv = dpc.attr("invalid");
if (dpc.val().length != 36 || inv == 1) {
showDigNoticeMessage(digsetobj.plsActMessage);
if (jQuery("#dig_activatetab").length) {
jQuery("#dig_activatetab").click();
dpc.focus()
}
return false
}
}
var tab = jQuery("." + c);
var $this = jQuery(this);
if (tab.hasClass("digcurrentactive")) return false;
if (tab.data("attach")) {
$this = jQuery("." + tab.data("attach"))
}
if (!$this.hasClass("dig_ngmc")) {
$magicLine.show();
$el = $this.parent();
leftPos = $el.position().left;
newWidth = $el.width();
$magicLine.stop().animate({
left: leftPos,
width: newWidth,
top: $el.position().top + 21
}, "fast")
} else {
$magicLine.hide()
}
jQuery(".digcurrentactive").removeClass("digcurrentactive").hide();
tab.fadeIn(150).addClass("digcurrentactive");
if (jQuery(".dig-tab-wrapper-sticky").length) jQuery("html, body").animate({
scrollTop: tab.offset().top - 90
}, 220);
jQuery(".dig-nav-tab-active").removeClass("dig-nav-tab-active");
jQuery(this).addClass("dig-nav-tab-active");
updateURL("tab", c.slice(0, -3));
return false
}