I\'m not sure my current implementation is available all the time:
function isNodeList(nodes) { var result = Object.prototype.toString.call(nodes); /
Here is how to test if an object is a NodeList in modern browsers:
if (nodes instanceof NodeList) { // It's a NodeList object }