$(document).ready(function()
    {

        if($("#player").length > 0)
        {
            flowplayer("player", "/swf/flowplayer/flowplayer-3.1.5.swf");
        }
    });
                        
$(document).ready(hideMenu);
function hideMenu(){
    $("#podmenu").hide();   
    $("#mainmenu td").not('.subMenu td').mouseover(activeItemMenu);
    $("#mainmenu td").not('.subMenu td').mouseout(passiveItemMenu);
}
            
function activeItemMenu() {
               
    $(".subMenu", this).show();
    $(".subMenu", this).css('display', 'block');
                
}
function passiveItemMenu() {
    $(".subMenu", this).hide();
    $("#podmenu").hide();
}

$(document).ready(function(){  
          
    $('.showTour').click(function(){
                
        idstr = $(this).attr("id");
        url= "/catalog/show/6/"+idstr+"/";  
        $.ajax({  
            url: url,
            type: "POST",
            data: "controller=ajax",
            cache: false,  
            success: function(html){  
                //alert(html);
                $("#pano").html(html);  
            }  
        });  
    });  
              
         
});
