//Copyright 1999-2002 Intuit Inc. All rights reserved. Unauthorized duplication is a violation of applicable law. //if you change the format of the XML, you must change these references also!!!! //Create a QBPrefs COM object to access the user's profile var obj = new ActiveXObject("QuickBooks.CoLocator"); var myQBPrefs = obj.Create("QBPrefs.Preferences"); //Then create a copy of the node from the XML file that matches the page being processed crossXML=cross.XMLDocument.selectSingleNode("table/rows/row[Domain=\'" + "" + "\']/links"); //use the number of child nodes ('link') of 'links' for the for loop for(i=0;i