
	var pathName = location.pathname;		// get URL of page starting after domain name
	var result = pathName.match (/\//g);	// find all occurrences of "/"
	var numberOfLevels = result.length;		// length of result array is number of "/" found
    var relativePath = "";
   
	for(relativeLevels=3; relativeLevels < numberOfLevels; relativeLevels++) {	// build relative path
		relativePath += "..\/";
	}
	var copyrightUrl = relativePath + "legal/copyright.jsp";
	var privacyUrl = relativePath + "legal/privacy.jsp";
	var termsUrl = relativePath + "legal/terms.jsp";
	var antispamUrl = relativePath + "legal/antispam.jsp";
	var unsubscribeUrl = "/common/forms/unsubscribe.jsp";
	
	document.write('<P><a href="' + copyrightUrl + '">Legal Notice</a> | <a href="' + privacyUrl + '">Privacy Policy</a> | <a href="' + termsUrl + '">Terms of Use</a> | <a href="' + antispamUrl + '">Anti-Spam Policy</a> | <a href="' + unsubscribeUrl + '">Unsubscribe</a></P>');
	document.write("<P>&copy; 2010 Cincom Systems, Inc. All Rights Reserved.<br>");
	
	if (pathName.indexOf("/emea/eng") == 0)
	{
		document.write("1 Grenfell Road &bull; ");
		document.write("Maidenhead &bull; ");
		document.write("Berkshire &bull; ");
		document.write("SL6 1HN &bull; ");
		document.write("+44 (0)1628 542300</P>");
	}
	else
	{
		document.write("55 Merchant Street ");
		document.write("Cincinnati, Ohio 45246 ");
		document.write("1-800-224-6266</P>");
	}
