function FaceBookControl()
{
	this.PageHideCover;
	this.PageShowFacepile;
	this.PageShowPosts;
	this.PageSmallHeader;
	this.PageAdaptContainerWidth;
	this.CommentsColorScheme;
	this.CommentsMobile;
	this.CommentsNumPosts;
	this.CommentsOrderBy;
	this.LikeBtAction;
	this.LikeBtColorScheme;
	this.LikeBtKidDirectedSite;
	this.LikeBtLayout;
	this.LikeBtShare;
	this.LikeBtShowFaces;
	this.LikeBtLabelRef;
	this.ShareBtLayout;
	this.SendBtColorScheme;
	this.SendBtKidDirectedSite;
	this.SendBtLabelRef;
	this.VideosDataAllowFullScreen;
	this.VideosDataAutoPlay;
	this.FollowBtColorScheme;
	this.FollowBtKidDirectedSite;
	this.FollowBtLayout;
	this.FollowBtShowFaces;
	this.Width;
	this.Height;
	this.Href;
	this.Type;
	this.Idioma;

	this.show = function()
	{
		///UserCodeRegionStart:[show] (do not remove this comment.)


		var PageUrl  = "";
		var buffer   = '';

		buffer = '<div id="fb-root"></div>		';

		if(this.Type=="1") {
			//Like Button
			PageUrl = (this.Href=="") ? "https://www.facebook.com/gxusercontrol" : this.Href; 
			buffer += '<div class="fb-like" data-href="'+ PageUrl +'"  data-width="' + this.Width +'"  ';
			buffer += 'data-action="'+ this.LikeBtAction +'" data-colorscheme="'+ this.LikeBtColorScheme +'"> ';
			buffer += 'data-kid-directed-site="'+ this.LikeBtKidDirectedSite +'" data-layout="'+ this.LikeBtLayout +'"> ';
			buffer += 'data-ref="'+ this.LikeBtLabelRef +'" data-share="'+ this.LikeBtShare +'"> ';
			buffer += 'data-show-faces="'+ this.LikeBtShowFaces +'"  ';
			buffer += '</div>';
		}
		if(this.Type=="2") {
			//Share Button
			PageUrl = (this.Href=="") ? "https://www.facebook.com/gxusercontrol" : this.Href; 
			buffer += '<div class="fb-share-button" data-href="'+ PageUrl +'"  data-width="' + this.Width +'"  data-layout="'+ this.ShareBtLayout +'" ></div>';
		}
		if(this.Type=="3") {
			//Send Button
			PageUrl = (this.Href=="") ? "https://www.facebook.com/gxusercontrol" : this.Href; 
			buffer += '<div class="fb-send" data-href="'+ PageUrl +'"  data-width="' + this.Width +'"  kid_directed_site="'+ this.SendBtKidDirectedSite +'" colorscheme="'+ this.SendBtColorScheme +'" ref="'+ this.SendBtLabelRef +'"></div>';
		}

		if(this.Type=="4") {
			//Embedded Posts
			PageUrl = (this.Href=="") ? "https://www.facebook.com/gxusercontrol/posts/845877678814554" : this.Href; 
			buffer += '<div class="fb-post" data-href="'+ PageUrl +'"  data-width="' + this.Width +'" >';
			buffer += '	<div class="fb-xfbml-parse-ignore">';
			buffer += '		<blockquote cite="'+ PageUrl +'">';
			//buffer += '		<p>Be the first to know when we release a new video by subscribing to our official Facebook Developers YouTube channel! ';
			//buffer += '		http://www.youtube.com/facebookdevelopers</p>Posted by <a href="https://www.facebook.com/FacebookDevelopers">Facebook Developers</a> ';
			//buffer += '		on&nbsp;<a href="'+ PageUrl +'">Quarta, 29 de maio de 2013</a>';
			buffer += '		</blockquote>';
			buffer += '	</div>';
			buffer += '</div>';
		}
		if(this.Type=="5") {
			//Embedded Videos
			PageUrl = (this.Href=="") ? "https://www.facebook.com/facebook/videos/10153231379946729/" : this.Href; 
			buffer += '<div class="fb-video" data-href="'+ PageUrl +'"  data-width="' + this.Width +'"  data-allowfullscreen="'+ this.VideosDataAllowFullScreen +'" data-autoplay="'+ this.VideosDataAutoPlay +'">';
			buffer += '	<div class="fb-xfbml-parse-ignore">';
			buffer += '	<blockquote cite="'+ PageUrl +'">';
			//buffer += '		<a href="'+ PageUrl +'">How to Share With Just Friends</a>';
			//buffer += '		<p>How to share with just friends.</p>Posted by <a href="https://www.facebook.com/facebook">Facebook</a>on Sexta, 5 de dezembro de 2014';
			buffer += '	</blockquote>';
			buffer += '	</div>';
			buffer += '</div>';			
		}
		if(this.Type=="6") {
			//Comments
			PageUrl = (this.Href=="") ? "https://www.facebook.com/gxusercontrol" : this.Href;
			buffer += '<div class="fb-comments" data-href="'+ PageUrl +'" data-colorscheme="'+ this.CommentsColorScheme +'" data-order-by="'+ this.CommentsOrderBy +'" data-mobile="'+ this.CommentsMobile +'" data-width="' + this.Width +'"  data-numposts="'+ this.CommentsNumPosts +'"></div>';
		}
		if(this.Type=="7") {
			//Page Plugin
			PageUrl =  (this.Href=="") ? "https://www.facebook.com/gxusercontrol" : this.Href;
			buffer += '<div class="fb-page" data-href="'+ PageUrl +'" data-small-header="'+ this.PageSmallHeader +'" data-adapt-container-width="'+ this.PageAdaptContainerWidth +'" ';
			buffer += 'data-hide-cover="'+ this.PageHideCover +'" data-width="' + this.Width +'" data-height="' + this.Height +'" data-show-facepile="'+ this.PageShowFacepile +'" data-show-posts="'+ this.PageShowPosts +'">';
			buffer += '<div class="fb-xfbml-parse-ignore">';
			buffer += '<blockquote cite="'+ PageUrl +'">';
			//buffer += '<a href="https://www.facebook.com/facebook">Facebook</a>';
			buffer += '</blockquote></div>';
			buffer += '</div>	';
		}
		if(this.Type=="8") {
			//Follow Button
			PageUrl    = (this.Href=="") ? "https://www.facebook.com/welton.nascimento.33" : this.Href;
			buffer += '<div class="fb-follow" data-kid-directed-site="'+ this.FollowBtKidDirectedSite +'" data-colorscheme="'+ this.FollowBtColorScheme +'" data-href="'+ PageUrl +'" data-layout="'+ this.FollowBtLayout+'" data-show-faces="'+ this.FollowBtShowFaces +'"></div>';
		}
		
			this.setHtml(buffer);
			
			var Idioma = (this.Idioma=="") ? "en_US" : this.Idioma;  /*en_US/pt_BR/es_ES*/
			(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)[0];
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "//connect.facebook.net/"+ Idioma.trim() +"/sdk.js#xfbml=1&version=v2.3";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));

		
		
		
		
		
		
		
		
		
		
		
		
		
		///UserCodeRegionEnd: (do not remove this comment.)
	}
	///UserCodeRegionStart:[User Functions] (do not remove this comment.)


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	///UserCodeRegionEnd: (do not remove this comment.):
}
