rem: var query = (url.indexOf('?') != -1) ? url.substring(url.indexOf('?') + 1) : ''; 
add:  var start = url.indexOf('?'); var stop = url.indexOf('#');  if (start != -1) { if (stop != -1) { var query = url.substring(start + 1, stop); } else { var query = url.substring(start + 1); } } else { return {}; }  
context: OpenLayers.Util.getArgs = function(url) {    if(url == null) {        url = window.location.href;    }    var query = (url.indexOf('?') != -1) ? url.substring(url.indexOf('?') + 1)                                          : '';    var args = new Object();    pairs = query.split(/[&;]/);    for(var i = 0; i < pairs.length; ++i) {        keyValue = pairs[i].split(/=/);        if(keyValue.length == 2) {            args[decodeURIComponent(keyValue[0])] =                decodeURIComponent(keyValue[1]);        }    }    return args;}
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/385da5c614010725df2eb4bcb22fb32db0f9eaa2/Util.js/buggy/lib/OpenLayers/Util.js