site = {};
site.form = (function($, undefined) {
	var hint = function(el, force) {
		if ($.trim(el.val()) == '' || force) {
	 		el.addClass('hint');
	 		el.val(el[0].defaultValue);
	 	}
 	};
	var unhint = function(el) {
		if (el.hasClass('hint')) {
			el.val('');
			el.removeClass('hint');
		}
	};
	return {
		hint: hint,
		unhint: unhint,
	}
}(jQuery));
site.element = (function($, undefined) {
	var toggle = function(el) {
		if (el.hasClass('hide')) {
			show(el);	
		} else {
			hide(el);	
		}
	}
	var show = function(el) {
		if (el.hasClass('hide')) {
			el.removeClass('hide');
		}
	}
	var hide = function(el) {
		el.addClass('hide');	
	}
	return {
		show: show,
		hide: hide,
		toggle: toggle
	}
}(jQuery));

