function DisplayCustomOptions(storeType)
{
	var customOptions = document.getElementById("CustomStoreOptions");
	
	if(storeType == "Custom")
	{
		customOptions.style.display = "block";
	}
	else
	{
		customOptions.style.display = "none";
	}
}

function HideLabel(field, strLabelID)
{
	var label = document.getElementById(strLabelID);
	
	label.style.display = "none";
}

function ShowLabel(field, strLabelID)
{
	var label = document.getElementById(strLabelID);
	
	if (field.value.length > 0)
	{
		label.style.display = "none";
	}
	else
	{
		label.style.display = "inline";
	}
}

function ValidateSignup()
{
	var txt = document.getElementById("txtInitials");
	
	if (txt.value.length < 1)
	{
		alert("Please type your initials to show agreement with the terms and conditions outlined in the Independent Store Agreement");
		return false;
	}
	else
	{
		return true;
	}
}