function hideSome(){

}
$(function()
{
    $('#s6').cycle({fx: 'scrollUp', timeout: 6000, delay: -2000});
    $('#list-logo').jcarousel({wrap: 'last', scroll: 1, initCallback: mycarousel_initCallback});

    $("#tbl-one .item").hover(function(event) {
		$(this).css({background: 'url(/bitrix/templates/new/images/t1-tbl-active.png) no-repeat'});
	}, function(event) {
        $(this).css({background: 'url(/bitrix/templates/new/images/t1-tbl.png) no-repeat'});
	});
	
	$(".search .bg :input").bind('click', function() { if($(this).val() == 'Поиск по Динамика') $(this).attr('value', '');});
	$(".search .bg :input").bind('blur', function()  { if($(this).val() == '') $(this).attr('value', 'Поиск по Динамика');});
	
	/* A */
	
	$("#block").hover(function(event) {},
	function(event) {
	//	$("#rotator").show(500);
	//	$("#block-image img").hide();
	});
	
	$("#block .one").hover(function(event) {
		$(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-one-hover.png) no-repeat'});
		$("#rotator").hide(1, function(event) {$("#block-image").html('<a href="/services/licensing/"><img src="/bitrix/templates/new/images/_i1.jpg"></a>');});
	}, function(event) {
        $(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-one.png) no-repeat'});
	});
	
	$("#block .two").hover(function(event) {
		$(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two-hover.png) no-repeat'});
		$("#rotator").hide(1, function(event) {$("#block-image").html('<a href="/services/automatization/"><img src="/bitrix/templates/new/images/_i2.jpg"></a>');});
	}, function(event) {
        $(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two.png) no-repeat'});
	});
	
	$("#block .three").hover(function(event) {
		$(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two-hover.png) no-repeat'});
		$("#rotator").hide(1, function(event) {$("#block-image").html('<a href="/services/unicomm/"><img src="/bitrix/templates/new/images/_i3.jpg"></a>');});
	}, function(event) {
        $(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two.png) no-repeat'});
	});
	
	$("#block .four").hover(function(event) {
		$(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two-hover.png) no-repeat'});
		$("#rotator").hide(1, function(event) {$("#block-image").html('<a href="/services/virtualization/"><img src="/bitrix/templates/new/images/_i4.jpg"></a>');});
	}, function(event) {
        $(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-two.png) no-repeat'});
	});
	
	$("#block .five").hover(function(event) {
		$(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-five-hover.png) no-repeat'});
		$("#rotator").hide(1, function(event) {$("#block-image").html('<a href="/services/analitics/"><img src="/bitrix/templates/new/images/_i5.jpg"></a>');});
	}, function(event) {
        $(this).find(".frame").css({background: 'url(/bitrix/templates/new/images/t1-5block-five.png) no-repeat'});
	});
	/* -- A -- */
	
});
