	$(function(){ 
				$('input.focus:text').hint();
				
				$('div.inp-f .i-focus').showfocus();
				
			})
			
			jQuery.fn.showfocus = function() {
				return this.each(function(){
					var fcs = $(this);					
					
					fcs.focus(function(){
						$(this).parent().parent().addClass('inp-focus');
					})

					fcs.blur(function(){
						$(this).parent().parent().removeClass('inp-focus');
					})					
				})				
			}			
			
			jQuery.fn.hint = function() {
				return this.each(function(){
					var t = $(this);
					var title = t.attr('title');
					
					if (title) {
						
						t.focus(function(){
							if (t.val() == title) {
							  t.val('');
							  t.removeClass('blur');
							}
						})

						t.blur(function(){
							if (t.val() == '') {
							  t.val(title);
							  t.addClass('blur');
							}
						})

						t.blur();
					}
				})				
			}
