, ( )? : document.body. , .

var MenuNavigation = {
 init: function() {
 document.body.onclick = function(e) {
 var target = getEventTarget(e);
 if ( target && /bundle/i.test(target.className) ) {
 target.href += '?name=value';
 }
 return true;
 };
 }
 var getEventTarget = function(e) {
 var e = e || window.event;
 var target = e.target || e.srcElement;
//   Safari  
 while ( !target.href || target.nodeType == 3 ) {
 target = target.parentNode;
 }();
 return target;
 }
}
window.onload = MenuNavigation.init;

, , , , : , , href, , . , HTML-, .