$.fn.extend({

        counter: function() {
            return this.each(function() {
                
                var $this = $(this);
                var html = '<div id="top_border"></div>';
				html    += '<div id="container">';
				html    += '<div id="logo"></div>';
				
				html    += '<div id="countbox"></div>';
                                html    += '<div class="line"></div>';
				html    += '<div id="main_titel">' + main_titel + '<span>' + sub_titel + '</span></div>';
				html    += '</div>';
				 
                $this.html(html);  
            });
        }
});
