/**
 * @package            CSOrg
 * @version            1.0.0
 * @category           JavaScript
 * @author             (CSN) Tails
 * @copyright          CYBER-SYSTEMS Network (c) 2009-2010
 */

jQuery(window).load(function(){jQuery('div.csoSirius_PageLoadIndicator').each(function(){jQuery(this).stop(true,true).fadeOut('slow');return false})});jQuery(document).ready(function(){jQuery('li.avatar-offline a img').hover(function(){jQuery(this).stop(true,true).animate({opacity:'1'},'slow');return false},function(){jQuery(this).stop(true,true).animate({opacity:'.3'},'slow');return false});jQuery('table.ipb_table tr td').hover(function(){jQuery(this).children('div.csoSirius_ForumStats').stop(true,true).fadeIn('fast');return false},function(){jQuery(this).children('div.csoSirius_ForumStats').stop(true,true).fadeOut('fast');return false});jQuery('div.author_info').hover(function(){jQuery(this).children('div.csoSirius_UserInfoButton').stop(true,true).slideToggle('fast');return false});jQuery('div.csoQuickNavigation img').hover(function(){jQuery(this).stop(true,true).animate({opacity:'1'},'fast');return false},function(){jQuery(this).stop(true,true).animate({opacity:'.3'},'fast');return false});jQuery('#attach_wrap img.attach').hover(function(){jQuery(this).stop(true,true).animate({marginTop:'-5px',marginBottom:'10px'},'fast');return false},function(){jQuery(this).stop(true,true).animate({marginTop:'0px',marginBottom:'5px'},'fast');return false});jQuery('table.ipb_table tr td').hover(function(){jQuery(this).prev('td').find('span.csoSirius_ForumIcon').stop(true,true).animate({opacity:'1'},'fast');return false},function(){jQuery(this).prev('td').find('span.csoSirius_ForumIcon').stop(true,true).animate({opacity:'.3'},'fast');return false});jQuery('span.csobbc_bubble').each(function(){var distance=10;var time=250;var hideDelay=500;var hideDelayTimer=null;var beingShown=false;var shown=false;var trigger=jQuery('span.csobbc_bubble_trigger',this);var info=jQuery('span.csobbc_bubble_popup',this).css('opacity',0);jQuery([trigger.get(0),info.get(0)]).mouseover(function(){if(hideDelayTimer)clearTimeout(hideDelayTimer);if(beingShown||shown){return}else{beingShown=true;info.css({top:50,left:0,display:'block'}).animate({top:'-='+distance+'px',opacity:1},time,'swing',function(){beingShown=false;shown=true})}return false}).mouseout(function(){if(hideDelayTimer)clearTimeout(hideDelayTimer);hideDelayTimer=setTimeout(function(){hideDelayTimer=null;info.animate({top:'-='+distance+'px',opacity:0},time,'swing',function(){shown=false;info.css('display','none')})},hideDelay);return false})});jQuery('input.csobbc_hide_show').toggle(function(){jQuery(this).addClass('active');return false},function(){jQuery(this).removeClass('active');return false});jQuery('input.csobbc_hide_show').click(function(){jQuery(this).parent('div.csobbc_hide_title').next('div.csobbc_hide_wrapper').children('div.csobbc_hide_content').stop(true,true).slideToggle('fast');return false});jQuery('input.csobbc_offtopic_show').toggle(function(){jQuery(this).addClass('active');return false},function(){jQuery(this).removeClass('active');return false});jQuery('input.csobbc_offtopic_show').click(function(){jQuery(this).parent('div.csobbc_offtopic_title').next('div.csobbc_offtopic_wrapper').children('div.csobbc_offtopic_content').stop(true,true).slideToggle('fast');return false})});function leftblockslogo(){this[1]='style_images/interface03/folder_logo/blocks/left/block_001.gif';this[2]='style_images/interface03/folder_logo/blocks/left/block_002.gif';if((navigator.appName=='Netscape')&&(parseInt(navigator.appVersion.substring(0,1))<3)){return(' ')}var j=(new Date()).getSeconds()%2;document.write('<img src="'+this[1*j+1]+'" border="0" alt="" />');return(' ')}function csoSirius_Cake(){this[1]='public/style_images/cso_interface_0002/cso_img/cake/cake_0001.gif';this[2]='public/style_images/cso_interface_0002/cso_img/cake/cake_0002.gif';this[3]='public/style_images/cso_interface_0002/cso_img/cake/cake_0003.gif';this[4]='public/style_images/cso_interface_0002/cso_img/cake/cake_0004.gif';this[5]='public/style_images/cso_interface_0002/cso_img/cake/cake_0005.gif';this[6]='public/style_images/cso_interface_0002/cso_img/cake/cake_0006.gif';if((navigator.appName=='Netscape')&&(parseInt(navigator.appVersion.substring(0,1))<3)){return(' ')}var j=(new Date()).getSeconds()%6;document.write('<img src="'+this[1*j+1]+'" border="0" width="100" height="100" alt="" />');return(' ')}function csoSirius_UserGroupLegend(){Effect.toggle('csoSirius_UserGroupLegendContent','slide',{duration:0.3});return false}