function clearForm(obj){
$('#'+obj+' input[type=text]').each(function(i,el){
$(el).val('');
});
$('#'+obj+' input[type=hidden]').each(function(i,el){
$(el).val('');
});
$('#'+obj+' input[type=checkbox]').each(function(i,el){
$(el).attr("checked",false);
});
$('#'+obj+' select').each(function(i,el){
$(el).val('');
});
}
$('#'+obj+' input[type=text]').each(function(i,el){
$(el).val('');
});
$('#'+obj+' input[type=hidden]').each(function(i,el){
$(el).val('');
});
$('#'+obj+' input[type=checkbox]').each(function(i,el){
$(el).attr("checked",false);
});
$('#'+obj+' select').each(function(i,el){
$(el).val('');
});
}