function initTinyPopups()
{
	
	/******* create popups *********/
	
    $('.tooltip-e').tipsy({
        html: true,
        gravity: 'e'
    });
	
	
	$('#avatar img, .footerlink, .tooltip-w').tipsy({
		//trigger: 'manual',
        html: true,
        gravity: 'w'
	});
	
    /*$('#logojmt img').CreateBubblePopup({
        
        innerHtml: 'Zur Startseite',
        innerHtmlStyle: {
            color: '#FFFFFF'
        },
		position : 'left',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
	$('.logo-jpd img').CreateBubblePopup({
        
        innerHtml: '<span style="color:grey">Zur Website der</span> <br><b>Jugendpresse Deutschland</b>',
        innerHtmlStyle: {
            color: 'white'
        },
		position : 'top',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
	$('.logo-jpbw img').CreateBubblePopup({
        
        innerHtml: '<span style="color:grey">Zur Website der</span> <br><b>Jugendpresse Baden-W&uuml;rttemberg</b>',
        innerHtmlStyle: {
            color: 'white'
        },
		position : 'top',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
    $('#btnrss').CreateBubblePopup({
        
        innerHtml: 'Abonniere die JMT News als RSS Feed',
        innerHtmlStyle: {
            color: '#FFFFFF'
        },
		position : 'left',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
    $('#btnfb').CreateBubblePopup({
        
        innerHtml: 'Die JMT auf Facebook',
        innerHtmlStyle: {
            color: '#FFFFFF'
        },
		position : 'left',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
    $('#btntw').CreateBubblePopup({
        
        innerHtml: 'Folge den JMT-News auf Twitter',
        innerHtmlStyle: {
            color: '#FFFFFF'
        },
		position : 'left',
        themeName: 'all-black',
        themePath: 'images/jquerybubblepopup-theme'
    });
	*/
}
