var defaultActiveMenu = -1; 	//номер пункта меню, активного по умолчанию

$(document).ready(function() {
  var activeLink = $('#menu a.active');	
  defaultActiveMenu = $('#menu a').index(activeLink);
  
  $('#menu a').mouseover(function() {
    $(this).addClass('active');
  }).mouseout(function() {
	var current = $(this);
	if((defaultActiveMenu == -1)||($('#menu a').index(current) != defaultActiveMenu)) $(this).removeClass('active');    
  });
});


$(document).ready(function() {	
	$("div.block").mouseover(function(){
    		$(this).addClass("act");
	    }).mouseout(function(){
    		$(this).removeClass("act");		
	    });

	nodeslist = $(".pos");
	for (i=0; i < nodeslist.length; i++) 
	{
	nodeslist[i].onmouseover=function()
	{
		this.className = this.className + " act";
	}
	nodeslist[i].onmouseout=function()
	{
		this.className = this.className.replace(" act", "");
	}

	} 

		});
		

/** 
Убрали из-за ошибки в IE6
$(document).ready(function() {    
     $.netsoftPreloader.init();              
});
*/