// JavaScript Document
function loadTrackingPage (url) {
// PRE: a tracking url
// POST: loads the url into the tracking frame
	

	document.getElementById("TrackingFrame").src = url;
	//alert(url);
}

function setDeepLink ( newLinkProtocol ) {
// PRE: a link protocol 
// POST: appends the protocol to the end of the url
	
	//alert ( "JS: setDeepLink " + newLinkProtocol );
	
	//alert ( document.title );
	var pageTitle = new String ( document.title );
	var baseurl = document.URL.split ("#")[0];
	
	if ( newLinkProtocol != "" ) 
		window.location = baseurl + newLinkProtocol;
	else 
		window.location = baseurl + "#";

	//alert ( "page url updated" );
	document.title = "Cox Enterprises - Our Locations";
	
	//alert ( pageTitle + "  " + document.title );
}

function getPageURL () {
		
	return document.URL;	
	
}