this.tooltip = function() {

    $("a.twitter").hover(function() {
        
        this.t = this.title;
        this.title = "";
        $("#plc_lt_zoneContent_PagePlaceholder_PagePlaceholder_lt_zoneBottom_twitter_StatusUpdatesTable tr:first").append("<td rowspan='4' id='twitter-td'><div id='twitter'>" + this.t + "</div></td>");
        $("#twitter").fadeIn("slow");
    },
	function() {
    this.title = this.t;
    $("#twitter").fadeOut("slow");
	    $("#twitter").remove();
	    $("#twitter-td").remove();
	});

};



$(document).ready(function() {
    tooltip();


   $("#fontsizer a").textresizer({
      target: ".zoneContentBottom, .contentLeft .CMSMenu", 
	  sizes: ["0.8em","1em","1.2em"], 
	  selectedIndex: 0
   });


    $('#tooltip').hide();
    $(".Dot_Link").hover(
		function() {
		    $('#tooltip').animate({ opacity: 'show' }, 'slow');
		},
		function() {
		    if ($('#tooltip').hasClass('clicked')) {
		        setTimeout("$('#tooltip').animate({opacity:'hide'},'slow')", 5500);
		        $("#tooltip").removeClass('clicked');
		    } else { $('#tooltip').animate({ opacity: 'hide' }, 'slow'); }
		});
    $(".Dot_Link").click(function() {
        if (!$('#tooltip').hasClass('clicked')) {
            $("#tooltip").addClass('clicked');
        } else {
            $("#tooltip").removeClass('clicked');
        } 
    });
    $("#twitter").getTwitter({
        userName: "heinerdirect",
        numTweets: 1,
        loaderText: "",
        slideIn: true,
        slideDuration: 750,
        showHeading: true,
        headingText: "AKTUELLES",
        showProfileLink: false,
        showTimestamp: true
    });
});