$(function(){
var url = $.url(location.href);
if ( url.param('afid') != null )
{
	$.cookie('afid',url.param('afid'),{ expires: 7 });
}
});

