function addfeatured(c){var a="featured-game-"+c;$.getJSON(_mainRoot+"word-games/hangman/ajxfeatured/",{gid:c},function(b){b=b[0].featuredaction;if(b=="featured"){$("#"+a).removeClass();$("#"+a).html("<small>Remove from featured</small>");$("#"+a).addClass("remove-featured")}else if(b=="unfeatured"){$("#"+a).removeClass();$("#"+a).html("<small>Add to featured</small>");$("#"+a).addClass("add-featured")}else return false});return false}
$(document).ready(function(){$(".deleteGame").click(function(){return confirm("Are you sure you want to delete this game?")?true:false})});
