/* Sophus3 logging request - http://www.sophus3.com - Copyright (c) Sophus3 Ltd 2001-2007. All rights reserved. Patent Pending.

 * For Mazda MX-5 Site. Change the value of tc_logging_active to switch off logging on the site. */

if (typeof tc_logging_active == 'undefined') tc_logging_active = true;



tc_site_id = tc_get_site_id();
tc_server_url = "ford.touchclarity.com";
tc_log_path = '/Templates/RelatePlus/touchclarity';
document.write("<scr"+"ipt language='JavaScript' type='text/javascript' src='"+tc_log_path+"/logging-code.js'></scr"+"ipt>");

// custom functions for Mazda Portal sites
function tc_get_site_id() {
	var domain = document.location.hostname;
	domain = domain.toLowerCase();
	domain = domain.substring(domain.lastIndexOf(".")+1);
	     if (domain.toLowerCase() == "com") tc_site_id = 472;
	else tc_site_id = 472;  // Mazda All Sites
	return tc_site_id;
}