
Код:
s = {marka:nodes[n].attributes.marka, http:nodes[n].attributes.http};

Код:
k = mass[Math.floor(Math.random()*mass.length)];
trace(k.marka+','+k.html);
А ещё проще:

Код:
f_www = function () {
nodes = my_xml.firstChild.childNodes;
var node = nodes[Math.floor(Math.random()*nodes.length)];
trace(node.attributes.marka+','+node.attributes.http);
}