// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
var j = jQuery.noConflict();

j(document).ready(function() {

   j('#overlay').expose({
     maskId : 'mask',
     zIndex : 30
     
   });

  j('button[rel]').overlay().click(function() {
    j('#overlay').expose().load(); 
  });
  

	j("#twitter").getTwitter({
		userName: "4luvofme",
		numTweets: 10,
		loaderText: "Loading tweets...",
		slideIn: true,
		showHeading: true,
		headingText: "Most Recent Tweets",
		showProfileLink: false
	});
	
  var twit = j(".twit");
	
	twit.getTwitter({
		userName: "tonygaskins",
		numTweets: 1,
		loaderText: "Loading tweets...",
		slideIn: true,
		showHeading: false,
		headingText: "Last Tweet",
		showProfileLink: false
	});
  

  
/*-- Fancy box for contact page -- 
  
  j('#contact_page').fancybox({
    'frameHeight' : 500,
    'enableEscapeButton': true,
    'hideOnContentClick': false,
    //'hideOnOverlayClick': false,
    'centerOnScroll': true
    });
    
-- */
});