function createCookie(that) {
		var date = new Date();
		date.setTime(date.getTime()+(365*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
		var name = "location=";
		var value = that.alt;
		document.cookie = name+value+expires+"; path=/";
		window.location.reload(true);
	}
	
	function resetCookie() {
		var date = new Date();
		date.setTime(date.getTime() - 50000);
		var expires = "; expires="+date.toGMTString();
		var name = "location=";
		var value = '';
		document.cookie = name+value+expires+"; path=/";
		window.location.reload(true);
	}
	
	function switchMapPinTo(that) {
		that.src = 'images/bluepin.gif';
	}
	
	function switchMapPinBack(that) {
		that.src = 'images/greenpin.gif';
	}
