YAHOO.lang.augmentObject(Object,{forEach:function(c,b){if(!$defined(c)||!isType(b,"function")){return
}var d=Object.getIgnoreKeys();
for(var a in c){if(!d[a]){b(c[a],a)
}}},getIgnoreKeys:function(){var b=null,a={},d=[],c=document.getElementsByTagName("body"),e={item:true,toJSONString:true,length:true,namedItem:true};
for(b in d){e[b]=true
}for(b in a){e[b]=true
}for(b in c){if(isType(parseInt(b,10),"number")){continue
}e[b]=true
}return e
},is:function(a){return isType(a,"object")
},toQueryString:function(c,b){var d=[],a=0;
Object.forEach(c,function(f,e){d[a]=e+"="+f;
a+=1
});
return b?encodeURIComponent(d.join("&")):d.join("&")
}});
