$(document).ready(function(){
	$("a[rel='gallery']").colorbox({transition:"fade"});
    setTimeout( function () { $( '.scroller' ).scroller() }, 3000 );
    $(".tweet").tweet({
        username: "NYCOutwardBound",
        avatar_size: 32,
        count: 3,
        loading_text: "loading tweets...",
        template: function(i){
            return '<p>' + i["text"] + '</p><em class="date">' + i["tweet_time"] + 
            " via " + i["source"]+ '</em>'
            }
    });
/*5 $("a[rel='example2']").colorbox();
6 $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
7 $("a[rel='example4']").colorbox({slideshow:true});
8 $(".example5").colorbox();
9 $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
10 $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
11 $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
12 $(".example9").colorbox({
13 onOpen:function(){ alert('onOpen: colorbox is about to open'); },
14 onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
15 onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
16 onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
17 onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
18 });
19
20 //Example of preserving a JavaScript event for inline calls.
21 $("#click").click(function(){
22 $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
23 return false;
24 });*/
}); 


