For developers integrating the Fotomoto in API mode, we have a callback function that can be used to make sure that the Fotomoto Script has been loaded.
To use this callback, simply define a method called fotomoto_loaded before the widget script like this:
<script>
function fotomoto_loaded() {
// Functions that require Fotomoto to be loaded go here
alert("Fotomoto loaded!")
}
</script>