/*
Last modified by Michael Harrison on 02/13/2008
*/

function getRef()
{
	ref = document.referrer;
	re = /(\?|&)(q|p|query)=([^&]*)/;
	searchq = re.exec(ref);
	if(searchq) {
		__utmSetVar(searchq[3]);
	}
}

function sleuth()
{
	if(document.location.search.indexOf("gclid")!=-1||document.location.search.indexOf("cpc")!=-1) {
		getRef();
	}
}

_uacct = "UA-503443-1";
sleuth();
