function equalHeight2() {
   var left_side =  $("#left_side_content").height();
   var right_side =  $("#right_side_content").height();
    
    if(right_side > left_side)
    {
        $(".column").height(right_side + 50);
    }
    else
    {
        $(".column").height(left_side + 50);
    }
}
        
function ReverseDisplay(details, heading) 
{
    //var change;
    //var detail_height =  $(document.getElementById(details)).height();

	if(document.getElementById(details).style.display == "none") 
	{ 
	    
		document.getElementById(details).style.display = "block"; 
		document.getElementById(heading).innerHTML = "<img src=\"/images/minus.jpg\" style=\"border:none; cursor:pointer; \" alt=\"Hide\"/ onclick=\"ReverseDisplay('" + details + "', '" + heading + "');\">";
		//this is to fix the romance block on the packages page. it needs to dynamicly change height when you click on the plus/minus sign.
		if (details == "luxury_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height + 150);
		}
		if (details == "lavish_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height + 150);
		}
		if (details == "extravagant_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height + 150);
		}
	}
	else 
	{ 
	   
		document.getElementById(details).style.display = "none"; 
		document.getElementById(heading).innerHTML = "<img src=\"/images/plus.jpg\" style=\"border:none; cursor:pointer; \" alt=\"Show\"/ onclick=\"ReverseDisplay('" + details + "', '" + heading + "');\">";
		//this is to fix the romance block on the packages page. it needs to dynamicly change height when you click on the plus/minus sign.
		if (details == "luxury_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height - 150);
		}
		if (details == "lavish_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height - 150);
		}
		if (details == "extravagant_details")
		{
		    var height = $("#romance_block").height();
		   $("#romance_block").height(height - 150);
		}
		
		
	}
	equalHeight2();
		
	
}

function ToggleOn(details, heading)
{
    if(document.getElementById(details).style.display == "none") 
	{ 
		document.getElementById(details).style.display = "block"; 
		document.getElementById(heading).innerHTML = "<img src=\"/images/minus.jpg\" style=\"border:none; cursor:pointer; \" alt=\"Hide\"/ onclick=\"ReverseDisplay('" + details + "', '" + heading + "');\">";
	}
	 equalHeight2($(".column", new_height));
}
function ToggleOff(details, heading)
{
    if(document.getElementById(details).style.display == "block") 
	{ 
		document.getElementById(details).style.display = "none"; 
		document.getElementById(heading).innerHTML = "<img src=\"/images/plus.jpg\" style=\"border:none; cursor:pointer; \" alt=\"Show\"/ onclick=\"ReverseDisplay('" + details + "', '" + heading + "');\">";
	}
	 equalHeight2($(".column", new_height));
}


