if (typeof(_gat)=="object") {
	var keywordTracker = _gat._getTracker("UA-1");
	
	// Insert all the extra GA parametres used in the main code here. For example,
	// uncomment the lines below to enable cross-domain linking and tracking.
	//keywordTracker._setDomainName("none");
	//keywordTracker._setAllowLinker(true);
	
	if (document.location.search.match("gclid")||document.location.search.match("cpc")) {
		var eak_search_query = document.referrer.match(/(\?|&)(q|p|query)=([^&]*)/);
		if (eak_search_query) {
			var eak_keywords = decodeURIComponent(eak_search_query[3]);
			
			// Convert all characters to lower case
			eak_keywords = eak_keywords.toLowerCase();
			
			// Replace + with space and clear extra whitespace at both ends of the
			// search string
			eak_keywords = eak_keywords.replace(/\+/g,' ').replace(/^\s\s*/, '').replace(/\s\s*$/, '');
			
			// Set the deprecated User defined variable (uncomment if you used an
			// earlier version of this script and wish to retain some level of
			// continuity in your data)
			keywordTracker._setVar(eak_keywords);
			
			// Set the custom variable. Use slot 5 by default
			keywordTracker._setCustomVar(
				5,
				"Full AdWords search phrase",
				eak_keywords,
				2);
		}
	}
}

