$(document).ready(function(){checkIsLogged(1);$("a.fancy").fancybox({'hideOnContentClick':true});$("a.fancy_popup").fancybox({'hideOnContentClick':true,'frameWidth':500,'frameHeight':500});$('#slideshow').after('<div id="nav">').cycle({fx:'fade',timeout:5000,pager:'#nav',pause:1,speed:1000});$('#scroll').cycle({fx:'fade',timeout:5000,pause:1,speed:1000});});$('#rss').cycle({fx:'scrollDown',timeout:5000,pause:1,speed:1000});$(function(){$('ul.sf-menu').superfish({speed:400,animation:{opacity:'show',height:'show'}});});