(currMonth == 3 && currDay >= 1 && currDay <= 1) ) { if (currMonth == 2) { currDay-=21; } else { currDay+=10; } currElement = 'oster-tag' + currDay; $('#'+currElement).show(10); $('#inhalt').bind('content_ready', function (_event){ $('#'+currElement).show(1); }); } } $(document).ready(function() { $('#inhalt').bind('time_syned', function( _event, p) { aktionAction(p); }); }); -->