$(document).ready(function(){
	$('.wrapper ul li').not('[class*="block"]').animate({opacity: 0.5}, 0);
	if ($.browser.msie && $.browser.version == 8) {
		$(".searchb, .enterb, .resultb, .voteb").css({"background-color":"#f3f3f3"});
	}
	$('.wrapper ul li').not('[class*="block"]').hover(function(){
		$(this).stop().animate({paddingLeft:"29px", opacity: 1}, 300);
		if ($.browser.msie && $.browser.version == 8) {
			$(".searchb, .enterb, .resultb, .voteb").css({"background-color":"#d1e5fa"});
		}
	},function(){
		$(this).stop().animate({paddingLeft:"20px", opacity: 0.5}, 600);
		if ($.browser.msie && $.browser.version == 8) {
			$(".searchb, .enterb, .resultb, .voteb").css({"background-color":"#f3f3f3"});
		}
	});
	$('.wrapper ul li.block:eq(0) a, .wrapper ul li.block:eq(3) a').css({paddingLeft:"20px","line-height":"200%"})
	$('.wrapper ul li.block:eq(0) a, .wrapper ul li.block:eq(3) a').hover(function(){$(this).stop().css({"margin":"0","padding":"0",paddingLeft:"20px"}).animate({paddingLeft:"29px", opacity: 1}, 300);},function(){$(this).stop().animate({paddingLeft:"20px", opacity: 1}, 600);});
	$('div.comment:odd').css({'background-color' : '#f5f5f5', 'border-left' : '3px solid #eee'});
	$(".postb ul.postlinks li, .commb li").animate({opacity: 0.4}, 0); 

	$(".postb ul.postlinks li, .commb li").hover(function(){
		$(this).stop().animate({opacity: 1}, 300); 
	},function(){
		$(this).stop().animate({opacity: 0.4}, 1000); 
	});
	$("#menu2").removeClass("cssonly");
	// Find subnav menus and slide them down
	$("#menu2 li a").hover(function(){ 
		$(this).parent().find("ul.subnav").slideDown(400);
		$(this).parent().hover(function() {
		}, function() {
			// On hovering out slide subnav menus back up
			$(this).parent().find("ul.subnav").slideUp(400);
		})
	});
	if ($.browser.msie && $.browser.version == 8) {
		$(".addb, .submitb, .previewb, .voteb").css({"background-color":"#fff"});
		$('div.comment:odd .deleteb, div.comment:odd .editb, div.comment:odd .quoteb').css({'background-color' : '#f5f5f5'});
		$('div.comment:even .deleteb, div.comment:even .editb, div.comment:even .quoteb').css({'background-color' : '#fff'});
		$(".limiter").css({"height":"70px"});
	}
	if (!isIE) {
		$('#test').css({'background-image' : 'url("picture.png")'});
	} else {
		$('img[src$="png"]').css({'filter' : 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="picture.png")'});
	}
	$('ul#banners').innerfade({animationtype: 'fade',speed: 1000,timeout: 10000,type: 'sequence',containerheight: '64px'});
});