

$(document).ready(function(){
			
 
	function mainmenu(){
			$(" .flyout ul").css({display:"none"}); // Opera Fix
			$(".flyout li").hover(function(){
					//$(this).find("ul:first").parent().css({background: "#373737", background:"rgba(0, 0, 0, 0.7)"});
					$(this).find("ul:first").parent().addClass("flyout_hovered");
					$(this).find("ul:first").css({visibility: "visible",display: "block"}).show(100);
				},function(){
					//$(this).find("ul:first").parent().css({background: "none"});
					$(this).find("ul:first").parent().removeClass("flyout_hovered");
					$(this).find("ul:first").css({display: "none"});
				});
	}   
	mainmenu();


 
	  
	 
	$(".stripeMe tr:even").addClass("table_row_alt");	  
	
	var contentHeight = $("#three_column_middle").height();
	var rightBlockHeight = $("#rightBlocks").height();
	var leftBlockHeight = $("#leftBlocks").height();
	var greatestHeight; 

	if(leftBlockHeight > contentHeight && leftBlockHeight > rightBlockHeight){
		greatestHeight = leftBlockHeight;
	}
	if(rightBlockHeight > contentHeight && rightBlockHeight > rightBlockHeight){
		greatestHeight = rightBlockHeight;
	}	
	if(contentHeight > leftBlockHeight && contentHeight > rightBlockHeight){
		greatestHeight = contentHeight;
	}
	
	$("#rightBlocks").height(greatestHeight);


	


	
	$('.popForm').popupWindow({ 
		centerScreen:1,
		width:700,
		height:500,
		scrollbars:1
	}); 			
});



  


