jQuery(document).ready(function($){
	
	$(function() {
		// news & partners big block click behaviour
		$(".newsList").click(function(){
			var the_target = $(this).find("a").attr("target");
			var the_href = $(this).find("a").attr("href");
			//alert(the_target);
			if (the_target != undefined) {
				if (the_target == '_blank') {
					window.open(the_href,'new_window',',resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,copyhistory=no') 
				} else {
					window.location=the_href;
				}
			}
			return false;
		});	
		
		// news & partners row hover style
		$(".newsList").hover(function(){
			$(this).addClass("newsListHover");		
			}, function() {
			$(this).removeClass("newsListHover");
		});
	});
	
	// show/hide dropdown menu
	$("#mainNav li").hover(function(){
		$(this).find("ul").addClass("hoverdUL").slideDown("fast");
		}, function() {
		$(this).find("ul").removeClass("hoverdUL").slideUp("fast");
	});
	
	// activity row hover style
	$("#activityCenter tr").hover(function(){
		$(this).addClass("hoverdTr");
		}, function() {
		$(this).removeClass("hoverdTr");
	});
	
});
