$(document).ready(function(){
  $('#looped').loopedSlider({
            autoStart: 8000,
            slidespeed: 1000,
            containerClick: false,
            hoverPause: true
        });

        $('#newsSlider').loopedSlider({
            autoStart: 10000,
            slidespeed: 1000,
            autoHeight: 400,
            containerClick: false,
            addPagination: true,
            hoverPause: true
   		});
	$('.acc-button').click(function() {
		$('.acc-button').removeClass('on');
	 	$('.acc-content').slideUp('fast');
		if($(this).next().is(':hidden') == true) {
			$(this).addClass('on');
			$(this).next().slideDown('fast');
		} 
	 });
	$('.acc-content').hide();
	
	$("li.country").bind("mouseenter", function(){
			$(this).addClass("hover");
				}).bind("mouseleave", function(){
					$(this).removeClass("hover");						
				});

	$('#search').focus(function(){
	 if ($(this).val() == "Search"){
	   $(this).val("");
	 }
	});
	$('#search').blur(function(){
	 if ($(this).val() == ""){
	   $(this).val("Search");
	 }
	});
});
