



/*
 * ################ START B_EAA START ################ 
 */

var classB_eaa = function() {
	var self = this;
	var breaker = false;

	this.moduleName = 'b_eaa';

	this.init = function() {
			//--> PUBLIKUS <--//
		this.initAdvisors();
		}

		//--> PUBLIKUS <--//

	this.initAdvisors = function() {
		var width = $('#right .doctors .doctor').length * 90;
		$('#right .doctors').css("width",  width);

		$('#right .ask_fo_advice .rarrow').mouseover(function() {
			timer = setInterval(function(){
				var left = $('#right .doctors').css('left');
				if( parseInt(left)<=-(width-3*90) ) return false
				$('#right .doctors').css("left", (parseInt(left)-5) + 'px');
			}, 15);
		}).mouseout(function() {
			clearInterval(timer);
		});

		$('#right .ask_fo_advice .larrow').mouseover(function() {
			timer = setInterval(function(){
				var left = $('#right .doctors').css('left');
				if( parseInt(left)>=0 ) return false
				$('#right .doctors').css("left", (parseInt(left)+5) + 'px');
			}, 15);
		}).mouseout(function() {
			clearInterval(timer);
		});
	}
	}

$(document).ready(function() {
	var oB_eaa = new classB_eaa();
	oB_eaa.init();
});

/*
 * ################ END B_EAA END ################ 
 */




