$(document).ready(function(){
	//Examples of how to assign the ColorBox event to elements
	$("a[rel='zoom']").colorbox({transition:"elastic", preloading:"true"});
	$(".amigo").colorbox({width:280, height:395, scrolling:false});	
	
	$("a[rel='example1a']").colorbox({transition:"fade"});
	$("a[rel='example1b']").colorbox({transition:"fade"});	
	$("a[rel='example2']").colorbox({transition:"fade"});
	$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
	$("a[rel='example4']").colorbox({slideshow:true});
	$(".single").colorbox({}, function(){
		alert('Howdy, this is an example callback.');
	});
	$(".colorbox").colorbox({width:650, height:480});
	$(".atualizacao").colorbox({width:300, height:160});	
	$(".youtube").colorbox({iframe:true, width:580, height:460});
	$(".iframe").colorbox({width:"80%", height:"80%", 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;
	});
});
