$(document).ready(function(){
	$("a[rel='lightbox[crew]']").colorbox();
	$("a[rel='wheelieschnecken']").colorbox();
	$("a[rel='gsd2010']").colorbox();
	$("a[rel='passport']").colorbox();
	$("a[rel='gsd2011']").colorbox();
	$("a[rel='recycle']").colorbox({transition:"elastic", width:"400px", height:"250px"});
	
	/*
	docWidth = $(document).width();
	docHeight = $(document).height();
	winHeight = $(window).height();
	
	function showLayer2() {
		layerWidth = docWidth;
		layerHeight = 41;
		$("body").append('<div id="layerTop1" style="width:'+layerWidth+'px;"></div>');
		$("body").append('<div id="layerTop2" style="width:'+layerWidth+'px;height:'+layerHeight+'px;"></div>');
		$("#layerTop1").animate({ height: '300px' }, 1000);
		$("#layerTop2").animate({ top: '300px' }, 1000);
		$("body").append('<div id="layerBottom1" style="width:'+layerWidth+'px;height:'+layerHeight+'px;top:'+winHeight+'px;"></div>');
		$("body").append('<div id="layerBottom2" style="width:'+layerWidth+'px;height:'+(docHeight)+'px;top:'+(winHeight+41)+'px;"></div>');
		$("#layerBottom1").animate({ top: '299px' }, 1000);
		$("#layerBottom2").animate({ top: '339px' }, 1000);
		
		var boxWidth = 550, boxHeight = 0, topDist = 120, leftDist = docWidth / 2 - boxWidth / 2;
		$("body").append('<div id="contLayerShadow" style="width:'+boxWidth+'px;top:'+(topDist-9)+'px;left:'+(leftDist-9)+'px;"></div>');
		$("#contLayerShadow").hide();
		$("body").append('<div id="contLayer" style="width:'+boxWidth+'px;top:'+topDist+'px;left:'+leftDist+'px;"></div>');
		$("#contLayer").hide();
		$("#contLayer").html('Coming soon!<img id="closeLayer" src="images/close.png" alt="close" />');
		$("#contLayerShadow").height($("#contLayer").height());
		$("#contLayer, #contLayerShadow").delay(1100).fadeIn();
	}
	
	function hideLayer2() {
		$("#layerTop1, #layerTop2, #layerBottom1, #layerBottom2, #contLayer, #contLayerShadow").fadeOut();
	}
	
	$("#merchButton").click(function(){
		showLayer2();
	});
	
	$("body").delegate("#closeLayer", "click", function(){
		hideLayer2();
	});
	*/
});
