	var URL_path = '';	// starting path. Set as '' if not starting in a subdirectory. Server defined below, see t_Server.
	var lr_brand = 'cbmp_jne'; 		// lr branding ID.

	// OAS setup - Part 1 of 3 
	// (Sse 'menu highlighting' below for Part 2)
	// (See /js/submenu.js for Part 3)

	var t_Server = '';
//	var t_Channel = 'Front';	// default channel
//	var t_Section = '';			// no default
//	var t_SubSection = '';		// no default
//	var t_SubSubSection = '';	// no default
//	var t_URL = t_Server.replace(/[^A-Z]/g, '')+((t_Channel != '')?'_'+t_Channel.substring(0, 5)+((t_Section != '')?'_'+t_Section.substring(0, 5)+((t_SubSection != '')?'_'+t_SubSection.substring(0, 5)+((t_SubSubSection != '')?'_'+t_SubSubSection.substring(0, 5):''):''):'') :'')+'_'+window.location.pathname;
//	var t_OAS = base_URL + t_URL.substring(0, t_URL.indexOf('_/'))+'/index.shtml';

	var c_path = window.location.pathname.replace(URL_path, '');
	var t_OAS = (t_Server + URL_path + c_path.substring(0, (c_path.indexOf('/') + 1)) + 'index.shtml').toLowerCase();	

	var t_Positions = 'TopLeft,Right,Right1,Right2,Right3';

	// end OAS setup

	base_URL = '' + t_Server + URL_path;
	
/////// SUBROUTINES

	// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)
	// See:  http://www.msc.cornell.edu/~houle/JavaScript/randomizer.html
	// Addendum, 2005: URL no longer in service.

	rnd.today=new Date();
	rnd.seed=rnd.today.getTime();

	function rnd() {
			rnd.seed = (rnd.seed*9301+49297) % 233280;
			return rnd.seed/(233280.0);
	};

	function rand(number) {
			return Math.ceil(rnd()*number);
	};

	// end central randomizer -->


	// return object from query string

	function parseQueryString(queryString) {
		 var queryObject = new Object();
		queryString = queryString.replace(/^.*\?(.+)$/,'$1');
		while ((pair = queryString.match(/([^=]+)=\'?([^\&\']*)\'?\&?/)) && pair[0].length) {
			queryString = queryString.substring( pair[0].length );
			if (/^\-?\d+$/.test(pair[2])) pair[2] = parseInt(pair[2]);
			queryObject[pair[1]] = pair[2];
		}
		return queryObject;
	}

	// return featured job for display

	function ajFJ(fjID) {
		document.write('<script src="' + base_URL + '/js/fj/jobs/' + fjID + '.js"></script>');
	}


///// MENU HIGHLIGHTING AND OAS PART 2

	// set menu highlighting based on page

	var QS = parseQueryString(location.search);
	var aj_section = QS.aj_pg;
	var aj_section_title = "";
	var aj_section_url = "";
	var aj_subsection = "";
	var aj_subsection_title = "";
	var aj_subsection_url = "";

	var aj_path = location.pathname;

	if (aj_path.match(/\/find/i) || aj_path.match(/\/jobs/i) )
	{
		aj_section = "find";
		aj_section_title = "Find Jobs";
		aj_section_url = base_URL + "find/";

	}
	
	aj_ispg = aj_path.match(/resumes/i);
	if (aj_ispg)
	{
		aj_section = "resume";
		aj_section_title = "Post Resumes";
		aj_section_url = base_URL + "resumes/";
	}

	aj_ispg = aj_path.match(/upgrades/i);
	if (aj_ispg)
	{
		aj_section = "resume";
		aj_section_title = "Post Resumes";
		aj_section_url = base_URL + "resumes/";
	}


	if (aj_path.match(/my/i) || aj_path.match(/share/i))
	{
		aj_section = "mjs";
		aj_section_title = "My Job Search";
		aj_section_url = base_URL + "my/";
	}

	if (aj_path.match(/\/news/i) || aj_path.match(/\/SalaryCalculator/i) || aj_path.match(/\/forums/i)  || aj_path.match(/carreerbytes/i) || aj_path.match(/jobseeker/i) || aj_path.match(/advice/i))
	{
		aj_section = "news";
		aj_section_title = "News & Tools";
		aj_section_url = base_URL + "news/";
		t_Channel = "News";					// OAS channel

		if (aj_path.match(/\/ask/i) )
		{
			aj_subsection = "AskRecruiter";
			t_Channel = "Interactive";					// OAS channel
			t_Section = "AskExpert";
			aj_subsection_title = "Ask the Recruiter";
			aj_subsection_url = base_URL + "news/ask/";
		}

		if (aj_path.match(/forums/i) )
		{
			aj_subsection = "WaterCooler";
			t_Channel = "Interactive";					// OAS channel
			t_Section = "Forum";
			aj_subsection_title = "The Water Cooler";
			aj_subsection_url = base_URL + "news/boards/";
		}

	}
	
	if (aj_path.match(/\/JobPoster/i) || aj_path.match(/\/employers/i) || aj_path.match(/\/resumes\/info.asp/i))
	{
		aj_section = "empl";
		aj_section_title = "Employer Resources";
		aj_section_url = base_URL + "employers/";
	}

	if (aj_path.match(/help/i) )
	{
		aj_section = "help";
		aj_section_title = "Help";
		aj_section_url = "http://www.careerbuilder.com/pli/R/JSHelp.htm?lr=" + lr_brand;
	}

	var aj_mjs_link_class="menu_link_off";
	var aj_mjs_class="menu_off";
	var aj_resume_link_class="menu_link_off";
	var aj_resume_class="menu_off";
	var aj_find_link_class="menu_link_off";
	var aj_find_class="menu_off";
	var aj_news_link_class="menu_link_off";
	var aj_news_class="menu_off";
	var aj_employers_link_class="menu_link_off";
	var aj_employers_class="menu_off";

	switch (aj_section) 
	{
	case "mjs":
		aj_mjs_link_class="menu_link_current";
		aj_mjs_class="menu_current";
		t_Channel = "Services";			// OAS channel
		t_Section = "JobSeeker";
		break
	case "find":
		aj_find_link_class="menu_link_current";
		aj_find_class="menu_current";
		t_Channel = "Services";				// OAS channel
		t_Section = "JobSeeker";
		break
	case "resume":
		aj_resume_link_class="menu_link_current";
		aj_resume_class="menu_current";
		t_Channel = "Services";				// OAS channel
		t_Section = "JobSeeker";
		break
	case "news":
		aj_news_link_class="menu_link_current";
		aj_news_class="menu_current";
		break
	case "empl":
		aj_employers_link_class="menu_link_current";
		aj_employers_class="menu_current";
		t_Channel = "Services";			// OAS channel
		t_Section = "Boss";
		break
	}






