 
  /*function goSlide()
  {
  $(".vslider-next").click();
  setTimeout('goSlide()',3000);
  }*/



$(document).ready(function() {
 

  /*$("span").VSlider();
    goSlide();*/
	try{
 $('.vslider-slider').VSlider({
	 speed:1500,
	 autoPlay:true,
	  autoPlayTime:4000
	 });
	}
	catch(err){}


$(".open li").hover(function(){
var $this =$(this);
var height = $this.height();
var minus = -height;
$this.children(".open_1").css({"margin-top": minus});
});
 
 
 $('.search_input').keyup(function(){
    $this = $(this);
    $val  = $this.val();
    $.get('ajax.php',{word:$val},function(d){$('.main').html(d);});
 });
 
  $('.search span a').click(function(){
    $this = $(this);
    $val  = $this.val();
    $.get('ajax.php',{word:$val},function(d){$('.main').html(d);});
	return false;
 });
 
 
	
});
