$(document).ready(function(){
  $('#pagatbemutat-youtube').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 460,
      height: 360,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});

$(document).ready(function(){
  $('#pagatbemutat-youtube-uj').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 460,
      height: 360,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});

$(document).ready(function(){
  $('#pagatbemutatkozas-youtube').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 460,
      height: 360,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});
$(document).ready(function(){
  $('#nissanbemutatkozas').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 500,
      height: 400,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});
$(document).ready(function(){
  $('#nissanqx2').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 500,
      height: 400,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});
$(document).ready(function(){
  $('#nissantx').click(function(){
    $.fancybox({
      padding: 0,
      autoScale: false,
      transitionIn: 'none',
      transitionOut: 'none',
      title: this.title,
      width: 500,
      height: 400,
      href: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
      type: 'swf',
      swf: {
        'wmode': 'transparent',
        'allowfullscreen': 'true'
      }
    });
    return false;
  });
});
