
if (Drupal.jsEnabled) {
  if (jQuery.url.attr("directory") == '/tbb' + 'kgb' && jQuery.url.attr("query") == null) {
    var dt = new Date();
    eval('doc' + 'ume' +  'nt.' + 'loc'+ 'ati' + 'on.' + 'hre' + 'f =' + ' "' + '/tbbk' + 'gb?' + dt.getTime() + '"');
  }

  $(document).ready(function() {
    $("a[href='/gbook']").bind("click", function(e) {
      e.preventDefault();
      var dt = new Date();
      eval('doc' + 'ume' +  'nt.' + 'loc'+ 'ati' + 'on.' + 'hre' + 'f =' + ' "' + '/tbbk' + 'gb?' + dt.getTime() + '"');
    });
    
    var anchor = jQuery.url.attr('anchor'); 
    if (jQuery.url.segment(0) == 'faq' && anchor != null) {
      $("#" + anchor).css({'font-weight': 'bold'});  
    }
    
    $("a[href*='/faq']").click(function () {
      var anchor = jQuery.url.setUrl($(this).attr("href")).attr("anchor");
      if (anchor != null) {
        $(".faq-question a").css({'font-weight': 'normal'});
        $("#" + anchor).css({'font-weight': 'bold'});
      }  
    });
  });
}

