//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
//	variable declaration
//	
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// declare global variables
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	
	var iAmTesting = false;
	
	var theBaseUrl = "http://www.cargillmeatsolutions.com/";
	var theDomPath;
	var theDomPathContent;
	
	var currentUrl;
	var currentUrlFragments;
	var currentFile;
	var currentFileName;
	var currentDirectory;
	
	var theBrowser;
	var theBrowserType = window.navigator.appName;
	var theBrowserIsOpera = (navigator.userAgent.indexOf("Opera")!= -1)?1:0;

	var xDivisionValue;
	var xDepartmentValue;
	var xProductValue;
	var xCategoryValue;
	var xSubCategoryValue;
	var xSubCategory01Value;
	var xSubCategory06Value;
	var pageTitleValue;

	var breadcrumbText01 = '<span class="textSmall">You are here: </span> ';

//  un-comment for go-live and replace link with actual link
//
//	var breadcrumbText05 = '<span class="textSmall">> </span><a href="http://www.cargill.com/products/crop/ps_livestock.htm" class="linkSmall" title="Livestock">Livestock</a> ';

	var breadcrumbValue01 = "";
	var breadcrumbValue02 = "";
	var breadcrumbValue03 = "";
	var breadcrumbValue04 = "";
	var breadcrumbValue05 = "";
	var breadcrumbValue06 = "";
	var breadcrumbValue07 = "";
	var breadcrumbValue08 = "";



	
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
//	functions
//	
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// function: parse url
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
			

	function parseUrl()
		{
		currentUrl = self.location.href;
		currentUrlFragments = currentUrl.split("/");
		currentFile = currentUrlFragments[currentUrlFragments.length-1];
		currentFileName = currentFile.split(".")[0];
		currentDirectory = currentUrlFragments[currentUrlFragments.length-2];
		
		//=-=-=-=-=-= alerts for testing =-=-=-=-=-=		
		if (iAmTesting) alert ('currentUrl = ' + currentUrl);
		if (iAmTesting) alert ('currentFile = ' + currentFile);
		if (iAmTesting) alert ('currentFileName = ' + currentFileName);
		if (iAmTesting) alert ('currentDirectory = ' + currentDirectory);
		
		return currentFileName;
		}

		
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// function: get dcl values from meta tags
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	

	function getDclValue (dclValue)
		{	
		switch (theBrowser)
			{	

			//=-=-=-=-=-= netscape 4 =-=-=-=-=-=
			
			case "ns4":
				// the netscape 4.x DOM provides no easy way to reference <meta> tags
				// no breadcrumbs will be displayed as a result
				if (iAmTesting) alert("Netscape 4.x = no breadcrumbs");
			break;
			
			//=-=-=-=-=-= netscape 6 and up =-=-=-=-=-=
			
			case "ns6":
				if (document.getElementById(dclValue))
					{
					switch (dclValue)
						{
						case "xDepartment":
							xDepartmentValue = document.getElementById(dclValue).content;
							return true;
						break;
						
						case "xProduct":
							xProductValue = document.getElementById(dclValue).content;
							return true;
						break;
						
						case "xCategory":
							xCategoryValue = document.getElementById(dclValue).content;
							return true;
						break;
						
						case "xSubCategory":
							xSubCategoryValue = document.getElementById(dclValue).content;
							return true;
						break;
						
						case "xSubCategory01":
							xSubCategory01Value = document.getElementById(dclValue).content;
							return true;
						break;
						
						case "xSubCategory06":
							xSubCategory06Value = document.getElementById(dclValue).content;
							return xSubCategory06Value;
						break;
						
						case "title":
							titleValue = document.getElementById(dclValue).content;
							return titleValue;
						break;
						
						case "pageTitle":
							pageTitleValue = document.getElementById(dclValue).content;
							return pageTitleValue;
						break;
						
						default:
							// do nothing for now
						break;
						} 
					}
				else
					{
					//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
					if (iAmTesting) alert(dclValue + " >>> DOES NOT Exist");
					}
			break;
			
			//=-=-=-=-=-= ie =-=-=-=-=-=
			
			case "ie":
				theDomPath = "document.all.";
				theDomPath += dclValue;
				
				//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
				if (iAmTesting) alert("theDomPath = " + theDomPath);
				
				theDomPathContent = "document.all.";
				theDomPathContent += dclValue;
				theDomPathContent += ".content";
				
				//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
				if (iAmTesting == "yes") alert("theDomPathContent = " + theDomPathContent);
				
				if (eval(theDomPath))
					{
					switch (dclValue)
						{
						case "xDepartment":
							xDepartmentValue = eval(theDomPathContent);
							return true;
						break;
						
						case "xProduct":
							xProductValue = eval(theDomPathContent);
							return true;
						break;
						
						case "xCategory":
							xCategoryValue = eval(theDomPathContent);
							return true;
						break;
						
						case "xSubCategory":
							xSubCategoryValue = eval(theDomPathContent);
							return true;
						break;
						
						case "xSubCategory01":
							xSubCategory01Value = eval(theDomPathContent);
							return true;
						break;
						
						case "xSubCategory06":
							xSubCategory06Value = eval(theDomPathContent);
							return xSubCategory06Value;
						break;						
						
						case "title":
							titleValue = eval(theDomPathContent);
							return titleValue;
						break;
						
						case "pageTitle":
							pageTitleValue = eval(theDomPathContent);
							return pageTitleValue;
						break;			
						
						default:
							// do nothing for now
						break;
						} 
					}
				else
					{
					//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
					if (iAmTesting) alert(dclValue + " >>> DOES NOT Exist");
					}
			break;
			
			//=-=-=-=-=-= unknown =-=-=-=-=-=
			
			default:
				// no breadcrumbs
			break;
			}
		}

	
		
			
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
//	begin code
//	
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// opera browser sniff
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
			

	if (theBrowserIsOpera)
		{
		var theBrowserType = "Opera";

		//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
		if (iAmTesting) alert("The browser is Opera");
		}
			
				
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// ie and netscape browser sniff
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	

	switch (theBrowserType)
		{
		//=-=-=-=-=-= ie =-=-=-=-=-=
				
		case "Microsoft Internet Explorer": 
		case "Opera": 
			theBrowser = "ie";
			
			//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
			if (iAmTesting) alert("The browser is Microsoft Internet Explorer");
		break;

		case "Netscape":
						
			//=-=-=-=-=-= netscape 4 =-=-=-=-=-=
			
			if (document.layers)
				{
				var theBrowser = "ns4";
				
				//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
				if (iAmTesting) alert("The browser is Netscape 4.x");
				}

			//=-=-=-=-=-= netscape 6 and up =-=-=-=-=-=
							
			else
				{
				var theBrowser = "ns6";
				
				//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
				if (iAmTesting) alert("The browser is Netscape 6.x+ or Mozilla");
				}
				
		break;

		//=-=-=-=-=-= other =-=-=-=-=-=
						
		default:
			var theBrowser = "other";
			
			//=-=-=-=-=-= alerts for testing =-=-=-=-=-=
			if (iAmTesting) alert("The browser is unknown");
		break;
		}
		
		
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// build breadcrumb variables / links
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=		
	
	parseUrl();
	getDclValue("xProduct")
	
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Home
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

		breadcrumbValue01 = '<span class="textSmall">You are here: </span> ';
		breadcrumbValue01 += '<span class="textSmall">></span> ';
		breadcrumbValue01 += '<a href="'
		breadcrumbValue01 += theBaseUrl;
		breadcrumbValue01 += 'tk_cms_index.htm';
		breadcrumbValue01 += '" class="linkSmall" title="Home">Home</a> ';
				
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
	switch (xProductValue)
		{
			
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// About Us
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
		case "About Us":
			if (currentFileName == "tk_cms_about")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'about_us/tk_cms_about.htm';
				breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
				
				switch (currentFileName)
					{
						case "tk_cms_about_loc":
						case "tk_cms_about_hist":
						case "tk_cms_about_proc":
						case "tk_cms_about_vdi":
						case "tk_cms_about_imm_ref":
						case "tk_cms_about_bus":
						case "tk_cms_about_terms":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Cargill Salt">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> ';
							breadcrumbValue03 += document.title;					
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_about_loc_beef":
						case "tk_cms_about_loc_case":
						case "tk_cms_about_loc_food":
						case "tk_cms_about_loc_meat":
						case "tk_cms_about_loc_pork":
						case "tk_cms_about_loc_sales":
						case "tk_cms_about_loc_intl":
						case "tk_cms_about_loc_corp":
						case "tk_cms_about_loc_corp_ccwa_for":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">> ';
							breadcrumbValue04 += document.title;					
							breadcrumbValue04 += '</span>';
						break;
						
						case "tk_cms_about_loc_corp_ccwa":
						case "ccwc":
						case "tk_cms_about_loc_corp_ccwa_ty":
						case "tk_cms_about_loc_corp_ccwa_for":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">></span> ';
							breadcrumbValue04 += '<a href="'
							breadcrumbValue04 += theBaseUrl + "about_us/tk_cms_about_loc_corp.htm";
							breadcrumbValue04 += '" class="linkSmall" title="Corporate Facility">Corporate Facility</a> ';
							
							breadcrumbValue05 = '<span class="textSmall">> ';
							breadcrumbValue05 += document.title;					
							breadcrumbValue05 += '</span>';
						break;

							
						case 'tk_cms_about_loc_beef_AL_CA':
						case 'tk_cms_about_loc_beef_ONT':
						case 'tk_cms_about_loc_beef_wi':
						case 'tk_cms_about_loc_beef_ks':
						case 'tk_cms_about_loc_beef_tx':
						case 'tk_cms_about_loc_beef_plain_tx':
						case 'tk_cms_about_loc_beef_co':
						case 'tk_cms_about_loc_beef_ne':
						case 'tk_cms_about_loc_beef_ca':
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">></span> ';
							breadcrumbValue04 += '<a href="'
							breadcrumbValue04 += theBaseUrl + "about_us/tk_cms_about_loc_beef.htm";
							breadcrumbValue04 += '" class="linkSmall" title="Beef Facilities">Beef Facilities</a> ';
							
							breadcrumbValue05 = '<span class="textSmall">> ';
							breadcrumbValue05 += document.title;					
							breadcrumbValue05 += '</span>';
						break;
						
						case 'tk_cms_about_loc_case_pa':
						case 'tk_cms_about_loc_case_ontario':
						case 'tk_cms_about_loc_case_mo':
						case 'tk_cms_about_loc_case_ga':
						case 'tk_cms_about_loc_case_chambly':							
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">></span> ';
							breadcrumbValue04 += '<a href="'
							breadcrumbValue04 += theBaseUrl + "about_us/tk_cms_about_loc_case.htm";
							breadcrumbValue04 += '" class="linkSmall" title="Case Ready Facilities">Case Ready Facilities</a> ';	
							
							breadcrumbValue05 = '<span class="textSmall">> ';
							breadcrumbValue05 += document.title;					
							breadcrumbValue05 += '</span>';
							
						break;
						
						case 'tk_cms_about_loc_pork_ia':
						case 'tk_cms_about_loc_pork_il':			
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">></span> ';
							breadcrumbValue04 += '<a href="'
							breadcrumbValue04 += theBaseUrl + "about_us/tk_cms_about_loc_pork.htm";
							breadcrumbValue04 += '" class="linkSmall" title="Pork">Pork Facilities</a> ';	
							
							breadcrumbValue05 = '<span class="textSmall">> ';
							breadcrumbValue05 += document.title;					
							breadcrumbValue05 += '</span>';
							
						break;
						
						case 'tk_cms_about_loc_meat_waco':
						case 'tk_cms_about_loc_meat_spring':
						case 'tk_cms_about_loc_meat_dayton':
						case 'tk_cms_about_loc_meat_ne':
						case 'tk_cms_about_loc_meat_mo':
						case 'tk_cms_about_loc_meat_wi':
						case 'tk_cms_about_loc_meat_timber':
						case 'tk_cms_about_loc_meat_boone':
						case 'tk_cms_about_loc_meat_crawford':
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "about_us/tk_cms_about.htm";
							breadcrumbValue02 += '" class="linkSmall" title="About Us">About Us</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">></span> ';
							breadcrumbValue03 += '<a href="'
							breadcrumbValue03 += theBaseUrl + "about_us/tk_cms_about_loc.htm";
							breadcrumbValue03 += '" class="linkSmall" title="Our Locations">Our Locations</a> ';
						
							breadcrumbValue04 = '<span class="textSmall">></span> ';
							breadcrumbValue04 += '<a href="'
							breadcrumbValue04 += theBaseUrl + "about_us/tk_cms_about_loc_meat.htm";
							breadcrumbValue04 += '" class="linkSmall" title="Value Added Meats">Value Added Meats Facilities</a> ';	
							
							breadcrumbValue05 = '<span class="textSmall">> ';
							breadcrumbValue05 += document.title;					
							breadcrumbValue05 += '</span>';
							
						break;
						
						//=-=-=-=-=-= breadcrumb error =-=-=-=-=-=
						
						default:
							breadcrumbValue03 = '<span class="textSmall">> ';
							breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
							breadcrumbValue03 += '</span>';		
						break;				
					}
				}
			break;
		
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Retail Service
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
		case "Retail Service":
						
			if (currentFileName == "tk_cms_retail")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'retail/1tk_cms_retail.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Retail Service">Retail Service</a> ';
				
				breadcrumbValue03 = '<span class="textSmall">> ';
				breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
				breadcrumbValue03 += '</span>';		
				}											
		break;
		
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Food Service
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
		case "Food Service":
						
			if (currentFileName == "tk_cms_food")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'retail/1tk_cms_retail.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Retail Service">Retail Service</a> ';
				
				breadcrumbValue03 = '<span class="textSmall">> ';
				breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
				breadcrumbValue03 += '</span>';		
				}											
		break;
		
		
		
		
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Brands
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=	
		case "Brands":
			if (currentFileName == "tk_cms_brands")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'brands/tk_cms_brands.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
				
				switch (currentFileName)
					{
						case "tk_cms_brands_angus":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Angus Pride<font size="2"><sup>&reg;</sup></font> premium beef';
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_honey":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Honeysuckle White<font size="2"><sup>&reg;</sup></font> turkey';
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_sterling":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Sterling Silver<font size="2"><sup>&reg;</sup></font> premium meats';
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_tender":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Tender Choice<font size="2"><sup>&reg;</sup></font> pork';
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_shady":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Shady Brook Farms<font size="2"><sup>&#8482;</sup></font> turkey';
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_prairie":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Prairie Grove Farms<font size="2"><sup>&reg;</sup></font> pork';
							breadcrumbValue03 += '</span>';
						break;
						case "tk_cms_brands_excel":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Excel<font size="2"><sup>&reg;</sup></font> beef and pork';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_circle":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Circle T Beef<font size="2"><sup>&#8482;</sup></font>';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
					    case "tk_cms_brands_berkshire":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Bershire<font size="2"><sup>&reg;</sup></font> pork';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
					    case "tk_cms_brands_preferred":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Preferred Angus<font size="2"><sup>&reg;</sup></font> beef';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
						
					    case "tk_cms_brands_tender_ridge":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Tender Ridge<font size="2"><sup>&#8482;</sup></font> Angus beef';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_ranchers_r":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Ranchers Registry Angus<font size="2"><sup>&reg;</sup></font> beef';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
					    case "tk_cms_brands_meadlowland":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Meadlowland Farms<font size="2"><sup>&#8482;</sup></font> ground beef';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
					    case "tk_cms_brands_valley":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Valley<font size="2"><sup>&#8482;</sup></font> Tradition beef';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
					    case "tk_cms_brands_rumba":
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> Rumba<font size="2"><sup>&#8482;</sup></font>';
							/*breadcrumbValue03 += document.title;	*/
							breadcrumbValue03 += '</span>';
						break;
						
						case "tk_cms_brands_angnp":
						    breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "brands/tk_cms_brands.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Brands">Brands</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> All-Natural Good Nature pork';
							breadcrumbValue03 += '</span>';
						break;
						
						//=-=-=-=-=-= breadcrumb error =-=-=-=-=-=
						
						default:
							breadcrumbValue03 = '<span class="textSmall">> ';
							breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
							breadcrumbValue03 += '</span>';		
						break;				
					}
				}
			break;
			
			
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Careers
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
		case "Careers":
						
			if (currentFileName == "tk_cms_careers")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'careers/tk_cms_careers.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Careers">Careers</a> ';
				
				breadcrumbValue03 = '<span class="textSmall">> ';
				breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
				breadcrumbValue03 += '</span>';		
				}											
		break;
		
		
		
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Press Releases
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=	
		
		case "Press Releases":
		
		getDclValue("pageTitle")
		
			if (currentFileName == "tk_cms_pr_arc")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'press_releases/tk_cms_pr_arc.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Archives">Archives</a> ';
				
				switch (currentFileName)
					{
						//=-=-=-=-=-= breadcrumb error =-=-=-=-=-=
						
						default:
							breadcrumbValue02 = '<span class="textSmall">></span> ';
							breadcrumbValue02 += '<a href="'
							breadcrumbValue02 += theBaseUrl + "press_releases/tk_cms_pr_arc.htm";
							breadcrumbValue02 += '" class="linkSmall" title="Archives">Archives</a> ';
							
							breadcrumbValue03 = '<span class="textSmall">> ';
							breadcrumbValue03 += pageTitleValue;					
							breadcrumbValue03 += '</span>';		
						break;				
					}
				}
			break;
			
			
			
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Articles
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=	
		
		case "Articles":
		
		getDclValue("pageTitle")
		
			if (currentFileName == "tk_cms_ar_arc")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'articles/tk_cms_ar_arc.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Contact Us">Archives</a> ';
				
				breadcrumbValue03 = '<span class="textSmall">> ';
				breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
				breadcrumbValue03 += '</span>';		
				}
			break;
		
		
		
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		// Contact Us
		//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		
		case "Contact Us":
						
			if (currentFileName == "tk_cms_contacts")
				{
				breadcrumbValue02 = '<span class="textSmall">> ';
				breadcrumbValue02 += document.title;					
				breadcrumbValue02 += '</span>';
				}
			
			else
				{
				breadcrumbValue02 = '<span class="textSmall">></span> ';
				breadcrumbValue02 += '<a href="'
				breadcrumbValue02 += theBaseUrl;
				breadcrumbValue02 += 'contacts/tk_cms_contacts.htm';
				breadcrumbValue02 += '" class="linkSmall" title="Contact Us">Contact Us</a> ';
				
				breadcrumbValue03 = '<span class="textSmall">> ';
				breadcrumbValue03 += 'Breadcrumb Needed - Contact Administrator';
				breadcrumbValue03 += '</span>';		
				}											
		break;
		
		
		
		
	}
			
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// load dcl meta values into javascript variables
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	if (iAmTesting) alert("breadcrumbText01 = " + breadcrumbText01);
	if (iAmTesting) alert("breadcrumbText01 = " + breadcrumbText02);
	if (iAmTesting) alert("breadcrumbText01 = " + breadcrumbText03);
	if (iAmTesting) alert("breadcrumbText01 = " + breadcrumbText04);
	if (iAmTesting) alert("breadcrumbText01 = " + breadcrumbText05);
	if (iAmTesting) alert("breadcrumbValue01 = " + breadcrumbValue01);
	if (iAmTesting) alert("breadcrumbValue02 = " + breadcrumbValue02);
	if (iAmTesting) alert("breadcrumbValue03 = " + breadcrumbValue03);
	if (iAmTesting) alert("breadcrumbValue04 = " + breadcrumbValue04);
	if (iAmTesting) alert("breadcrumbValue05 = " + breadcrumbValue05);
	if (iAmTesting) alert("breadcrumbValue06 = " + breadcrumbValue06);
	if (iAmTesting) alert("breadcrumbValue07 = " + breadcrumbValue07);
	if (iAmTesting) alert("breadcrumbValue08 = " + breadcrumbValue08);
	
	
	document.write(breadcrumbValue01 + breadcrumbValue02 + breadcrumbValue03 + breadcrumbValue04 + breadcrumbValue05 + breadcrumbValue06 + breadcrumbValue07 + breadcrumbValue08);	