<div id="footer">
<p>$POWERED_BY$ &nbsp;|&nbsp; Implementation | <a href="http://yraaa.ru/" title="uCoz шаблоны">uCoz шаблоны</a> | <a href="http://mvcreative.ru/" title="MVCreative шаблоны для uCoz">MVCreative шаблоны для uCoz</a></p>
</div> <!-- end footer -->
</div> <!-- end container -->
</div> <!-- end content -->

<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/superfish.js"></script>
<script type="text/javascript" src="/js/init.js"></script>
<script type="text/javascript" src="/js/jquery.cycle.all.min.js"></script>
<script type="text/javascript">
//<![CDATA[
 jQuery(function(){
 var $featured_area = jQuery('#featured-area');
 var $featured_item = jQuery('#featured-area div#slider-control div.featitem');
 var $slider_control = jQuery('#featured-area div#slider-control');
 var $image_container = jQuery('div#s1 > div');
 var ordernum;
 var pause_scroll = false;
 
 $featured_item.find('img').fadeTo("fast", 0.7);
 $slider_control.find("div.featitem.active img").fadeTo("fast", 1);
 $image_container.css("background-color","#000000");
 
 $image_container.hover(
 function () {
 jQuery(this).find("img").fadeTo("fast", 0.7);
 }, 
 function () {
 jQuery(this).find("img").fadeTo("fast", 1);
 }
 ); 

function gonext(this_element){
 $slider_control.find("div.featitem.active img").fadeTo("fast", 0.7);
 $slider_control.find("div.featitem.active").removeClass('active');
 this_element.addClass('active');
 $slider_control.find("div.featitem.active img").fadeTo("fast", 1);
 ordernum = this_element.find("span.order").html();
 jQuery('#s1').cycle(ordernum - 1);
 } 
 
 $featured_item.click(function() {
 clearInterval(interval);
 gonext(jQuery(this)); 
 return false;
 });
 
 var auto_number;
 var interval;
 
 $featured_item.bind('autonext', function autonext(){
 if (!(pause_scroll)) gonext(jQuery(this)); 
 return false;
 });

 interval = setInterval(function () {
 auto_number = $slider_control.find("div.featitem.active span.order").html();
 if (auto_number == $featured_item.length) auto_number = 0;
 $featured_item.eq(auto_number).trigger('autonext');
 }, 5500);
 });
//]]> 

jQuery(function(){
 jQuery('#s1').cycle({
 timeout: 0, 
 speed: 300,
 fx: 'fade'
 });
});

jQuery(".js #featured-area, .js ul#page-menu, .js ul#cats-menu, .js img#logo, .js div.custom-sidebar-block").show(); //prevents a flash of unstyled content

// Quote
function Insert(qname,text){
 if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); document.getElementById('message').value += "[quote="+qname+"]"+text+"[/quote]\n"; document.getElementById(wh).focus(); document.getElementById(wh).focus()} 
 else _uWnd.alert('Выделите текст для цитирования','',{w:230,h:80,tm:3000});
}
</script>