var j = jQuery.noConflict();
j(document).ready(function(){
    var speed = 250;
    var about_pos = 0;

    j(".introButton_tourism_active").fadeTo(0,0);
    j(".introButton_wood_active").fadeTo(0,0);

    j('.introButton_tourism_shadow').hover(
        function () {
        {
            j(".introButton_tourism_active").stop();
            j(".introButton_tourism").stop();
            j(".introButton_tourism_shadow").stop();
            j(".introButton_tourism_active").fadeTo(speed, 1);
            j(".introButton_tourism").animate({
                top: 15
            }, speed );
            j(".introButton_tourism_shadow").animate({
                width:268,
                marginLeft:16,
                marginTop:-2,
                height:324
            }, speed );
        }
        },
        function () {
            j(".introButton_tourism_active").stop();
            j(".introButton_tourism").stop();
            j(".introButton_tourism_shadow").stop();

            j(".introButton_tourism_active").fadeTo(speed, 0);
            j(".introButton_tourism").animate({
                top: 25
            }, speed );

            j(".introButton_tourism_shadow").animate({
                width:300,
                marginLeft:0,
                marginTop:0,
                height:324
            }, 300 );
        });

    j('.introButton_tourism').hover(
        function () {
            j(".introButton_tourism_active").stop();
            j(".introButton_tourism").stop();
            j(".introButton_tourism_shadow").stop();
            j(".introButton_tourism_active").fadeTo(speed, 1);
            j(".introButton_tourism").animate({
                top: 15
            }, speed );
            j(".introButton_tourism_shadow").animate({
                width:268,
                marginLeft:16,
                marginTop:-2,
                height:324
            }, speed );
            about_pos = 1;
        },
        function () {
            j(".introButton_tourism_active").stop();
            j(".introButton_tourism").stop();
            j(".introButton_tourism_shadow").stop();

            j(".introButton_tourism_active").fadeTo(speed, 0);
            j(".introButton_tourism").animate({
                top: 25
            }, speed );

            j(".introButton_tourism_shadow").animate({
                width:300,
                marginLeft:0,
                marginTop:0,
                height:324
            }, 300 );
            about_pos = 0;
        });

/*END TOURISM ANIMATION*/
    j('.introButton_wood_shadow').hover(
        function () {
            j(".introButton_wood_active").stop();
            j(".introButton_wood").stop();
            j(".introButton_wood_shadow").stop();


            j(".introButton_wood_active").fadeTo(speed, 1);
            j(".introButton_wood").animate({
                top: 15
            }, speed );
            j(".introButton_wood_shadow").animate({
                width:268,
                marginLeft:16,
                marginTop:-2,
                height:324
            }, speed );
        },
        function () {
            j(".introButton_wood_active").stop();
            j(".introButton_wood").stop();
            j(".introButton_wood_shadow").stop();

            j(".introButton_wood_active").fadeTo(speed, 0);
            j(".introButton_wood").animate({
                top: 25
            }, speed );

            j(".introButton_wood_shadow").animate({
                width:300,
                marginLeft:0,
                marginTop:0,
                height:324
            }, 300 );
        });

    j('.introButton_wood').hover(
        function () {
            j(".introButton_wood_active").stop();
            j(".introButton_wood").stop();
            j(".introButton_wood_shadow").stop();


            j(".introButton_wood_active").fadeTo(speed, 1);
            j(".introButton_wood").animate({
                top: 15
            }, speed );
            j(".introButton_wood_shadow").animate({
                width:268,
                marginLeft:16,
                marginTop:-2,
                height:324
            }, speed );
        },
        function () {
            j(".introButton_wood_active").stop();
            j(".introButton_wood").stop();
            j(".introButton_wood_shadow").stop();

            j(".introButton_wood_active").fadeTo(speed, 0);
            j(".introButton_wood").animate({
                top: 25
            }, speed );

            j(".introButton_wood_shadow").animate({
                width:300,
                marginLeft:0,
                marginTop:0,
                height:324
            }, 300 );
        });
});
