You don't need to do anything with the template files; creating the horizontal look can be accomplished in your stylesheet.

In your stylesheet find the following

Code:
.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
	margin: 0;
	width: 47%;
	}
now create a new declaration and delete the highlighted portion above.
Code:
	#navEZPagesTOCWrapper {
	margin: 0;
	width: 100%;
	}
Now find the following and delete the highlighted portion:
Code:
#navEZPagesTOCWrapper {
	font-weight: bold;
	float: right;
	height: 1%;
	border: 1px solid #9a9a9a;
	}
Now find the following and add the highlighted portion:
Code:
#navEZPagesTOC ul li {
	white-space: nowrap;
		display: inline;
}
This should give you your horizontal TOC