$(document).ready(function(){
						   
	$('#column4').accordion({ 
		autoheight: true,
		header: ".opener",
		animated: 'slide',
		active: '.selected',
		selectedClass: 'open',
		alwaysOpen: false,
		event: "click"
	});

	$('#column5').accordion({ 
		autoheight: true,
		header: ".opener",
		animated: 'slide',
		active: '.selected',
		selectedClass: 'open',
		alwaysOpen: false,
		event: "click"
	});
	
	/*$('#subnav a').click(function(){
		if ($(this).next('ul').length) {
			$(this).next('ul').slideToggle(200).end().parent('li').toggleClass('open');
			return false;
		}
	});*/

	$('#search_query').focus(function()
	{
		$('#search_query').val('');
	});

	$('#search_query').blur(function()
	{
		var val = $('#search_query').val();
		if(val == '')
		{
			$('#search_query').val('Search this site...');
		}
	});

	$('.sub-accordion').parent().next('dd').slideUp('fast');

	$('.sub-accordion').click(function(){
		//Uncomment following line for true accordion action.
		//$(this).parent().siblings('dd').slideUp('fast');
		$(this).parent().next('dd').slideToggle('fast');
		var HAS_CLASS = $(this).parent('dt').hasClass('open');
		if (HAS_CLASS === true)
		{
			$(this).parent('dt').removeClass('open');
		} else {
			$(this).parent('dt').addClass('open');
		}
		return false;
	});

	$('#heard').click(function(){
		$('#select_one').remove();
	});

	$('#Product_Group').click(function(){
		$('#select_one').remove();
	});

	$('.slideUp').slideUp('fast');
	$('.checkInit').focus(function(){
		$('.slideUp').slideUp('fast');
	});

	$('.scrollable a').click(function(){
		$('.slideUp').slideUp('fast');
		$(this).next('ul').slideDown('slow');
		return false;
	})

});
