Nope; you're just going to assign the request object to the variable that you sent in as the name parameter. I'm not sure if this is by ref or by value; it probably depends on the object type. Peter From: "Murphy, Matt" Matt.Murphy at thermofisher.com Ok, so here's what I thought up: Function ajaxmename(url, name) { name = new XMLHttpRequest(); ... } That's probably not going to work, is it? All my xhr objects are going to be called literally "name", correct? This is where variable variables help. Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070725/7bbb9850/attachment.htm>