function bannerInit(){
		//  left P width     width
		var szSmall  = 88, szFull  = 595;
		var kwicks = $$("#kwicks .one");				//time
		var fx = new Fx.Elements(kwicks, {wait: false, duration: 500, transition: Fx.Transitions.Back.easeOut});
		kwicks.each(function(kwick, i) {
			//-----------------------鼠标离开时-----------------------------				 
			$(kwick).addEvent("mouseleave",function(event){
					if(window.activeItem && window.activeItem == this)return;
					var id = this.id;
					if(window.activeItem)window.activeItem.getElementsByTagName("p")[0].className = window.activeItem.id + '_hover';
					this.getElementsByTagName("p")[0].className = id + '_normal';
					
					
			});
			//---------------------onmouseover----------------------
			$(kwick).addEvent("mouseenter", function(event) {
													 //var id = this.id;
					var o = {};
					o[i] = {width: [kwick.getStyle("width").toInt(), szFull]}
					kwicks.each(function(other, j) {
										
					if(i != j) {
						var w = other.getStyle("width").toInt();
						if(w != szSmall) o[j] = {width: [w, szSmall]};
						other.getElementsByTagName('p')[0].className = other.id + '_normal';						
					}else{
						other.getElementsByTagName('p')[0].className = other.id + '_hover';	
					}
				//---------------------onmouserclick---------------------------		
					$(kwick).addEvent("click", function(event) {
						window.activeItem = this;
						var o = {};
						if(this.id == 'wer')
						{
							o[i] = {width: [kwick.getStyle("width").toInt(), 590]}
						}
						else
						{
								o[i] = {width: [kwick.getStyle("width").toInt(), szFull]}
						}
						
						kwicks.each(function(other, j) {
							if(i != j) {
								var w = other.getStyle("width").toInt();
								if(w != szSmall){
									 if(other.id == 'wer')
									 {
									 	o[j] = {width: [w, 83]};
									}
									else
										{
									 	o[j] = {width: [w, szSmall]};
									}
								}
								other.getElementsByTagName('p')[0].className = other.id +'_normal';												
							}else{
								other.getElementsByTagName('p')[0].className = other.id +'_hover';
							}
							fx.start(o);		
					});	
			
			});	
					
		});	
					
	});
			//kwick.addEvent("mouseleave",function(event){
				
			//});
});
		
		
		
		/*$('example1').addEvent("mouseleave",function(event){
			if(kwicks[selectedItem].getStyle("width").toInt() != szFull){
				var o = {};
				kwicks.each(function(kwick,i){
					if(i == selectedItem){
						o[i] = {width: [kwick.getStyle("width").toInt(), szFull]};
						kwick.getElementsByTagName('p')[0].className = 'hover-p';
					}else{
						o[i] = {width: [kwick.getStyle("width").toInt(), szSmall]};
						kwick.getElementsByTagName('p')[0].className = 'left-p';
					}
				});
				fx.start(o);
			}
		});*/
}
