function LawyerHeader(){
    var lawyerName = "";
	 
    this.init = function(){
    	(function($) {
    	})(jQuery);
    }
    
	this.showLawyer = function(id){
    	(function($) {
			$('.lawyer_'+id+'.lawyerActive').stop(true, true).fadeIn();
			$('.lawyerBig_'+id).stop(true, true).fadeIn();
			$('#lawyerName').html($('.lawyerBig_'+id).attr("alt"));
			//console.log($($('.lawyerBig_'+id)[0]).attr("alt"));
    	})(jQuery);
    }
	
	this.hideLawyer = function(id){
    	(function($) {
			$('.lawyer_'+id+'.lawyerActive').fadeOut();
			$('.lawyerBig_'+id).fadeOut();
			$('#lawyerName').html(lawyerName);
    	})(jQuery);
    }
	
	this.activeLawyer = function(id){
    	(function($) {
			$('.lawyer_'+id+'.lawyerActive').fadeOut();
			$('.lawyerBig_'+id).fadeOut();
			$('#lawyerName').html(lawyerName);
    	})(jQuery);
    }
	
	this.setLawyerName = function(lN){
		lawyerName = lN;
	}

    var self = this;

}

var lawyerHeader = new LawyerHeader();

$(document).ready(function(){
	(function($) {
		lawyerHeader.init();
	})(jQuery);
});


