// Jump Selector
function jM(targ, selObj, restore){
  eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value+"'");
  if(restore) selObj.selectedIndex = 0;
}
/*
document.observe("dom:loaded", function(){
  // global spinner
  Ajax.Responders.register({
    onCreate: function(){
      Element.show('spinner');
    },
    onComplete: function(){
      Element.hide('spinner');
    }
  });

  // observe hash location
  var tmp_location;
  window.setInterval(function(){
    if(tmp_location != window.location.hash && window.location.hash.length > 2) {
      new Ajax.Updater('content', window.location.hash.substring(1), { method: 'GET' });
    };
    tmp_location = window.location.hash;
  }, 500);

  // observe brand links
  $$(".brands li a").each(function(el){
    el.observe('click', function(event){
      Event.stop(event);
      window.location.hash = el.readAttribute('href');
      $$(".brands li.active").each(function(li){ li.removeClassName('active') }); // remove old active links
      el.up(0).addClassName('active');
    });
  })
});
*/