$(document).ready(function() {
	//Clear Form Fields
	//$('#content p:first:not(#content form p)').addClass('intro');
	$('#s').focus(function() {
		if (this.value == 'Search') {
			this.value = '';	
		}
	});
	$('#s').blur(function() {
		if (this.value == '') {
			this.value = 'Search';	
		}
	});


	/*$('#product-features ul, #product-tech ul').hide();
	$('#product-features h4').click(function() {
		$('#product-enlarge a').slideUp("fast");
		$('#product-tech ul').slideUp("fast");
		$('#product-features ul').slideDown("slow");
	});
	$('#product-tech h4').click(function() {
		$('#product-enlarge a').slideUp("fast");
		$('#product-features ul').slideUp("fast");
		$('#product-tech ul').slideDown("slow");
	});
	$('#product-enlarge h4').click(function() {
		$('#product-tech ul').slideUp("fast");
		$('#product-features ul').slideUp("fast");
		$('#product-enlarge a').slideDown("slow");
	});*/
	/*$('#terms').accordion({ 
			active: false,
    			autoheight: false,
			header: 'a.main'
		});*/
	
	//Make an Appointment
	$('.view-hours').click(function() {
		$("#hours-load").load('http://owassochiropractor.com/hours');
	});
	
	//Replace 'Complete Care Chiropractic' from Youtube Titles
	$('.tubepress_meta_title').hide();
	
	
	$('#product-temp a').click(function() {
		$('#product-temp img').toggle();
		return false;
	});
	$('#product-temp img').click(function() {
			$(this).hide();
			return false;
	});
	$('#product-options a.small').click(function() {
		$('#product-options img').toggle();
		return false;
	});
	$('#product-options img').click(function() {
			$(this).hide();
			return false;
	});
	
	

});	