jQuery(document).ready(function($){


/*--- [start] equal height columns with jquery---*/
function equalHeight(group) {
	var tallest = 0;
	group.each(function() {
		var thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

$(document).ready(function() {
	equalHeight($('div.div'));
});
/*--- [end] equal height columns with jquery---*/


jQuery.preloadImages = function () {
    var images = (typeof arguments[0] == 'object') ? arguments[0] : arguments;
    for (var i = 0; i < images.length; i++) {
        jQuery("<img>").attr("src", images[i]);
    }
}

$(document).ready(function () {
    $.preloadImages("bg3.png", "bg2.png", "bg_down.png" ,"menu_bg3.png");
});

$('.sub-menu #menu-item-179').addClass('styleswitch');
$('.sub-menu #menu-item-180').addClass('styleswitch');


$('div.blog-content .blogs:last').css('border', 'none');
$('div.blog-content .blogs:last').css('padding-bottom', '0');
$('div.address span:last').css('width', '75px');
$('div.producing-box .producing:last').css('padding-right', '0');

$('#secondary .widget-container ul').each(function(){
	$(this).children('li:last').css('background', 'none');
});

$('div.nav-menu ul li ul').each(function(){
	$(this).parent('li').addClass('li_parent');
});

$('ol.cf-ol li textarea').parent('li').addClass('text-block');

$('div.info .info-content').each(function(){
	$(this).children('p:last').addClass('more-box');
});

$('ul.sf-menu li').hover(function(){
	$(this).children('ul').fadeIn('100');}, function(){
	$(this).children('ul').fadeOut('100');
	});









































});
