
function formatTitle(title, currentArray, currentIndex, currentOpts) {
    if (title) return '<div id="tip7-title">' + (title && title.length ? '<b>' + title + '</b>' : '' ) + '</div>';
    else return '';

}



function test() {
    var fr=$('#fraza').val();


    wpisz_fraze=wpisz_fraze.replace('&oacute;','ó');
    if (fr.replace(/\s/g,"")=="" || fr==wpisz_fraze)
    {
        $.prompt(fraza_mus,{
            focus:1,
            top: 180,
            buttons:{
                'OK':true
            },
            callback: function(v,m,f){

                if (fr==wpisz_fraze) $("#fraza").val('');
                $("#fraza").focus();
                $("#fraza").css({
                    'color':"#333333",
                    'font':'normal 12px arial'
                });
            }

        }
        );
        return false;
    } else return true;
}



$(function() {




    $('#fraza').click(function() {


        if ($(this).val().replace(/\s/g,"")==wpisz_fraze.replace(/\s/g,"")) {

            $(this).val('');
            $(this).css({
                'color':"#333333",
                'font':'normal 12px/21px arial'
            });
        }
    });

    $(".mLi").hover(function() {
        if ($.browser.msie && $.browser.version.substr(0,1)=="6") {
//            $(this).find('.podmenu').css('background','url(gfx/hover.png) no-repeat right top');
        } else {
//        $(this).find('.podmenu').css('background','url(gfx/left.png) no-repeat left top');
        }
        $(this).find(".subMenu").slideDown('fast').show().hover(function() {

            },function(){

            });

    }, function(){
        if ($(this).parent().find('.podmenu').attr('id') !='mActive') {
//        $(this).parent().find('.podmenu').css('background-image','none');
        }
        $(this).find(".subMenu").slideUp('fast',function(){
            if ($(this).parent().find('.podmenu').attr('id') !='mActive') {
//            $(this).parent().find('.podmenu').css('background-image','none');
            }
        }).hide();

    });



    

});
