function applyStyle(){}$.fn.hoverClass=function(c){$(this).hover(function(){$(this).addClass(c);
},function(){$(this).removeClass(c);
});};$.fn.hoverClass2=function(class1,class2){$(this).removeClass(class2);
$(this).removeClass(class1);
$(this).addClass(class2);
$(this).hover(function(){$(this).removeClass(class2);
$(this).addClass(class1);
},function(){$(this).removeClass(class1);
$(this).addClass(class2);
});};function toggleCheckBox(attr1,attr2){if($("#"+attr1).is(":checked")){$("#"+attr2).addClass("checkBoxChecked");
}else{$("#"+attr2).removeClass("checkBoxChecked");
}}function selectCheckBox(attr1,attr2){$("#"+attr1).attr("checked",true);
$("#"+attr2).addClass("checkBoxChecked");
}function toggleRadioBtn(radioGroup,radioLabelGroup,radioID,radioLabelID){$("."+radioGroup).each(function(){$(this).attr("checked",false);
});$("."+radioLabelGroup).each(function(){$(this).removeClass("radioBtnChecked");
});$("#"+radioID).attr("checked",true);
$("#"+radioLabelID).addClass("radioBtnChecked");
}function clearRadioButtons(){$(".radioInput").each(function(){$(this).attr("checked",false);
});}function clearCheckBoxes(){$(".checkboxInput").each(function(){$(this).attr("checked",false);
});}$(document).ready(function(){if($("#userComments")){$("#userComments").autogrow({maxHeight:100,minHeight:30,lineHeight:16});
}});
