var bgColorValid = '#FFFFFF';
var bgColorError = '#F5F76C';

// ----------------- Requested Amount -----------------

function normalRequestedAmount(){
	document.frmLeads.neededMoneyArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.requested_amount.className = '';	// restore original class
	document.frmLeads.requested_amount.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('amountRequestedCell').className = 'flabel';	// set the text label to normal
}

function redRequestedAmount(){
	document.frmLeads.neededMoneyArrow.style.display = 'inline';	// set the red arrow visible
	document.frmLeads.requested_amount.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.requested_amount.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('amountRequestedCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- First Name -----------------

function normalFirstName(){
	document.frmLeads.firstNameArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.first_name.className = '';	// restore original class
	document.frmLeads.first_name.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('firstNameCell').className = 'flabel';	// set the text label to normal
}

function redFirstName(){
	document.frmLeads.firstNameArrow.style.display = 'inline';	// set the red arrow visible
	document.frmLeads.first_name.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.first_name.style.backgroundColor = bgColorError;
	document.getElementById('firstNameCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- Last Name -----------------

function normalLastName(){
	document.frmLeads.lastNameArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.last_name.className = '';	// restore original class
	document.frmLeads.last_name.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('lastNameCell').className = 'flabel';	// set the text label to normal
}

function redLastName(){
	document.frmLeads.lastNameArrow.style.display = 'inline';	// set the red arrow visible
	document.frmLeads.last_name.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.last_name.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('lastNameCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- Phone Home -----------------

function normalPhoneHome(){
	document.frmLeads.prPhoneArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.phone_home.className = '';	// restore original class
	document.frmLeads.phone_home.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('primaryPhoneCell').className = 'flabel';	// set the text label to normal
}

function redPhoneHome(){
	document.frmLeads.prPhoneArrow.style.display = 'inline';		// set the red arrow visible
	document.frmLeads.phone_home.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.phone_home.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('primaryPhoneCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- Cell Phone -----------------

function normalPhoneCell(){
	document.frmLeads.cellPhoneArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.phone_cell.className = '';	// restore original class
	document.frmLeads.phone_cell.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('cellPhoneCell').className = 'flabel';	// set the text label to normal
}

function redPhoneCell(){
	document.frmLeads.cellPhoneArrow.style.display = 'inline';		// set the red arrow visible
	document.frmLeads.phone_cell.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.phone_cell.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('cellPhoneCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- Email -----------------

function normalEmail(){
	document.frmLeads.EmailArrow.style.display = 'none';		// hide the red arrow
	document.frmLeads.Email.className = '';	// restore original class
	document.frmLeads.Email.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('emailCell').className = 'flabel';	// set the text label to normal
}

function redEmail(){
	document.frmLeads.EmailArrow.style.display = 'inline';		// set the red arrow visible
	document.frmLeads.Email.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.Email.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('emailCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- DOB -----------------

function normalDOBDay(){
	document.frmLeads.birth_date_day.className = '';	// restore original class
	document.frmLeads.birth_date_day.style.backgroundColor = bgColorValid;	// set BG color to white
}

function redDOBDay(){
	document.frmLeads.birth_date_day.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.birth_date_day.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('dobCell').className = 'missingDataCell';	// set the text label red and bold
}

function normalDOBMonth(){
	document.frmLeads.birth_date_month.className = '';	// restore original class
	document.frmLeads.birth_date_month.style.backgroundColor = bgColorValid;	// set BG color to white
}

function redDOBMonth(){
	document.frmLeads.birth_date_month.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.birth_date_month.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('dobCell').className = 'missingDataCell';	// set the text label red and bold
}

function normalDOBYears(){
	document.frmLeads.birth_date_year.className = '';	// restore original class
	document.frmLeads.birth_date_year.style.backgroundColor = bgColorValid;	// set BG color to white
}

function redDOBYears(){
	document.frmLeads.birth_date_year.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.birth_date_year.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('dobCell').className = 'missingDataCell';	// set the text label red and bold
}

// ----------------- US Citizen -----------------

function normalCitizen(){
	document.frmLeads.citizenArrow.style.display = 'none';	// hide the red arrow
	document.frmLeads.citizen.className = '';	// restore original class
	document.frmLeads.citizen.style.backgroundColor = bgColorValid;	// set BG color to white
	document.getElementById('citizenCell').className = 'flabel';	// set the text label to normal
}

function redCitizen(){
	document.frmLeads.citizenArrow.style.display = 'inline';	// set the red arrow visible
	document.frmLeads.citizen.className = 'fEditMissingData';	// set the input elemet in red bold borders
	document.frmLeads.citizen.style.backgroundColor = bgColorError;	// set BG color to yellow
	document.getElementById('citizenCell').className = 'missingDataCell';	// set the text label red and bold
}

