/* sIFR CONFIGURATIE */
var gotham = { src: '/images/fonts/bebas.swf' };
sIFR.activate(gotham);


sIFR.replace(gotham, {
  selector: '.widget strong.pics, .photopreview h2',
  css: [
    '.sIFR-root { .sIFR-root { background-color: #000000; color: #FF0066; text-transform: uppercase; font-size: 24px; line-height: 26px; letter-spacing: -1; }',
    'a { color: #FF0066; text-decoration: none; }',
    'a:hover { color: #FF0066; text-decoration: underline; }'
  ],
  transparent: true
});

sIFR.replace(gotham, {
  selector: '.widget strong, .mailing h2',
  css: [
    '.sIFR-root { .sIFR-root { background-color: #000000; color: #FF0066; text-transform: uppercase; font-size: 24px; line-height: 26px; letter-spacing: 0; }',
    'a { color: #FF0066; text-decoration: none; }',
    'a:hover { color: #FF0066; text-decoration: underline; }'
  ],
  transparent: true
});

/* MARQUEE CONFIGURATIE */
    $(function () {
        // basic version is: $('div.demo marquee').marquee() - but we're doing some sexy extras
        
        $('marquee').marquee('pointer').mouseover(function () {
            $(this).trigger('stop');
        }).mouseout(function () {
            $(this).trigger('start');
        }).mousemove(function (event) {
            if ($(this).data('drag') == true) {
                this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
            }
        }).mousedown(function (event) {
            $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
        }).mouseup(function () {
            $(this).data('drag', false);
        });
    });



/* FANCYBOX CONFIGURATIE */
$(document).ready(function() {
  $("a.fancy").fancybox({
    'transitionIn'	: 'elastic',
    'transitionOut'	: 'elastic'
  });

  $("a.game").fancybox({
    'hideOnContentClick' : false,
	'hideOnOverlayClick' : false,
    'transitionIn'	: 'fade',
    'transitionOut'	: 'fade'
  });

  $("a.iframe").fancybox({
  });

});

