function goBack() {
history.go(-1);
}
function checkChange(count) {
var inflect = 'Images';
if(count == 1) {
inflect = 'Image';
}
var msg = '';
var color = '#000';
if($("#chkDelete").is(':checked')) {
msg = 'will be deleted';
color = '#ff0000';
} else {
msg = 'will become uncategorized';
color = '#000';
}
$("#imgMsg").html(''+count+' '+inflect+' '+msg+'');
}
function verify() {
var themessage = "";
if (document.delGalleryCat.whichGallery.value=="x") {
themessage += "Sorry, there are no galleries to delete!
";
}
if (themessage == "") {
document.delGalleryCat.submit();
} else {
$("#formErrors").html('