// JavaScript Document
$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$("a[rel='example1']").colorbox({iframe:true, transition:"fade", innerWidth:690, innerHeight:490});
				$("a[rel='formulario']").colorbox({iframe:true, innerWidth:650, innerHeight:420});
				$("a[rel='example2']").colorbox({transition:"fade"});
				$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
				$("a[rel='example4']").colorbox({slideshow:true});
				$("a[rel='leermas']").colorbox({iframe:true, rel:'group1', innerWidth:540, innerHeight:420});
				$("a[rel='leermas2']").colorbox({iframe:true, rel:'group2', innerWidth:776, innerHeight:526});
				$("a[rel='leermas3']").colorbox({iframe:true, rel:'group3', innerWidth:776, innerHeight:526});
				$("a[rel='galeria']").colorbox({transition:"none"});
				$("a[rel='entorno']").colorbox({transition:"none"});
				$("a[rel='equipo']").colorbox({transition:"none"});
				$("a[rel='catering1']").colorbox({transition:"none"});
				
				$("a[rel='dannys']").colorbox({transition:"none"});
				$("a[rel='bistro']").colorbox({transition:"none"});
				$("a[rel='cocina']").colorbox({transition:"none"});
				$("a[rel='creditos']").colorbox({iframe:true, rel:'creditos',innerWidth:200, innerHeight:200});
				
				$("a[rel='video_catering']").colorbox({iframe:true, rel:'video_catering',innerWidth:625, innerHeight:360});
				
				$("a[rel='degustacion']").colorbox({transition:"none"});
				
				$("a[rel='room0']").colorbox();
				$("a[rel='room1']").colorbox();
				$("a[rel='room2']").colorbox();
				$("a[rel='room3']").colorbox();
				$("a[rel='room4']").colorbox();
				$("a[rel='room5']").colorbox();
				$("a[rel='room6']").colorbox();
				$("a[rel='room7']").colorbox();
				$("a[rel='room8']").colorbox();
				$("a[rel='room9']").colorbox();
				$("a[rel='spa0']").colorbox();
				$("a[rel='spa1']").colorbox();
				$("a[rel='spa2']").colorbox();
				$("a[rel='spa3']").colorbox();
				$("a[rel='spa4']").colorbox();
				$("a[rel='spa5']").colorbox();
				$("a[rel='spa6']").colorbox();
				$("a[rel='spa7']").colorbox();
				$("a[rel='spa8']").colorbox();
				$("a[rel='spa9']").colorbox();
				$(".room").colorbox({slideshow:true});
				$(".example5").colorbox();
				$(".leer").colorbox({iframe:true, transition:"fade", innerWidth:760, innerHeight:550});
				$(".menu_lanz").colorbox({iframe:true, innerWidth:760, innerHeight:550});
				$(".artistas").colorbox({iframe:true, innerWidth:830, innerHeight:550});
				$(".example7").colorbox({width:"80%", height:"80%", iframe:true});
				$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
				$(".example9").colorbox({
					onOpen:function(){ alert('onOpen: colorbox is about to open'); },
					onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
					onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
					onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
					onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
				});
				$(".example15").colorbox({iframe:true, innerWidth:690, innerHeight:550});
				
				//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;
				});
			});
