$(document).ready(function() {
	$('#your-subject').change(function() {
		if ($(this).val() == "I'd like a quote.") {
			window.location = '/quote';
		}
	});
	
	// Default values for form
	$.each([
		{id: 'address-1', val: 'Street Address'},
		{id: 'city', val: 'City'},
		{id: 'state', val: 'SD'},
		{id: 'zip', val: 'Zip'}
	], function() {
		var that = this;
		$('#'+that.id).focus(function() {
			if ($(this).val() == that.val) {
				$(this).val('');
			}
		});
		$('#'+that.id).blur(function() {
			if ($(this).val() == '') {
				$(this).val(that.val);
			}
		});
	});
});
