function ie_css3() {
	jQuery('*:visible').filter(
			function() {
				var br = this.currentStyle['border-radius'];
				var bs = this.currentStyle['box-shadow'];
				var ts = this.currentStyle['text-shadow'];
				return (!!br && 0 != br) || (!!bs && 'none' != bs) || (!!ts);
			}).each(function() {
				var parent = this.parentElement;
				parent.style.zIndex = 0;
				if (!(/relative|absolute/i).test(parent.currentStyle.position))
					parent.style.position = 'relative';
				this.addBehavior(template_directory_uri+"/js/ie-css3.htc");
			});
}

jQuery(document).ready(function() {
	jQuery('a').filter(function(){
		var href = jQuery(this).attr('href');
		if(href) return href.match(/\.(jpg|png|gif|jpeg)/);
	}).addClass('thickbox');
});
jQuery(function() {
	jQuery('.items_list_preview > div:nth-child(2n)').css('float', 'right');
});
jQuery(function() {
	jQuery("div.post_wrapper").css('margin-left', jQuery("div.left_sidebar").width());
});


