//This js file is to store the course listings for the register box

function getCourses(category)
{
	var maxList = 19;
	var base = null;
	var arr = new Array(maxList);
	for(i=0;i<maxList;i++)
		arr[i] = new Array(2);
	
	switch(category)
	{
	//DM Essentials
	case '1':
		arr[0][0] = "Direct Marketing Institute";
		arr[0][1] = "http://www.the-dma.org/seminars/basic_registration.shtml";
		arr[1][0] = "DMA Certified Marketing Professional (DCMP)";
		arr[1][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=ERT0112";
		arr[2][0] = "Advanced Database Marketing";
		arr[2][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1512";
		arr[3][0] = "Advanced Email Marketing";
		arr[3][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1412";
		arr[4][0] = "Advanced Marketing Metrics";
		arr[4][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF3212";
		arr[5][0] = "Social Media Marketing";
		arr[5][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1612";
		arr[6][0] = "Business-to-Business Marketing";
		arr[6][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF4812";
		arr[7][0] = "Fundamental Copywriting and Creative Strategies";
		arr[7][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0512";
		arr[8][0] = "Offers and Propositions";
		arr[8][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0412";
		arr[9][0] = "Direct Mail Campaigns";
		arr[9][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0612";
		arr[10][0] = "Digital Marketing : Web and Search";
		arr[10][1] = "http://www.the-dma.org/cgi/eventregistration?mtgcode=DMF1012";
		arr[11][0] = "Retail and E-Commerce";
		arr[11][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1112";
		arr[12][0] = "Marketing Metrics";
		arr[12][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1312";
		arr[13][0] = "Mobile Marketing";
		arr[13][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1212";
		arr[14][0] = "Email Marketing";
		arr[14][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0712";
		arr[15][0] = "Research and Testing in Marketing";
		arr[15][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0812";
		arr[16][0] = "Introduction and Overview of Direct Marketing";
		arr[16][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0212";
		arr[17][0] = "Relationship Marketing";
		arr[17][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0312";
		arr[18][0] = "Database Marketing";
		arr[18][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0912";
		break;
	//Search
	case '2':
		arr[0][0] = "Get to Know SEO";
		arr[0][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=SEC0112";
		arr[1][0] = "SEM & PPC Essentials Certification";
		arr[1][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=PPC0112";
		
		arr[2][0] = "Digital Marketing: Web and Search";
		arr[2][1] = "http://www.the-dma.org/cgi/eventregistration?mtgcode=DMF1012";
		break;
	//Social
	case '3':
	arr[0][0] = "Art & Science of Managing a Content Marketing Strategy";
		arr[0][1] = "http://www.the-dma.org/seminars/content_marketing.shtml";
		arr[1][0] = "Social Media 101 Live Online Course";
		//arr[2][1] = "http://www.the-dma.org/seminars/socialmedia_registration.shtml";
		arr[1][1] = "http://www.the-dma.org/seminars/socialmedialive_registration.shtml";
		arr[2][0] = "Social Media Certification";
		arr[2][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=SMC0112";
		arr[3][0] = "Real-world Results with Online PR";
		arr[3][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=PRC0112";
		arr[4][0] = "Social Media Marketing";
		arr[4][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1612";
		break;
	//Digital
	case '4':
		
		arr[0][0] = "Effective Email Marketing";
		arr[0][1] = "http://www.the-dma.org/seminars/comprehensiveemail_registration.shtml";
		arr[1][0] = "Get Started with Mobile Marketing";
		arr[1][1] = "http://www.the-dma.org/seminars/mobilemarketing_registration.shtml";
		arr[2][0] = "Getting more from Online Marketing";
		arr[2][1] = "http://www.the-dma.org/seminars/onlinemarketing_registration.shtml";
		arr[3][0] = "How to Increase Web Conversions";
		arr[3][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=CNC0112";
		arr[4][0] = "Integrated Marketing in the Digital Age";
		arr[4][1] = "http://www.the-dma.org/seminars/integrated_marketing.shtml";
		arr[5][0] = "Advanced Email Marketing";
		arr[5][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1412";
		arr[6][0] = "Digital Marketing: Web and Search";
		arr[6][1] = "http://www.the-dma.org/cgi/eventregistration?mtgcode=DMF1012";
		arr[7][0] = "Retail and E-Commerce";
		arr[7][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1112";
		arr[8][0] = "Mobile Marketing";
		arr[8][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1212";
		arr[9][0] = "Email Marketing";
		arr[9][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0712";	
			break;
	//Analytics/CRM
	case '5':
		arr[0][0] = "Achieving Enterprise Loyalty";
		arr[0][1] = "http://www.the-dma.org/seminars/enterpriseloyalty_registration.shtml";
		arr[1][0] = "Comprehensive CRM & Database Marketing ";
		arr[1][1] = "http://www.the-dma.org/seminars/database_registration.shtml";
		arr[2][0] = "Loyalty Marketing Certification";
		arr[2][1] = "http://www.the-dma.org/seminars/loyalty_registration.shtml";
		arr[3][0] = "Navigating Web Analytics";
		arr[3][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=WAC0112";
		arr[4][0] = "Relationship Marketing Certification";
		arr[4][1] = "http://www.the-dma.org/seminars/relationship_registration.shtml";
		arr[5][0] = "Advanced Database Marketing ";
		arr[5][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1512";
		arr[6][0] = "Advanced Marketing Metrics ";
		arr[6][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF3212";
		arr[7][0] = "Social Media Marketing";
		arr[7][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1612";
		arr[8][0] = "Marketing Metrics";
		arr[8][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF1312";
		arr[9][0] = "Marketing Databases";
		arr[9][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0912";
		break;
	//Creative
	case '6':
		arr[0][0] = "Creative Strategy for Integrated Marketers";
		arr[0][1] = "http://www.the-dma.org/seminars/copywriting_registration.shtml";
		arr[1][0] = "Creative Copy Live Online Course";
		arr[1][1] = "http://www.the-dma.org/seminars/aco/registration.shtml";
		arr[2][0] = "HTML for Marketers Live Online Course ";
		arr[2][1] = "http://www.the-dma.org/cgi/ftfirstime?process=EVENTREG&mtgcode=HTM0112";
		arr[3][0] = "Fundamental Copywriting and Creative Strategies";
		arr[3][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0512";
		arr[4][0] = "Offers and Propositions";
		arr[4][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0412";
		arr[5][0] = "Direct Mail Campaigns";
		arr[5][1] = "http://dma.knowledgedirectweb.com/kd/sso.cfm?productid=DMF0612";
		break;
	default:
		arr[0][0] = "Courses";
		arr[0][1] = "";
		break;
	}
	return arr;
}

