function carryTrafficSource() {

/*
	Pass the traffic source given in the URL parameter "callBannerRef" to inner website pages using Cookies
	written by: Iddo Zohar
	-- DO NOT EDIT --

*/

	// the name of the traffic source parameter to track
	var TRAFFIC_SOURCE_PARAMETER 	= "callBannerRef";

	// the number of days to keep tracking the traffic source
	var COOKIE_DURATION 		= 30; // days


	// isolate traffic source value
	var trafficSrc = ((window.location.href)? window.location.href : window.location).
			 split(TRAFFIC_SOURCE_PARAMETER+"=")[1].split('&')[0];

	// continue only if traffic source found
	if (!trafficSrc || trafficSrc == "")
		return;

	// set cookie
	var exp = new Date();
	exp.setDate(exp.getDate() + COOKIE_DURATION);
	document.cookie = TRAFFIC_SOURCE_PARAMETER + "=" + escape(trafficSrc) +
			  ";expires=" + exp.toUTCString();

} // carryTrafficSource
