

jQuery(document).ready(function(){

    if(jQuery('#kruse_video_1').length>0) {
        var krusePlayer = VideoJS.setup("kruse_video_1", {
          controlsBelow: false, // Display control bar below video instead of in front of
          controlsHiding: false, // Hide controls when mouse is not over the video
          defaultVolume: 0.85, // Will be overridden by user's last volume if available
          flashVersion: 9, // Required flash version for fallback
          linksHiding: true // Hide download links when video is supported
        });

        krusePlayer.onPlay(function(){
          if(typeof _gaq != 'undefined') {
            _gaq.push(['_trackPageview', '/video-play']);
            }
        });

    }

    jQuery('div.gallery_thumb').hover(function() {

        jQuery('#gallery_big').attr('src', jQuery(this).find('input.imglink').val());
        
    });

    jQuery('#contactFormSendBtn').click(function(){
        jQuery(this).closest('form').submit();
        return false;
    });

    /*$('select[name="your-subject"]').change(function(){
        var s = $(this).find('option:selected').val();
        $('#selectyour-subject').html(s);
    });

    if($('select[name=your-subject]').length>0) {
        var s = $('select[name=your-subject]').find('option:selected').val();
        $('#selectyour-subject').html(s);
    }*/
});


