 $(document).ready(function() {

			//Examples of how to assign the ColorBox event to elements
			$(".img-only").colorbox();
			$("a[rel='graphic-gallery']").colorbox();
			$("a[rel='illus-gallery']").colorbox();
			$("a[rel='brand-gallery']").colorbox();
			$("a[rel='web-gallery']").colorbox();
			$("a[rel='photo-gallery']").colorbox();
			$("a[rel='motion-gallery']").colorbox();
			$("a[rel='graphic-personal2-gallery']").colorbox({innerHeight:"80%"});
			$("a[rel='graphic-domino-gallery']").colorbox({innerHeight:"80%"});
			$("a[rel='graphic-nova-jory-gallery']").colorbox({innerHeight:"80%"});
			$(".video-gal").colorbox({iframe:true, innerWidth:"75%", innerHeight:"80%"});
			//Example of preserving a JavaScript event for inline calls.
		
///////////////////////////////FANCYBOX////////////////////////
///* This is basic - uses default settings */
//	
//	$("a.zoom").fancybox();
//	
//	/* Using custom settings */
//	
//	$("a#inline").fancybox({
//		'hideOnContentClick': true
//	});
//
//	/* Apply fancybox to multiple items */
//	
//	$("a.group").fancybox({
//		'transitionIn'	:	'elastic',
//		'transitionOut'	:	'elastic',
//		'speedIn'		:	600, 
//		'speedOut'		:	200, 
//		'overlayShow'	:	false
//	});
//	
//	$(".zoom-video").click(function() {
//	$.fancybox({
//			'padding'		: 0,
//			'autoScale'		: false,
//			'transitionIn'	: 'none',
//			'transitionOut'	: 'none',
//			'title'			: this.title,
//			'width'			: 680,
//			'height'		: 495,
//			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
//			'type'			: 'swf',
//			'swf'			: {
//			'wmode'		: 'transparent',
//			'allowfullscreen'	: 'true'
//			}
//		});
//
//	return false;
//});

/////////////////////////////SLIDE FOR HRESUME//CV////////////////////////
 $('small#view-resume a').click(function() {    
		$('section#cv').fadeTo("slow",0.85);
		$('body').addClass('fixed');
		$('#wrapper-content').addClass('all-fixed');
		$('#nav-first-child').css("visibility", "hidden");
 });
 $('.close-btn').click(function() {    
		$('section#cv').fadeOut("slow");
		$('body').removeClass('fixed');
		$('#wrapper-content').removeClass('all-fixed');
		$('#nav-first-child').css("visibility", "visible");
 });
/////////////////////////////HOVER EFFECT FOR INFO BOX////////////////////////
 $('li.work-item').hover(function() {   
          
        //display the aux info caption  
		$(this).find('div.work-caption').stop(false,true).fadeIn("fast");
	//	$(this).find('div.work-caption').css("z-index","9999");
//		$(this).css("z-index","10"); 
    },  
    function() {        
        //hide the caption  
        $(this).find('div.work-caption').stop(false,true).fadeOut("slow");
    });

 /////////////////////////////SLIDE EFFECT FOR FILTER MENU////////////////////////
 
$("nav").hover(function() {
	
		$(this).find("li.fade-option").stop()
		.animate({left: "25", opacity:1}, "fast")
		.css("visibility","visible")

	}, function() {
		$(this).find("li.fade-option").stop()
		.animate({left: "0", opacity: 0}, "meddium")
		.css("display","inline")
	});
	
 });
 



