FB.init({ appId : '370401196419261', status : true, // check status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function devientfan () { createCookie("fan","cacher",365); try { _gaq.push(['_trackEvent', 'fan' , 'Lienfacebookhaut', 'Lienfacebookhaut']); } catch(err){} } // this will fire when any of the like widgets are "liked" by the FB.Event.subscribe('edge.create', function(href) { devientfan(); }); 67g56