
var ga_hasher = {
	source: '',
	campaign: '',
	medium: '',
	content: '',
	
	set: function(){
		this.hash_old = document.location.hash;
		
		document.location.hash =
				'utm_source=' + this.source +
				'&utm_campaign=' + this.campaign +
				'&utm_medium=' + this.medium +
				'&utm_content=' + this.content +
				'';
		
	},
	reset: function (){
		document.location.hash = this.hash_old;
		if( document.location.hash == this.hash_old || document.location.hash == ("#" + this.hash_old) )
			return true;
		if( ++this.reset_call_count == this.reset_call_max ) return false;
		var self = this;
		setTimeout( function(){ self.reset(); }, 10 ); 
	},
	reset_call_count: 0,
	reset_call_max: 50,
	_: null  //unused, added to address ie issue with trailing ','
};
