// JavaScript Document

			$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$("a[rel='example1']").colorbox();
				$("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();
				$(".youtube").colorbox({iframe:true, width:620, height:460});
				$(".radio").colorbox({iframe:true, width:588, height:367});
				$(".tvembracon").colorbox({iframe:true, width:620, height:460});
				$(".mapas").colorbox({iframe:true,width:640, height:480});
				$("#assembleia").colorbox({iframe:true,width:845, height:650});
				$(".assembleia").colorbox({iframe:true,width:845, height:650});
				$("#attonline").colorbox({iframe:true,width:480, height:446});
				$(".attonline").colorbox({iframe:true,width:480, height:446});
				$(".fotonews").colorbox();
				$("#agendar").colorbox({iframe:true,width:720, height:500});
				$(".agendar").colorbox({iframe:true,width:720, height:500});
				$("#disponibilidade").colorbox({iframe:true,width:500, height:175});
				$(".disponibilidade").colorbox({iframe:true,width:500, height:175});
				$(".contratopdf").colorbox({iframe:true, width:700, height:460});
				$("#contratopdf").colorbox({iframe:true, width:700, height:460});
				$(".newsletter").colorbox({width:460, height:320});
				$("#newsletter").colorbox({width:460, height:320});
				$(".mapas-large").colorbox({iframe:true, width:836, height:475});
				$("#mapas-large").colorbox({iframe:true, width:838, height:475});
				$("#ligamos").colorbox({iframe:true,width:720, height:460});
				$(".ligamos").colorbox({iframe:true,width:720, 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;
				});
			});
