//Build Facebook Like For Individual Pages
(function(){
	var buildFB = function(){
		this.url = window.location.href;
		this.theme = "dark";
	}
	buildFB.prototype = {
		getURL: function(){
			return this.url;
		},
		inject: function(){
			var href = this.getURL;
			var theme;
			typeof this.theme === 'string' ? theme = this.theme : theme = 'light';
			var html = '<iframe src="http://www.facebook.com/plugins/like.php?href=' + window.location.href + '&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>';
			var div = document.getElementById('facebookHolder');
			div.innerHTML = html;
			div.style.display = 'block';
		},
		init: function(){
			this.inject();
		}
	}
	
	$(document).ready(function(){
		var BF = new buildFB;
		BF.init();
	
	});
})();


