var shareStatus = "off";
var shareLock = "off";
var locateStatus = "off";
var locateLock = "off";

function shareSite() {
	if(shareLock == "off") {
		shareLock = "on";
		if(shareStatus == "off") {
			new Effect.Appear('shareSiteBox');
			setTimeout(function() {
				shareStatus = "on";
				shareLock = "off";
			}, 1000);
		} else {
			new Effect.Fade('shareSiteBox');
			setTimeout(function() {
				shareStatus = "off";
				shareLock = "off";
			}, 1000);
		}
	}	
}

function locateDealer() {
	if(locateLock == "off") {
		locateLock = "on";
		if(locateStatus == "off") {
			new Effect.Appear('locateDealerBox');
			setTimeout(function() {
				locateStatus = "on";
				locateLock = "off";
			}, 1000);
		} else {
			new Effect.Fade('locateDealerBox');
			setTimeout(function() {
				locateStatus = "off";
				locateLock = "off";
			}, 1000);
		}
	}	
}