
$(document).ready(function() { 
$("#amalgamated").click(function() { 
$.fancybox([ 
'images/gallery/amalga01.jpg', 
'images/gallery/amalga02.jpg', 
'images/gallery/amalga03.jpg',
'images/gallery/amalga04.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT

$("#toyota").click(function() { 
$.fancybox([ 

'images/gallery/toyota01.jpg', 
'images/gallery/toyota02.jpg',
'images/gallery/toyota03.jpg', 
'images/gallery/toyota04.jpg',
'images/gallery/toyota05.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT 

$("#snapple").click(function() { 
$.fancybox([ 
'images/gallery/snapple01.jpg', 
'images/gallery/snapple02.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT ---------------

$("#motts").click(function() { 
$.fancybox([ 
'images/gallery/motts01.jpg', 
'images/gallery/motts02.jpg',  

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT 

$("#urs").click(function() { 
$.fancybox([ 
'images/gallery/newmu01.jpg', 
'images/gallery/newmu02.jpg', 
'images/gallery/newmu03.jpg',
'images/gallery/newmu04.jpg', 
'images/gallery/newmu05.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT

$("#pumaindex").click(function() { 
$.fancybox([ 
'images/gallery/index01.jpg', 
'images/gallery/index02.jpg', 
'images/gallery/index03.jpg', 
'images/gallery/index04.jpg', 
'images/gallery/index05.jpg', 
'images/gallery/index06.jpg', 


], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT -------------

$("#pumalift").click(function() { 
$.fancybox([ 
'images/gallery/lift01.jpg', 
'images/gallery/lift02.jpg', 
'images/gallery/lift03.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT

$("#bikehero").click(function() { 
$.fancybox([ 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT 

$("#sektor3").click(function() { 
$.fancybox([ 
'images/gallery/sektor01.jpg', 
'images/gallery/sektor02.jpg', 
'images/gallery/sektor03.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT -------------

$("#sol3000").click(function() { 
$.fancybox([ 
'images/gallery/sol01.jpg', 
'images/gallery/sol02.jpg', 
'images/gallery/sol03.jpg', 
'images/gallery/sol04.jpg', 
'images/gallery/sol05.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT

$("#peacequest").click(function() { 
$.fancybox([ 
'images/gallery/peace01.jpg', 

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 

// NEXT PROJECT 

$("#beamograph").click(function() { 
$.fancybox([ 
'images/gallery/beam01.jpg', 
'images/gallery/beam02.jpg', 
'images/gallery/beam05.jpg',    

], { 
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'type' : 'image',  
'padding': 0 // optional 
}); 
}); 




$("#youtubebeam, #youtubebike, #youtubeindex,").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;
});





}); // closes ready 


