In the case of "Images for radio buttons" this code is not working.
It should work with the imageTick plugin if you place the code that selects the radio button BEFORE the code that applies imageTick.
$(document).ready(function(){
if($('#question333 input.radio:checked').length == 0) {
document.getElementById('answer82352X12X333Y').checked = 'checked';
}
// Apply images to radios
$('input[type="radio"]').imageTick({
// Image to use as a selected state of the radio
tick_image_path: "upload/templates/yourTemplateName/radio.gif",
// Image to use as a non-selected state
no_tick_image_path: "upload/templates/yourTemplateName/no_radio.gif",
// Class to apply to all radio images that are dynamically created
image_tick_class: "radios"
});
// Apply images to checkboxes
$('input[type="checkbox"]').imageTick({
// Image to use as a selected state of the checkbox
tick_image_path: "upload/templates/yourTemplateName/check.gif",
// Image to use as a non-selected state
no_tick_image_path: "upload/templates/yourTemplateName/no_check.gif",
// Class to apply to all checkbox images that are dynamically created
image_tick_class: "checkboxes"
});
});