// ready app

$(document).ready(function() {
	//$('#menu a').sifr({path: '/js/', font: 'ftr45_', color:'#000000', version: 3, fontSize: 16, underline: true, debug: false});
	//$('.gallery-caption a').sifr({path: '/js/', font: 'ftx85_', version: 3,  fontSize: 14, lineHeight: 12, debug: false, delayRun: true});
	//$('.gallery-caption .location').sifr({path: '/js/', font: 'ftr45_', version: 3,  fontSize: 12, color:'#aaaaaa', debug: false, delayRun: true});
	/*$('#the_footer p').sifr({path: '/js/', font: 'ftr45_', version: 3, debug: false, delayRun: true});
	$('.post h1').sifr({path: '/js/', font: 'ftr45_', version: 3, debug: false, delayRun: true});
	$('#loader').hide();*/
	
	$("#menu div:not(.current)").hover(function () {
       // $(this).css("background", "#EAEAEA")
	    $(this).css("background-image", "url(../images/bg_trans.png)");
	
		//$(this).children().css("color", "white")
      }, 
      function () {
               $(this).css("background", "none")
		//$(this).children().css("color", "#333")

      }
)
	
	$("#menu1").click(function(){
							  
	 document.location = "http://www.ab-sl.ru/";
							   })
	$("#menu2").click(function(){
	 document.location = "http://www.ab-sl.ru/?cat=3";
							   })
		$("#menu3").click(function(){
	 document.location = "http://www.ab-sl.ru/?cat=4";
							   })
			$("#menu4").click(function(){
	 document.location = "http://www.ab-sl.ru/?page_id=2";
							   })
					$("#menu5").click(function(){
	 document.location = "http://www.ab-sl.ru/?cat=1";
							   })
	
	
	if ($.browser.msie) {
		$(".post_header ").css("padding-bottom", "8px");
		/*$(".post_header").css("overflow-x", "hidden");*/
		
		$(".single_post:not(#news) .post_content").css("overflow-x", "hidden");
		
		}
$('body h1.headerss').css('display', 'none');
	
}); // ready

