function initFlag(pid){$("#flagChooser a.fl").each(function(){if($(this).css('position')=='relative'){$("#flagChooser").hide();$("#flagMsg").html("Thanks for flagging.");}});$("#flagChooser a.fl").click(function(){$.get("/flag/?async=async&flagCode="+$(this).attr('id').substr(4)+"&postingID="+pid);$("#flagChooser").slideUp("fast",function(){$("#flagMsg").html("Thanks for flagging.");});return false;});}
