$(document).ready(function() { 
    $("div#tx_forsterproject_pi1_gallery_images").slideView({ easeTime: 1,easeFunc: 'linear'});
    $("div#tx_forsterproject_pi1_gallery_plan").slideView({ easeTime: 1, easeFunc: 'linear'});
    $("div#tx_forsterproject_pi1_gallery_model").slideView({ easeTime: 1, easeFunc: 'linear'});
    
    $('#tx_forsterproject_pi1_images').show();
    $('#tx_forsterproject_pi1_plan').hide();
    $('#tx_forsterproject_pi1_model').hide();

    $("a#tx_forsterproject_pi1_showimages").bind("click", function(){
        $('#tx_forsterproject_pi1_images').show( );
        $('#tx_forsterproject_pi1_model').hide();
        $('#tx_forsterproject_pi1_plan').hide();
        $("div#tx_forsterproject_pi1_nav a").each(function(n) {$(this).removeClass("current");});
        $(this).addClass("current");
        return false;
    });
    $("a#tx_forsterproject_pi1_showplan").bind("click", function(){
        $('#tx_forsterproject_pi1_images').hide( );
        $('#tx_forsterproject_pi1_model').hide();
        $('#tx_forsterproject_pi1_plan').show();
        $("div#tx_forsterproject_pi1_nav a").each(function(n) {$(this).removeClass("current");});
        $(this).addClass("current");
        return false;
    });
    $("a#tx_forsterproject_pi1_showmodel").bind("click", function(){
        $('#tx_forsterproject_pi1_images').hide( );
        $('#tx_forsterproject_pi1_model').show();
        $('#tx_forsterproject_pi1_plan').hide();
        $("div#tx_forsterproject_pi1_nav a").each(function(n) {$(this).removeClass("current");});
        $(this).addClass("current");
        return false;
    });
    
    
});
