window.addEvent('domready', function(){

var szNormal = 210, szSmall  = 30, szFull   = 700;
var kwicks_la = $$("#indexKwicks_la .kwick_la");
var fx = new Fx.Elements(kwicks_la, {wait: false, duration: 700, transition: Fx.Transitions.Cubic.easeOut, opacity: 0});

kwicks_la.each(function(kwick_la, i) {
	kwick_la.addEvent("mouseenter", function(event) {
		var o = {};
		o[i] = {width: [kwick_la.getStyle("width").toInt(), szFull]}
		kwicks_la.each(function(other, j) {
			if(i != j) {
				var w = other.getStyle("width").toInt();
				if(w != szSmall) o[j] = {width: [w, szSmall]};
			}
		});
		fx.start(o);
	});
});
 
$("indexKwicks_la").addEvent("mouseleave", function(event) {
	var o = {};
	kwicks_la.each(function(kwick_la, i) {
		o[i] = {width: [kwick_la.getStyle("width").toInt(), szNormal]}
	});
	fx.start(o);
})
	
	
			
		}); 
				
window.addEvent('domready', function(){

var Tips2 = new Tips($$('.Tips2'), {
	initialize:function(){
		this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
	},
	onShow: function(toolTip) {
		this.fx.start(1);
	},
	onHide: function(toolTip) {
		this.fx.start(0);
	}
});
}); 
