(function($){
	
// The DOM is now ready
$(function() {

	if((window.location.search.match(/campaign_id=(.*?)(?:&|$)/) || ["",""])[1]){
		var cid = (window.location.search.match(/campaign_id=(.*?)(?:&|$)/) || ["",""])[1];
		$.cookie('campaign_id',cid, {expires: 0});
	}
	
});
	
})( jQuery.noConflict() ); // Pass in jQuery so we can safely use the $ alias within this block
