// JavaScript Document
$(document).ready(function() {
	if(document.all) {
		$('#Menu li.HasSubMenu').hover(function() {
			$(this).addClass('over');
			return false;
		},
		function() {
			$(this).removeClass('over');
		});
	}

	$("#TopCurrencyList").hover(
	  function () {
		$(this).addClass("HoverCurrencyList");
		$("#ShowCurrencise").show();
	  },
	  function () {
		$(this).removeClass("HoverCurrencyList");
		$("#ShowCurrencise").hide();
	  }			  
	 );

	 $(".ProFilter li:has(ul)").hover(function(){
		$(this).children("ul").show();
	 },function(){
		$(this).children("ul").hide();
	 });
	 //alert(getCookie('current_category_url')+"\r\n"+document.URL);
	 
	 

	var leftHeight = parseInt($(".Left").height());
	var contentHeight = parseInt($(".Content").height());
	var rightHeight = parseInt($(".Right").height());
	
	if(leftHeight && (contentHeight < leftHeight)){
		//alert('left is heigher...');
		//$(".Content").height($(".Left").height());
	}
	if(rightHeight && (contentHeight < rightHeight)){
		//alert('Right is heigher...');
		//$(".Content").height($(".Right").height());
	}
	//alert(leftHeight+','+contentHeight+','+rightHeight);
});
