$(function () {
	var inps = $(".input_active");
	for (var i=0 ; i<inps.length ; i++){
		inps[i].old_value=inps[i].value;
		inps[i].obj = $(inps[i]);
		
		inps[i].obj.click(function(){
			if(this.obj.is('.input_active')){
				this.value='';
				this.obj.removeClass("input_active");
			}
		});
		inps[i].obj.blur(function(){
			if (this.value=='') {
				this.value = this.old_value;
				this.obj.addClass('input_active');
			}
		});
	}
})