$(document).ready(function(){	  
	  
      var ul = $('.maindropmenu').children();	
		
      $(ul).each(function(){
       	var menuHome = $(this);
		var smh = menuHome.children()[1];
		var id = $(this).attr('id');
		var anyMenu = $(this).children()[0].children[0];
		if(smh!=null){
		$(menuHome).hover(
            function() { $(smh).show(); $(this).addClass(id); $(anyMenu).removeClass('anymenu');},
			function() { $(smh).hide(); $(this).removeClass(id); $(anyMenu).addClass('anymenu');});
			}
      }); 
	  
	  var searchVal = $('#lookfor')[0].value;
      $('#lookfor').focus(function() {
      var val =  $(this).context.value; 
      if(val == searchVal){
      $(this).context.value = '';
      }
      }); 
	    
      
});
	
 $(window).load(function(){
 	$('#mainsearchbutton2').hover(function() { $(this).attr('src','http://4.bp.blogspot.com/_pjBmfPy3Mak/TGBnJQcEv8I/AAAAAAAAfIE/Gw8iYIiyXiQ/go2-black.gif');},function() { $(this).attr('src','http://4.bp.blogspot.com/_pjBmfPy3Mak/TGBnNN0poTI/AAAAAAAAfIU/inzxH25fmt0/squarego.gif');} );
	 
 });




