var GG = {};
GG.FindUs = Class.create({
	initialize : function()
	{
		this.duration = 0.25;
	},
	prompt : function()
	{
		$('find-container').appear({
			duration: this.duration,
			beforeStart: function() 
			{ 
				$('find-container').hide(); 
			}
		});
	},
	close : function()
	{
		$('find-container').fade({
			duration: this.duration,
			afterFinish: function() 
			{ 
				$('find-container').hide(); 
			}
		});
	},
	submit : function()
	{
		$('saddr').value = $('find-address').value + "," + $('find-city').value;
		$('find-service').submit();
		this.close();
	}
});
var findUs = new GG.FindUs();