//  COLORBOX
$(document).ready(function(){
	//Examples of how to assign the ColorBox event to elements
	$("a[rel='mrbazar']").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:650, height:550});
	$(".iframe").colorbox({width:"500px", height:"500", iframe:true});
	$(".iframe2").colorbox({width:"80%", height:"90%", iframe:true});
	$(".iframe3").colorbox({width:"550px", height:"620px", iframe:true});
	$(".inline").colorbox({width:"80%", inline:true, href:"#inline_HTML"});
	$(".inline2").colorbox({width:"500px", inline:true, href:"#inline_HTML2"});
	$(".inline3").colorbox({width:"80%", inline:true, href:"#inline_HTML3"});
	$(".inline4").colorbox({width:"80%", inline:true, href:"#inline_HTML4"});
	
	//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;
	});
});


