$(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
$("a[rel='featuredWeb']").colorbox({transition:"fixed-elastic"});
$("a[rel='featuredDesign']").colorbox({transition:"fixed-elastic"});
$("a[rel='flashVid1']").colorbox({iframe:true, transition:"fixed-elastic", width:"616", height:"475"});
$("a[rel='flashVid2']").colorbox({iframe:true, transition:"fixed-elastic", width:"790", height:"580"});
$("a[rel='flashVid3']").colorbox({iframe:true, transition:"fixed-elastic", width:"790", height:"590"});
$("a[rel='flashVid4']").colorbox({iframe:true, transition:"fixed-elastic", width:"790", height:"575"});
$("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:"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;
});
})
