// JavaScript Document

$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$("a[rel='example0']").colorbox();
				$("a[rel='example1']").colorbox();
				$("a[rel='example2']").colorbox();
				$(".single").colorbox({}, function(){
					alert('Howdy, this is an example callback.');
				});
				$(".colorbox").colorbox({iframe:true, width:970, height:690});
				$(".iframe").colorbox({width:"650", height:"450", 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;
				});
			});
