function showHideNotes()
{
	var f = document._DominoForm;


	if (f.chkPlatformNotes.checked == true)
	{
		document.getElementById("Notes").style.display = "";
	}
	else
	{
		document.getElementById("Notes").style.display = "none";
	}


	//buildSourceList();
}

function showHideExchange()
{
	var f = document._DominoForm;

	if (f.chkPlatformExchange.checked == true)
	{
		document.getElementById("Exchange").style.display = "";
	}
	else
	{
		document.getElementById("Exchange").style.display = "none";
	}

	//buildSourceList();
}

function showHideCompliance(CAelement)
{
	if (CAelement.checked)
	{
		document.getElementById("ComplianceOptions").style.display = "";
	}
	else
	{
		document.getElementById("ComplianceOptions").style.display = "none";
	}
}

//function buildSourceList()
//{
//	var f = document._DominoForm;

	// Let's clear the list first
//	clearList();

	// Add the select line
//	addToList("-Select-");

	// All the Exchange sources
//	if (f.chkPlatformExchange.checked == true)
//	{
//		addToList("ABA Show");
//		addToList("Direct Mail");
//		addToList("Email");
//		addToList("Emedia");
//		addToList("Exchange Connections");
//		addToList("Exchange &amp; Outlook Newsletter");
//		addToList("Exchange Messaging Outlook Newsletter");
//		addToList("Exchange Server Roadshows");
//		addToList("Existing Customer");
//		addToList("Google Ad");
//		addToList("Google Search");
//		addToList("ILTA");
//		addToList("Knowledgestorm");
//		addToList("Microsoft");
//		addToList("Msexchange.org");
//		addToList("Referral");
//		addToList("Search Exchange");
//		addToList("Sherpa Blog");
//		addToList("Slipstick");
//		addToList("T-BOLT");
//		addToList("TECH-ED");
//		addToList("TechnoLawyer");
//		addToList("Trade Article");
//		addToList("Web Seminar");
//		addToList("White Paper");
//		addToList("Windows IT Pro");
//		addToList("Other");
//	}

	// All the Notes sources	
//	if (f.chkPlatformNotes.checked == true)
//	{
//		addToList("ABA Show");
//		addToList("ADMIN Show");
//		addToList("Analyst/Research Firm");
//		addToList("Domino Files");
//		addToList("Domino News");
//		addToList("Direct Mail");
//		addToList("Email");
//		addToList("Existing Customer");
//		addToList("Google Ad");
//		addToList("Google Search");
//		addToList("IBM");
//		addToList("ILTA");
//		addToList("Knowledgestorm");
//		addToList("Lotus Advisor");
//		addToList("Lotus Collaboration Summit");
//		addToList("Lotusphere");
//		addToList("Lotus User Group");
//		addToList("TechnoLawyer");
//		addToList("Search Domino");
//		addToList("Sherpa Blog");
//		addToList("T-BOLT");
//		addToList("Trade Article");
//		addToList("Web Seminar");
//		addToList("White Paper");
//		addToList("Other");
//	}
//}

function addToList(OptionText) 
{
	var f = document._DominoForm;

	f.txt_Source[f.txt_Source.length] = new Option(OptionText);
}

//function clearList() 
//{
//	var f = document._DominoForm;
//	for (x = f.txt_Source.length; x >= 0; x = x - 1) 
//	{
//		f.txt_Source[x] = null;
//	}
//}

