function validate(f){
	if(f.elements['searchword'].value == ''){
		alert("Please enter a search word");
		return false;
	}else{
		return true;
	}
}
/*
.closed {
width:100px;
}

.open{
width:239px;
}

.shop_open{
	position:relative !important;
	padding-top:4px;
	background-image:url(../imagenes/shopbg.png);
	border-left: none;!important;
	height:44px !important;
	top:-20px !important;
}

.shop_close{
	position:relative !important;
	padding-top:4px;
	background-image:url(../imagenes/shopbg.png);
	border-left: none;!important;
	height:44px !important;
	top:0px !important;
}
*/
<!--
window.addEvent('domready', function() {
			$$('.expander').each(
				function(el) {

				  var bounce = new Fx.Style(el, 'width', {wait:false, duration:700, transition: Fx.Transitions.Sine.easeInOut});
				  
				  el.addEvent('mouseenter',function(){
	   					 bounce.start(100,239);
				   });
				  
				  el.addEvent('mouseleave',function(){
	   					 bounce.start(el.getSize().size.x,100);
				   });				  
				}
			);
			
			$$('.left_expander').each(
				function(el) {

				  var bounce = new Fx.Style(el, 'left', {wait:true, duration:700, transition: Fx.Transitions.Sine.easeInOut});
				  
				  el.addEvent('mouseenter',function(){
	   					 bounce.start(-130,0);
				   });
				  
				  el.addEvent('mouseleave',function(){
	   					 bounce.start(0,-130);
				   });				  
				}
			);			
			
			
			var search_button = $$('li.item12 a');
			var search_div = $('search_expander');
			var state = "closed";
			var search_close = $('search_close');
			
			
			var slidein = new Fx.Style(search_div, 'top', {wait:true,duration:700, transition: Fx.Transitions.Sine.easeInOut});

			search_close.addEvent('click',function(){
					state = "closed";
					slidein.start(48,70);
			});
			
								  
								  
			search_button.addEvent('click',function(){
				if(state == "closed"){
	   					 slidein.start(70,48);
	   					 state = "open";
				}else{
					state = "closed";
					slidein.start(48,70);
				}
			});

			
			$$('li.item0').each(

					function(el){

				var bounce = new Fx.Style(el, 'top', {wait:false,duration:700, transition: Fx.Transitions.Sine.easeInOut});
				

				el.addEvent('mouseenter',function(){
							bounce.start(0,-15);
	
				});
				
				
				el.addEvent('mouseleave',function(){
							bounce.start(el.getCoordinates().top - 130,0);
	
				});	
			});		

});

