/*
 * global BFS namespace
 */
var BFS = {};

/*
 * jquery noconflict
 */
$.noConflict();


/*
 * Initialize page when it finished loading DOM
 */
BFS.init = function() {
  	
  	jQuery(document).ready(function($) {
  		BFS.shareFunc.binder();
  	});

} ();
/*
 * Handles Share Functions
 */
BFS.shareFunc = {

	binder: function() {
		this.showShare();
		this.hideShare();
	},
	showShare: function () {
		jQuery('.share').show();
		jQuery('noscript').hide();
		jQuery('.share').bind('click', function(){
			jQuery('.shareBox').show();
			jQuery('.share').hide();
			return false;
		});
	},
	hideShare: function () {
		jQuery('.close').bind('click', function(){
			jQuery('.shareBox').hide();
			jQuery('.share').show();
			return false;
		});
	}
	
}
