function showLike(url, x, y){
	 if (x && y){
		moveLike(x,y);
	 }
	 //var src = "http://www.facebook.com/plugins/like.php?href=" + url + "&layout=button_count&show_faces=false&width=450&action=like&font=arial&colorscheme=light&height=21";
	 $("#like-button-holder").css("display", "block");			 
	 $("#like-button-holder").html('<fb:like href="'+url+'" layout="button_count" show_faces="false"></fb:like>');
	 FB.XFBML.parse(document.getElementById('like-button-holder'));			 
}

function hideLike(){
	$("#like-button-holder").css("display", "none");
}

function moveLike(x,y){
	 var p = $("#flash").position();
	 var ml = $("#flash").margin().left;
	 var mt = $("#flash").margin().top;
	 if (x){
		x = x + p.left + ml;
		$("#like-button-holder").css("left", x);	
	 }
	 if (y){
		y = y + p.top + mt;
		$("#like-button-holder").css("top", y);	
	 }
	$("#like-button-holder").css("left", x);
	$("#like-button-holder").css("top", y);	
}
jQuery.fn.margin = function() {
	var marginTop = this.outerHeight(true) - this.outerHeight();
	var marginLeft = this.outerWidth(true) - this.outerWidth();

	return {
		top: marginTop,
		left: marginLeft
}};

