$(document).ready(function(){
	
	$(".Section").eq(4).css("margin-right", "0");
	
	
	var SectionCount = $('li.Section .Copy').length;
	var TallestSection = 0;
	
	for(var i = 0; i < SectionCount; i++)
    {
        var marketDivUsed = $('li.Section .Copy')[i];
		
		var SectionHeight = $(marketDivUsed).height();
        
        if(SectionHeight != "NaN")
        {
            if(SectionHeight > TallestSection)
            {
                TallestSection = SectionHeight;
            }
        }
	}
	$('li.Section .Copy').css("height",TallestSection);

	
	$("#soNavigation li a strong:last").css("border", "0");
	
	
	if($("#soSplashRotatorContainer img").length === 1)
	{
		$("#Next").hide();
	}
	$("Login input:password").val("Password");
	
	$("#Login input[type=text]").click(function(){
	    $(this).val("");
	});
	    
	$(".Password").defaultValue({value:"Password"});
	
	if($("#soRotatorContainer img").length < 1)
	{
	    $("#soBanner").hide();
	}
	
	if($("#soRotatorContainer img").length < 2)
	{
	    $("#soRotatorNavigation").hide();
	}
});
