﻿function showDiv(showDivClassName) {
	$("." + showDivClassName).toggle();
	$(".box1_top").toggle();
	if (($('#arrow_img').attr('src')) == 'media/img/down_arrow.jpg') {
		$('#arrow_img').attr('src', 'media/img/up_arrow.jpg');
	}
	else {
		$('#arrow_img').attr('src', 'media/img/down_arrow.jpg');
	}
}

$(document).ready(function() {
	$(".supplier_section").mouseover(function(event) {
		$(this).addClass('even');
		$("ul.anchor", $(this)).show();
	});

	$(".supplier_section").mouseout(function(event) {
		$(this).removeClass('even');
		$("ul.anchor", $(this)).hide();
	});
	$(".col1_news").mouseover(function(event) {
		$(this).addClass('even');
		$("ul.anchor", $(this)).show();
	});

	$(".col1_news").mouseout(function(event) {
		$(this).removeClass('even');
		$("ul.anchor", $(this)).hide();
	});
	$(".col1_full_news").mouseover(function(event) {
		$(this).addClass('even');
		$("ul.anchor", $(this)).show();
	});

	$(".col1_full_news").mouseout(function(event) {
		$(this).removeClass('even');
		$("ul.anchor", $(this)).hide();
	});
	$(".mainlisting_normal").mouseover(function(event) {
		$(this).addClass('mainlisting_over');
		$("div.downloads_right", $(this)).show();
	});

	$(".mainlisting_normal").mouseout(function(event) {
		$(this).removeClass('mainlisting_over');
		$("div.downloads_right", $(this)).hide();
	});
});