$(document).ready(function(){

	$(".menu2 a").append("<p><br/><span></span></p>");
	
	$(".menu2 a").hover(function() {
		$(this).find("p").animate({opacity: "show", top: "-75"}, "slow");
		var hoverText = $(this).attr("title");
	    $(this).find("p").find("span").text(hoverText);
	}, function() {
		$(this).find("p").animate({opacity: "hide", top: "-85"}, "fast");
	});


});

/*function fixHeight(scrollHeight, offsetHeight){
	return (scrollHeight > offsetHeight ? scrollHeight : offsetHeight + ‘px’);
}

function fixMarginTop(offsetHeight,documentElement,scrollTop){
	return (0 - parseInt(offsetHeight / 2) + (TBWindowMargin = documentElement && documentElement.scrollTop || scrollTop) + ‘px’);
} */

/*
function getHeight() {
    var h = 0;

    if (typeof(window.innerHeight) == "number") {
        h = window.innerHeight;
    } else {
        if (document.documentElement && document.documentElement.clientHeight) {
            h = document.documentElement.clientHeight;
        } else {
            if (document.body && document.body.clientHeight) {
                h = document.body.clientHeight;
            }
        }
    }

    return h;
}


jQuery(document).ready(function(){      
    jQuery('a.thickbox, area.thickbox, input.thickbox').click(function(){
        jQuery('.TB_overlayBG').css({'filter':'alpha(opacity=75)', '-moz-opacity':'0.75', 'opacity':'0.75'});    // lines 41  - 43
        jQuery('#TB_HideSelect').css({'filter':'alpha(opacity=0)', '-moz-opacity':'0', 'opacity':'0'});          // lines 154 - 156
        jQuery('#TB_iframeContent').css({'_margin-bottom':'1px'});                                              // line  175
        
        var isMSIE6 = jQuery.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent);
        
        // IE 6 hacks
        if (isMSIE6) {
            var Height_0 = document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'
            jQuery('#TB_overlay').css({'height':Height_0});                                                     // line  50
            
            jQuery('#TB_window').css({'margin-top':0});                                               // line  69
            
            jQuery('#TB_load').css({'margin-top':0});                                                 // line  142
            
            var Height_1 = document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px';
            jQuery('#TB_HideSelect').css({'height':Height_1});                                                  // line  165
        }
        
        var TB_HEIGHT = getHeight() - 50; // 50px seems to work in all most cases        
        if (!isMSIE6) {
            jQuery("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
        }
        
        return false;
    });
});
*/