		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$("a[rel='fotos_elastic']").colorbox({height:"500px"});
			$("a[rel='fotos_fade']").colorbox({transition:"fade"});
			$("a[rel='fotos_notrans']").colorbox({transition:"none", width:"75%", height:"75%"});
			$("a[rel='fotos_slide']").colorbox({slideshow:true});
			$(".outsidehtml").colorbox();
			$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$(".iframe").colorbox({width:"840px", height:"500px", iframe:true});
			$(".inline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
			
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});

