$(document).ready(function(){
	
	jQuery("#portfolio-list").accordion({
		active: true, 
		alwaysOpen: false,               
		autoheight: false, 
		header: '.trigger'
	});
	
	/* jQuery("#news").load("/news/?page_id=7"); */
	
	jQuery("#tire").hover(function(){
	  	$('#media-map').addClass('tire');
		}, function() {
	 	$('#media-map').removeClass('tire');
	});
	
	jQuery("#dq").hover(function(){
	  	$('#media-map').addClass('dq');
		}, function() {
	 	$('#media-map').removeClass('dq');
	});
	
	jQuery("#joes").hover(function(){
	  	$('#media-map').addClass('joes');
		}, function() {
	 	$('#media-map').removeClass('joes');
	});
	
	 $('#about-container').tabs({ fxFade: true, fxSpeed: 'fast' });
	 
	 $('a.zoom').fancyZoom();
	 
	 $('#rotate').innerfade({
		speed: 'slow',
		timeout: 4000,
		type: 'sequence',
		containerheight: '262px'
	 });
	 
	 	 $('#dairy-rotate').innerfade({
		speed: 'slow',
		timeout: 4000,
		type: 'sequence',
		containerheight: '262px'
	 });



})