// JavaScript Document
$(document).ready(function() {

	/* This is basic - uses default settings */
	
	$("a.mme").fancybox();
	$("a.kf").fancybox();
	$("a.hc").fancybox();
	$("a.professor").fancybox();
	$("a.sb").fancybox();
	$("a.cac").fancybox();
	$("a.ss").fancybox();

	
		
	$(".cpi").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/wf_cpi.gif',
				'title'	: 'Construction Partners Inc. (Home) - Wireframe'			
			},
			
			{
				'href'	: 'images/wf_cpi2.gif',
				'title'	: 'Construction Partners Inc. (Our Company) - Wireframe'			
			},
			
			{
				'href'	: 'images/fd_cpi0.jpg',
				'title'	: 'Construction Partners Inc. (Home) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_cpi1.jpg',
				'title'	: 'Construction Partners Inc. (Our Company) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_cpi2.jpg',
				'title'	: 'Construction Partners Inc. (Locations) - Final Design'
			}
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	
	$(".dm").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/wf_dm.gif',
				'title'	: 'Dothan Magazine (Home)- Wireframe'			
			},
			
			{
				'href'	: 'images/wf_dm2.gif',
				'title'	: 'Dothan Magazine (Dining) - Wireframe'			
			},
			
			{
				'href'	: 'images/fd_dm0.jpg',
				'title'	: 'Dothan Magazine (Home) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_dm1.jpg',
				'title'	: 'Dothan Magazine (Dining) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_dm2.jpg',
				'title'	: 'Dothan Magazine (Subscribe) - Final Design'
			},
			
			{
				'href'	: 'images/fd_dm3.jpg',
				'title'	: 'Dothan Magazine (About) - Final Design'
			}
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	
	
	$(".bc").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/wf_bc.jpg',
				'title'	: 'Brewer Construction (Home and About)- Wireframe'			
			},
			
			{
				'href'	: 'images/fd_bc0.jpg',
				'title'	: 'Brewer Construction (Home) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_bc1.jpg',
				'title'	: 'Brewer Construction (Where To Start) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_bc2.jpg',
				'title'	: 'Brewer Construction (Completed Projects)- Final Design'
			},
			
			{
				'href'	: 'images/fd_bc3.jpg',
				'title'	: 'Brewer Construction (Local Utilities)- Final Design'
			}
			
			
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	
	$(".hh").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/fd_hh0.jpg',
				'title'	: 'Hip Hollywood - Concept v.2'			
			}
			
			
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	

	
	$(".mu").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/wf_mu.gif',
				'title'	: 'myUtah (Home) - Wireframe'			
			},
			
			{
				'href'	: 'images/fd_mu0.jpg',
				'title'	: 'myUtah (Home) - Final Design'			
			}
			
			
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	
	
	$(".pl").click(function() {
		$.fancybox([
			
			
			{
				'href'	: 'images/wf_pl.gif',
				'title'	: 'Paul Lee (Home) - Wireframe'			
			},
			
			{
				'href'	: 'images/wf_pl2.gif',
				'title'	: 'Paul Lee (Meet Paul) - Wireframe'			
			},
			
			{
				'href'	: 'images/fd_pl0.jpg',
				'title'	: 'Paul Lee (Home) - Final Design'			
			},
			
			{
				'href'	: 'images/fd_pl1.jpg',
				'title'	: 'Paul Lee (Meet Paul) - Final Design'			
			}
			
			
			
		], {
			'padding'			: 0,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'              : 'image',
			'changeFade'        : 0
		});
	});
	
	
	$(".various5").fancybox({
		'width'				: '75%',
		'height'			: '75%',
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});

	
	/* Using custom settings */
	
	$("a#inline").fancybox({
		'hideOnContentClick': true
	});

	$("a.group").fancybox({
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
});
