      $(document).ready(function() {
	  
	      // get query string parameters
		  var Google_Query =  $.jqURL.get('gclid');
		  var Listrak_Query = $.jqURL.get('utm_campaign');
		  
		  // pass query string parameters to cookies, and set to expire in 60 days
		  $.cookie('Google_Cookie', Google_Query, { path: '/', expires: 60 });
		  $.cookie('Listrak_Cookie', Listrak_Query, { path: '/', expires: 60 });

		  // pass cookies to string variables
		  var Google_String = $.cookie('Google_Cookie');
		  var Listrak_String = $.cookie('Listrak_Cookie');
		  
		  if (Google_Query != undefined) {
			  
		  	 $("#campaign").val("adwords"); 
		  }
		  else if (Listrak_Query != undefined) {
			  
		  	$('#campaign').val("listrak"); 
		  }
		  else {
			  // Nothing to do
		  }
	 });
