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