/*Quick Fixes*/
jQuery(document).ready(function(){
    jQuery('a[href*="action=downloads"]').addClass('lightbox');
    jQuery('a[href*="action=downloads"]').attr('rel', 'iframe');
    var w = jQuery(window).width() - 100;
    var h = jQuery(window).height() - 100;
    jQuery('a[href*="action=downloads"]').each(function(){
        var hf = jQuery(this).attr('href');
        jQuery(this).attr('href', hf + '&amp;lightbox[iframe]=true&amp;lightbox[width]='+w+'&amp;lightbox[height]='+h+'');
    });
    jQuery('a[href*="action=downloads"]').attr('target', '');
    jQuery('a[href*="action=downloads"]').attr('title', 'ZM Downloads');
    jQuery('a[href*="action=forum"]').attr('target', '_blank');
    jQuery('a[href*="i am a jew"]').attr('href', 'javascript:void(0);').click(function(){
        showZM_MUC();
        return false;
    });
jQuery('.show_avea_c').click(function() {
  jQuery('#quickReplyOptions').toggle('slow', function() {
    // Animation complete.
  });
});
});


/*Spoiler*/
jQuery(document).ready(function() {
    jQuery("div.spoilerbody").hide();
	jQuery("a.reveal").toggle(
        function () {
            jQuery(this).parents("div").children("div.spoilerbody").fadeIn(500);
            },
        function () {
            jQuery(this).parents("div").children("div.spoilerbody").fadeOut(500);
            });
    });

jQuery(document).ready(function() {
	jQuery('.zm-news-inner').cycle({
		fx: 'fade', 
		speed:  1500, 
	});
});


