$().ready(function(){$("#compare_all").click(function(a){$("#pc INPUT[type='checkbox']").attr("checked","checked")})});