// JavaScript Document


jQuery(document).ready(function(){
	//Examples of how to assign the ColorBox event to elements
	jQuery("a[rel='example1']").colorbox();
	jQuery("a[rel='example2']").colorbox({transition:"fade"});
	jQuery("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
	jQuery("a[rel='example4']").colorbox({slideshow:true});
	jQuery(".single").colorbox({}, function(){
		alert('Howdy, this is an example callback.');
	});
	jQuery(".colorbox").colorbox();
	jQuery(".youtube").colorbox({iframe:true, width:550, height:550});
	jQuery(".iframe").colorbox({width:"80%", height:"80%", iframe:true});
	jQuery(".inline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
		
	//Example of preserving a JavaScript event for inline calls.
	jQuery("#click").click(function(){ 
		jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
		return false;
	});
});
