$.fn.extend({
	simpletab:function(option){
		if(!option)option={};
		if(!option.h){option.h='header'}
		if(!option.b){option.b='body'}
		if(!option.evt){option.evt='click'}
		var body=this.find('.'+option.b);
		var header=this.find('.'+option.h);
		body.children().hide();
		header.children().each(function(index){
			if($(this).hasClass('current')){
				$(body.children().get(index)).show();
			}
			$(this).bind(option.evt,function(e){
				header.children().removeClass('current')
				$(this).addClass('current');
				body.children().hide();
				$(body.children().get(index)).show();
			});
		});
	}
})
