/* ********************************************************************************************
// This section creates the site structure node array. It uses navmap to get the complete list of
// nodes on the site structure. This code also calculates the parent of each node. The parent is not
// available by default.
// ************************************************************************************************ */

/* CODING NOT COMPRESS TOGETHER YET
// Add the site structure node to the array, and give it the default parent of 0
nodeList[i] = new Node($node.assetid,"$node.description","$node.absurl",$node.level,$node.children, 0);
if ($node.level != 1) {				// If this node is not the top level, look for it's parent.
	for(p = i - 1; p > 0; p--) {		// Search up the site structure node list.
		if (nodeList[p].children > 0) {	// If the node has children, you have found the parent
			nodeList[p].children--;	// Decrease its number of children
			break;			// Stop looking for the parent
		}
	}
	nodeList[i].parent = nodeList[p].id;	// Set the parent asset id
}
i++;
*/

nodeList[i]=new Node(1955,"Off-Campus Accelerated","/locations/index.html",1,9,0);if(1!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1801,"Locations","/locations/locations.html",2,17,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1821,"Appleton Center","/locations/appleton/index.html",3,2,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1867,"Schedule an Appointment","/locations/appleton/scheduleappointment.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1958,"Request Information","/locations/appleton/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1823,"Beloit Center","/locations/beloit/index.html",3,2,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1960,"Request Information","/locations/beloit/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(9750,"Attend an Information Session","/locations/beloit/attendinfosession.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1825,"Cudahy Center","/locations/cudahy/index.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1827,"Eau Claire Center","/locations/eauclaire/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1962,"Request Information","/locations/eauclaire/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1829,"Green Bay Center","/locations/greenbay/index.html",3,3,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1888,"Attend an Information Session","/locations/greenbay/attendinfosession.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1964,"Request Information","/locations/greenbay/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(5737,"Credit Transfer","/locations/greenbay/credittransfer.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1831,"Hales Corners Center","/locations/halescorners/index.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1833,"Indianapolis Center","/locations/indianapolis/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1966,"Request Information","/locations/indianapolis/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1835,"Kenosha Center","/locations/kenosha/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1968,"Request Information","/locations/kenosha/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1837,"Madison Center","/locations/madison/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1970,"Request Information","/locations/madison/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1839,"Mequon Center","/locations/mequon/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1972,"Request Information","/locations/mequon/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1841,"Milwaukee Midtown Center","/locations/milwaukeemidtown/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1974,"Request Information","/locations/milwaukeemidtown/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1843,"Milwaukee South Center","/locations/milwaukeesouth/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1976,"Request Information","/locations/milwaukeesouth/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1845,"New Orleans Center","/locations/neworleans/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1978,"Request Information","/locations/neworleans/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1985,"Racine Center","/locations/racine/index.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1847,"Sheboygan Center","/locations/sheboygan/index.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1849,"St. Louis Center","/locations/stlouis/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1980,"Request Information","/locations/stlouis/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1851,"Wausau Center","/locations/wausau/index.html",3,1,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1982,"Request Information","/locations/wausau/information.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1857,"Degree Programs","/locations/programs.html",2,7,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(4343,"Accounting","/locations/programs/accounting.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1861,"Business Management","/locations/programs/businessmanagement.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1862,"Human Resource Management","/locations/programs/humanresource.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1863,"General Studies","/locations/programs/generalstudies.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1864,"Management of Criminal Justice","/locations/programs/criminaljustice.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1865,"Health Care Management","/locations/programs/healthcare.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1866,"Theology","/locations/programs/theology.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1989,"Certificates and Minors","/locations/certificatesminors.html",2,0,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1854,"Tuition","/locations/tuition.html",2,0,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1858,"Apply Online","/locations/apply.html",2,0,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(333,"Financial Aid","/Departments/financialaid/index.html",2,7,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3255,"Undergraduate","/Departments/financialaid/undergraduate.html",3,5,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3254,"Timeline","/Departments/financialaid/ugtimeline.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3253,"Awards and Eligibility","/Departments/financialaid/ugawards.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(334,"Scholarships and Grants","/Departments/financialaid/scholarships.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3203,"How to Apply","/Departments/financialaid/apply.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3208,"Payment Options","/Departments/financialaid/paymentoptions.html",4,0,0);if(4!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3206,"Graduate","/Departments/financialaid/graduate.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3202,"Accelerated Undergraduate Programs-Adult Education","/Departments/financialaid/ae.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3207,"International Students","/Departments/financialaid/international.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3205,"Forms","/Departments/financialaid/forms.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3209,"Policies","/Departments/financialaid/policies.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(3210,"Resources","/Departments/financialaid/resources.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(1957,"Request Information","/locations/information.html",2,0,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(5630,"Military Veterans","/Departments/veterans/index.html",2,2,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(5631,"National Guard","/Departments/veterans/nationalguard.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(5648,"National Guard Scholarship Guidelines","/Departments/veterans/ngguidelines.html",3,0,0);if(3!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
nodeList[i]=new Node(6719,"DANTES Test Centers","/locations/dantes.html",2,0,0);if(2!=1){for(p=i-1;p>0;p--){if(nodeList[p].children>0){nodeList[p].children--;break;}}nodeList[i].parent=nodeList[p].id;}i++;
 
