/* � Copyright by Dominik "1ApRiL" Herbst */

var giz = {
	currDetail:{},
	currDetailActive:{},
	showDetail: function(typ,id,idactive) {
		var func = function() {
			var o = $('#'+id);
			var oa = $('#'+idactive);
			bfbcs.currDetail[typ]=o;
			bfbcs.currDetailActive[typ]=oa;
			o.show();
			oa.addClass('active');

		};

		if(typeof(bfbcs.currDetail[typ])!='undefined') {
			bfbcs.currDetail[typ].hide();
		}
		if(typeof(bfbcs.currDetailActive[typ])!='undefined') {
			bfbcs.currDetailActive[typ].removeClass('active');
		}
		func();
	}
};
