// JavaScript Document

$(document).ready(function(){

					//animated captions for the portfolio
				$('.thumb_holder').hover(function(){
					$(".thumb_caption", this).stop().animate({bottom:'0px'},{queue:false,duration:300});
				}, function() {
					$(".thumb_caption", this).stop().animate({bottom:'-60px'},{queue:false,duration:300});
				});
			
					//animated captions for the serivices
				$('.services_thumb_holder').hover(function(){
					$(".services_thumb_caption", this).stop().animate({bottom:'0px'},{queue:false,duration:300});
				}, function() {
					$(".services_thumb_caption", this).stop().animate({bottom:'-75px'},{queue:false,duration:300});
				});
			
				
				//slider for the portfolio section
				$('.slides')
					.before('<div id="slides-nav">') 
					.cycle({ 
					fx:     'fade', 
					speed:   1000, 
					timeout: 4000,
					pause:  1,
					pager:  '#slides-nav' 
				});
			
			
			//menu highlighting for portfolio
			if ($('body').hasClass('single-post')) {
			//adds the .current for portfolio pages 
			$('li.portfolio').addClass('current');
			} 
			//menu highlighting for news
			else if	($('body').hasClass('single-news')) {
			//adds the .current for news pages 
			$('li.news').addClass('current');
			} 

			//If you are looking for BLOCKSTER it move to inmage_banner.php

});
