function validateRepeated(frm)
{
	var fontSize = frm.custcol4.options[frm.custcol4.selectedIndex].value;
	var textLocation = frm.custcol5.options[frm.custcol5.selectedIndex].value;
	var repeatFirstLine = frm.custcolrepeatfirstline.value;
	var qtyOfRepeated = frm.qtyofrepeated.value;
	
	if(fontSize == "")
	{
		alert("Please select a font size.");
		frm.custcol4.focus();
		return false;
	}
	else if (textLocation == "")
	{
		alert("Please select a text location.");
		frm.custcol5.focus();		
		return false;
	}
	else if (repeatFirstLine == "")
	{
		alert("Please enter text for the repeated first line embossing.");
		frm.custcolrepeatfirstline.focus();	
		return false;
	}
	else if (qtyOfRepeated == "")
	{
		alert("Please choose the number of folders you wish embossed.");
		frm.qtyofrepeated.focus();	
		return false;
	}
	else
	{
		return true;
	}
	
}

function validateNameInstrument(frm)
{
	var fontSize = frm.custcol4.options[frm.custcol4.selectedIndex].value;
	var textLocation = frm.custcol5.options[frm.custcol5.selectedIndex].value;
	var folderText = frm.custcolfoldertxt.value;
	
	if(fontSize == "")
	{
		alert("Please select a font size.");
		frm.custcol4.focus();
		return false;
	}
	else if (textLocation == "")
	{
		alert("Please select a text location.");
		frm.custcol5.focus();		
		return false;
	}
	else if (folderText == "")
	{
		alert("Please enter text for the name/instrument embossing.");
		frm.custcolfoldertxt.focus();	
		return false;
	}
	else
	{
		return true;
	}
	
}

function validateSequential(frm)
{
	var fontSize = frm.custcol4.options[frm.custcol4.selectedIndex].value;
	var textLocation = frm.custcol5.options[frm.custcol5.selectedIndex].value;
	
	if(fontSize == "")
	{
		alert("Please select a font size.");
		frm.custcol4.focus();
		return false;
	}
	else if (textLocation == "")
	{
		alert("Please select a text location.");
		frm.custcol5.focus();		
		return false;
	}
	else
	{
		return true;
	}
	
}


function validateLogo(frm)
{
	var textLocation = frm.custcol5.options[frm.custcol5.selectedIndex].value;
	
	if(textLocation == "")
	{
		alert("Please select a text location.");
		frm.custcol5.focus();		
		return false;
	}
	else
	{
		return true;
	}
	
}
