checkboxes: function () {
var hotspot = $('<img src="images/test/test-stoerer.png" alt="Test" />'),
hotspot_img = new Image(),
section_checkboxes = $(".section_checkboxes"),
sectionListItems = section_checkboxes.find("li"),
hotspot_checkboxes = section_checkboxes.find('input[type="checkbox"]');
hotspot.addClass("stoererImg");
//// append img function
var hotSpotTrigger = function () {
$(sectionListItems).children().append(hotspot);
var hotspotPosition = $(".section_checkboxes").find("input"),
hotspotTop = parseInt(hotspotPosition.data("top")) + "px",
hotspotLeft = parseInt(hotspotPosition.data("left")) + "px";
};
hotSpotTrigger();
} ///// end checkboxes