var sectionName;
var pathName;
var subSectionName;
var hb_segement;
pathName=document.location.pathname;
// metatag profile, in case of profile view, the path starts with /lawyerlocator/.. instead of /xp/..
if (pathName.indexOf("/xp")==-1)
	sectionName = pathName.substring(pathName.indexOf("/lawyer")+1);
else
	sectionName=pathName.substring(pathName.indexOf("/xp")+4);
sectionName=sectionName.substring(0,sectionName.indexOf("/"));
//alert("sectionName = " + sectionName);
switch(sectionName)
{
	case "c2c":
		hb_seg='-1,-2,3,-4';
		subSectionName=pathName.substring(pathName.indexOf("/c2c")+5);			
		doC2c();
		break;
	
	// metatag project non-profile pages
	case "meta":
		hb_seg='-1,-2,-3,4';
		//alert ("metatag project non-profile pages hitbox code execution...");
		//alert(pathName);
		doMeta();
		break;

	// metatag project profile pages
	case "lawyerlocator":
		hb_seg='-1,-2,-3,4';
		//alert ("metatag project profile pages hitbox code execution...");
		//alert(pathName);
		doLawyerlocator();
		break;

	default://case for martindale
		hb_seg='1,-2,-3,-4';
		subSectionName=pathName.substring(pathName.indexOf("/Martindale")+12);
		if((subSectionName=='Lawyer_Locator/home.xml')||(subSectionName==""))
		{
			hb_pn="Home+Lawyer+Name+Search";
			hb_mlc="/lawyer+locator/search+step+1";
		}
		else
		{
			subSectionName=subSectionName.substring(0,subSectionName.indexOf("/"));
			switch(subSectionName)
			{
				case "About_Us":
					doAboutUs();
					break;
		
				case "Dispute_Resolution":
					doDispute();
					break;
		
				case "Contact_Us":
					doContact();
					break;
		
				case "Customer_Services":
					doCustomer();
					break;
		
				case "Legal_Careers":
					doLegalCareers();
					break;
		
				case "Legal_Personnel":
					doLegalPersonnel();
					break;
		
				case "Lawyer_Locator":
					doLocator();
					break;
		
				case "Products":
					doProducts();
					break;
		
				case "Professional_Resources":
					doProfResources();
					break;
		
				case "Services":
					doServices();
					break;
		
				case "Site_Info":
					doSiteInfo();
					break;
					
				case "-firm-lists": //top ten lists
					doTop10();
					break;
				case "":
					var path = pathName.split("/");
					if(path[1]=="law_firm"){ //law firm profiles
						doLawFirm();
						break;
					}
		
				default:
					hb_mlc=subSectionName;
					if(pathName.indexOf("/Martindale")==-1){
						//added for lawyerlocator browse
						var pageName = pathName.split("/");
						hb_mlc="lawyer_locator";
					}					
					selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
					UrlArr=selfUrl.split("/");
					fileElement=UrlArr.length - 1;
					hb_pn=UrlArr[fileElement];
					
					
			}
		}
}
function doC2c(){
	selfUrl=pathName.substring(pathName.indexOf("/c2c")+4);
	switch(selfUrl)
	{
		case "/Overview/overview_intro.xml":
			hb_pn="c2c+home";
			hb_mlc="/c2c";
			break;
		case "/Forums/intro.xml":
			hb_pn="c2c+intro";
			hb_mlc="/c2c";
			break;
		case "/Forums/2003/forums_2003.xml":
			hb_pn="c2c+forums+2003";
			hb_mlc="/c2c";
			break;
		case "/Forums/2002/forums_2002.xml":
			hb_pn="c2c+forums+2002";
			hb_mlc="/c2c";
			break;
		case "/How_to_Participate/application.xml":
			hb_pn="c2c+howto";
			hb_mlc="/c2c";
			break;
		case "/How_to_Participate/Participant_Feedback/feedback.xml":
			hb_pn="c2c+partfeedback";
			hb_mlc="/c2c";
			break;
		case "/Participating_Companies/participating_companies.xml":
			hb_pn="c2c+participating+companies";
			hb_mlc="/c2c";
			break;
		case "/Participating_Companies/Co-chairs/cochair_index.xml":
			hb_pn="c2c+co-chairs";
			hb_mlc="/c2c";
			break;
		case "/Law_Firm_Co-hosts/co_hosts_intro.xml":
			hb_pn="c2c+law+firm+co-hosts";
			hb_mlc="/c2c";
			break;
		case "/Media_Features/articles_list.xml":
			hb_pn="c2c+media+features";
			hb_mlc="/c2c";
			break;
		case "/Media_Features/Connections_Newsletter/connections_intro.xml":
			hb_pn="c2c+connections+newsletter";
			hb_mlc="/c2c";
			break;
		case "/Forum_Organizer/sponsors_intro.xml":
			hb_pn="c2c+forum+organizer";
			hb_mlc="/c2c";
			break;
	
		case "/Media_Partners/legal_week.xml":
			hb_pn="c2c+media+partners";
			hb_mlc="/c2c";
			break;
		case "/Contact_Us/contact_us.xml":
			hb_pn="c2c+contact+us";
			hb_mlc="/c2c";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doMeta(){
	var pageNameLoc = pathName.lastIndexOf("/");
	var pageName = pathName.substring(pageNameLoc+1);
	//alert(pageName);
	switch(pageName)
	{
		case "country_list.php3":
			hb_pn="country+list";
			hb_mlc="/meta/country+list";
			break;
				
		case "state_list.php3":
			hb_pn="state+list";
			hb_mlc="/meta/state+list";
			break;
	
		case "county_list.php3":
			hb_pn="county+list";
			hb_mlc="/meta/county+list";
			break;
				
		case "city_list.php3":
			hb_pn="city+list";
			hb_mlc="/meta/city+list";
			break;
				
		case "firm_list.php3":
			hb_pn="firm+list";
			hb_mlc="/meta/firm+list";
			break;
				
		case "bridgepage.php3":
			hb_pn="firm+bridge";
			hb_mlc="/meta/firm+bridge";
			break;
	
		case "firm.html":
			hb_pn="static+firm";
			hb_mlc="/meta/static+list";
			break;
				
		case "atty.html":
			hb_pn="static+atty";
			hb_mlc="/meta/static+attorney";
			break;
				
		case "group.html":
			hb_pn="static+group";
			hb_mlc="/meta/static+group";
			break;
			
		default:
			hb_pn="meta";
			hb_mlc="/meta/";
	}
}
function doLawyerlocator(){
	var pageNameLoc = pathName.lastIndexOf("/");
	var pageName = pathName.substring(pageNameLoc+1);
	//alert(pageName);
	switch(pageName)
	{
		case "country_list.php3":
			hb_pn="country+list";
			hb_mlc="/meta/country+list";
			break;
				
		case "state_list.php3":
			hb_pn="state+list";
			hb_mlc="/meta/state+list";
			break;
	
		case "county_list.php3":
			hb_pn="county+list";
			hb_mlc="/meta/county+list";
			break;
				
		case "city_list.php3":
			hb_pn="city+list";
			hb_mlc="/meta/city+list";
			break;
				
		case "firm_list.php3":
			hb_pn="firm+list";
			hb_mlc="/meta/firm+list";
			break;
				
		case "bridgepage.php3":
			hb_pn="firm+bridge";
			hb_mlc="/meta/firm+bridge";
			break;
	
		case "firm.html":
			hb_pn="static+firm";
			hb_mlc="/meta/static+list";
			break;
				
		case "atty.html":
			hb_pn="static+atty";
			hb_mlc="/meta/static+attorney";
			break;
				
		case "group.html":
			hb_pn="static+group";
			hb_mlc="/meta/static+group";
			break;
			
		default:
			hb_pn="meta";
			hb_mlc="/meta/";
	}
}
function doAboutUs(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/About_Us/about_company.xml":
			hb_pn="about+us+the+company";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Directory_Usage_Survey/survey_corp.xml":
			hb_pn="about+us+survey";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Directory_Usage_Survey/survey_firms.xml":
			hb_pn="about+us+survey+results+firms";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/History/about_history.xml":
			hb_pn="about+us+history";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Advisory/advisory_intro.xml":
			hb_pn="about+us+board+of+advisors";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Parent/parentcompanies.xml":
			hb_pn="about+us+parent+and+affiliates";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Ratings/ratings_intro.xml":
			hb_pn="about+us+ratings";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Ratings/ratings_process.xml":
			hb_pn="about+us+ratings+process";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Ratings/ratings_categories.xml":
			hb_pn="about+us+ratings+categories";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Ratings/ratings_faq.xml":
			hb_pn="about+us+ratings+faq";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Ratings/ratings_uses.xml":
			hb_pn="about+us+ratings+uses";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Media/mediaroom_intro.xml":
			hb_pn="about+us+media+room+home";
			hb_mlc="/About+Us";
			break;
		case "/About_Us/Media/archive_intro.xml":
			hb_pn="about+us+media+room+archive";
			hb_mlc="/About+Us";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doDispute(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/qual_search.xml":
			hb_pn="drd+qual+search";
			hb_mlc="/Dispute+Resolution/search+step+1";
			break;
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/org_search.xml":
			hb_pn="drd+org+search";
			hb_mlc="/Dispute+Resolution/search+step+1";
			break;
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/name_search.xml":
			hb_pn="drd+name+search";
			hb_mlc="/Dispute+Resolution/search+step+1";
			break;
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/search_results.xml":
			hb_pn="drd+results";
			hb_mlc="/Dispute+Resolution/search+step+2";
			break;
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/search_detail.xml":
			hb_pn="drd+listing";
			hb_mlc="/Dispute+Resolution/search+step+3";
			break;
		case "/Dispute_Resolution/Search_Dispute_Resolution_Directory/search_detail.xml":
			hb_pn="drd+listing";
			hb_mlc="/Dispute+Resolution/search+step+3";
			break;
		case "http://www.martindale.com/php/adr/xp/subframe.php3":
			hb_pn="drd+listing";
			hb_mlc="/Dispute+Resolution/search+step+3";
			break;
		case "/Dispute_Resolution/Add_Listing/add_free_listing.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "/Dispute_Resolution/ADR_Reference/adr_reference_intro.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "/Dispute_Resolution/About_Dispute_Resolution_Directory/adr_about.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "/Dispute_Resolution/International/idrd_bridge.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "/Dispute_Resolution/ADR_Professional_Pages/adr_prof_pages.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "/Dispute_Resolution/Contact_Information/adr_contact.xml":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		case "http://dispute.martindale.com/":
			hb_pn="drd+content";
			hb_mlc="/Dispute+Resolution";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doContact(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Contact_Us/contact_intro.xml":
			hb_pn="contact+us+home";
			hb_mlc="/Contact+Us";
			break;
		case "/Contact_Us/feedback.xml":
			hb_pn="contact+us+feedback";
			hb_mlc="/Contact+Us/feedback";
			break;
		case "/Contact_Us/feedback_response.xml":
			hb_pn="contact+us+feedback+confirm";
			hb_mlc="/Contact+Us/confirm";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doCustomer(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	
	//alert(selfUrl);
	switch(selfUrl)
	{
		case "/Customer_Services/Customer_Support/customer_services_intro.xml":
			hb_pn="customer+services";
			hb_mlc="/Customer+Services";
			break;
		case "/Customer_Services/CD-ROM_Support/index.xml":
			hb_pn="customer+services+cd-rom+support";
			hb_mlc="/Customer+Services";
			break;
		case "/Customer_Services/Free_Email/email_intro.xml":
			hb_pn="customer+services+free+email";
			hb_mlc="/Customer+Services";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doLegalCareers(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Legal_Careers/careers_intro.xml":
			hb_pn="careers+home";
			hb_mlc="/Legal+Careers/home";
			break;
		case "/Legal_Careers/Find_A_Job/careersframeset.xml":
			hb_pn="careers+find";
			hb_mlc="/Legal+Careers/find";
			break;
		case "/Legal_Careers/Post_a_Job/postjob_general.xml":
			hb_pn="careers+post";
			hb_mlc="/Legal+Careers/post";
			break;
		case "/Legal_Careers/Job_Seekers/resources_intro.xml":
			hb_pn="careers+content";
			hb_mlc="/Legal+Careers";
			break;
		case "/Legal_Careers/Vault/vaultframeset.xml":
			hb_pn="careers+content";
			hb_mlc="/Legal+Careers";
			break;
		case "/Legal_Careers/Recruiters/recruiters_intro.xml":
			hb_pn="careers+content";
			hb_mlc="/Legal+Careers";
			break;
		case "/Legal_Careers/contact.xml":
			hb_pn="careers+content";
			hb_mlc="/Legal+Careers";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	
	}
}
function doLegalPersonnel(){
	pathName=document.location.pathname + document.location.search;
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Legal_Personnel/Search_Legal_Personnel/search_leg_personnel.xml":
			hb_pn="personnel+all+personnel+quick+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/search_leg_personnel.xml?position=Administration":
			hb_pn="personnel+admin+quick+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/search_leg_personnel.xml?position=Library":
			hb_pn="personnel+library+quick+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/search_leg_personnel.xml?position=Marketing":
			hb_pn="personnel+mrktg+quick+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/search_leg_personnel.xml?position=Paralegal":
			hb_pn="personnel+paralegal+quick+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/advsearch_leg_personnel.xml?position=All":
			hb_pn="personnel+all+personnel+adv+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/advsearch_leg_personnel.xml?position=Administration":
			hb_pn="personnel+admin+adv+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/advsearch_leg_personnel.xml?position=Library":
			hb_pn="personnel+library+adv+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/advsearch_leg_personnel.xml?position=Marketing":
			hb_pn="personnel+mrktg+adv+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/advsearch_leg_personnel.xml?position=Paralegal":
			hb_pn="personnel+paralegal+adv+search";
			hb_mlc="/Legal+Personnel/search+step+1";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/profstaff_result.xml":
			hb_pn="personnel+results";
			hb_mlc="/Legal+Personnel/search+step+2";
			break;
		case "/Legal_Personnel/Search_Legal_Personnel/profstaff_detail.xml":
			hb_pn="personnel+listing";
			hb_mlc="/Legal+Personnel/search+step+3";
			break;
		case "/Legal_Personnel/About_Legal_Personnel/personnel_about.xml":
			hb_pn="personnel+content";
			hb_mlc="/Legal+Personnel";
			break;
		case "/Legal_Personnel/Add_or_Update_Listing/personnel_add.xml":
			hb_pn="personnel+content";
			hb_mlc="/Legal+Personnel";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	
	}
}
function doLocator(){
	var selfUrl;
	var queryString;
	var temp;
	var retVals;
	var retNames;
	var searchType;
	var listingType;
	var create;
	var lid='';
	var attid='';
	var grpid='';
	
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	if ((selfUrl=="/Lawyer_Locator/Top_10_Lists/top10_intro.xml") ||
(selfUrl=="/Lawyer_Locator/Top_10_Lists/Whats_New/whatsnew_intro.xml")){ //added for top 10 lists
		doTop10();
		return;
	}
	if (selfUrl=="/Lawyer_Locator/snapshot.xml"){ //added for firm profile section
		doLawFirm();
		return;
	}
	queryString=document.location.search;
	queryString=queryString.replace('?','');
	retVals	= queryString.split("&");
	for(t=0;t<retVals.length;t++)
	{
			temp = retVals[t];
			retNames = temp.split("=");
			if(retNames[0]=='STYPE')
			{
				searchType=retNames[1];
			}
			else if(retNames[0]=='type')
			{
				listingType=retNames[1];
			}
			else if(retNames[0]=='create')
			{
				create=retNames[1];
			}		
			else if(retNames[0]=='lid' && retNames[1] != '')
			{
				listingId=retNames[1];
				lid=retNames[1];
			}		
			else if(retNames[0]=='attid' && retNames[1] != '')
			{
				listingId=retNames[1];
				attid=retNames[1];;
			}		
			else if(retNames[0]=='grpid' && retNames[1] != '')
			{
				grpid=retNames[1];
			
			}		
			
	}
	switch(selfUrl)
	{
		case "/Lawyer_Locator/search_advanced.xml":
			hb_pn="lawyer+name+search";
			hb_mlc="/lawyer+locator/search+step+1";
			break;
		case "TBD":
			hb_pn="art+search";
			hb_mlc="TBD";
			break;
		case "TBD":
			hb_pn="group+search";
			hb_mlc="TBD";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/search_result.xml":
			hb_pn="search+results";
			hb_mlc="/lawyer+locator/search+step+2";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/search_detail.xml":
			switch(searchType)
			{
				case "N" :	hb_pn="attorney+listing";
							break;
				case "F" :	hb_pn="firm+listing"; 
							break;
				case "U" :	hb_pn="group+listing";
							break;
				case "C" :	hb_pn="corp+listing";
							break;
				case "G" :	hb_pn="govt+listing";
							break;
				case "Y" :	hb_pn="faculty+listing";
							break;
				case "P" :	if(listingType==1)
							{
								hb_pn="firm+listing";
							}
							else
							{
								hb_pn="attorney+listing";
							}
							break;
				default  :	hb_pn="attorney+listing";
							break;
			}
			hb_mlc="/lawyer+Locator/search+step+3/";
			break;
			
	
		case "/Lawyer_Locator/Search_Lawyer_Locator/listing.xml":
			if(grpid != "")
			{
				hb_pn="group+listing";
			}
			else if(attid != "")
			{
				hb_pn="attorney+listing";
			}
			else
			{
				hb_pn="firm+listing";
			}
		
			
			hb_mlc="/lawyer+Locator/search+step+3/";
			break;
	
		case "/Lawyer_Locator/Search_Lawyer_Locator/atty_listing.xml":
		
			hb_pn="attorney+listing";
			hb_mlc="/lawyer+Locator/search+step+3/";
			break;
			
	
	
		case "/Lawyer_Locator/Search_Lawyer_Locator/firmnum.xml":
		
			hb_pn="firm+listing";
			hb_mlc="/lawyer+Locator/search+step+3/";
			break;
			
	
		case "/Lawyer_Locator/Search_Lawyer_Locator/islnnum.xml":
		
			hb_pn="attorney+listing";
			hb_mlc="/lawyer+Locator/search+step+3/";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/alm_info.xml":
			hb_pn="alm+content";
			hb_mlc="/lawyer+Locator/search+step+4/";
			break;
			
		case "TBD":
			hb_pn="";
			hb_mlc="TBD";
			break;
		case "TBD":
			hb_pn="";
			hb_mlc="TBD";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/tips_firm.xml":
			hb_pn="search+tips";
			hb_mlc="/lawyer+locator/";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/mailform.xml":
			if(create==1)
			{
				hb_pn="confirm";
				hb_mlc="/lawyer+locator/step+2+confirm+email+sent";
			}
			else
			{
				hb_pn="send+an+email";
				hb_mlc="/lawyer+locator/step+1+send+an+email";
			}
			if(listingType==0)
			{
				hb_pn= hb_pn + "+Group";
			}
			else if(listingType==1)
			{
				hb_pn= hb_pn + "+Firm";
			}
			else
			{
				hb_pn= hb_pn + "+Attorney";
			}
			break;
	
		case "/Lawyer_Locator/Join_the_Legal_Network/Join_the_Legal_Network.xml":
			hb_pn="content";
			hb_mlc="/lawyer+locator";
			break;
		case "/Lawyer_Locator/Request_a_Listing/Request_a_basic_listing.xml":
			hb_pn="content";
			hb_mlc="/lawyer+locator";
			break;
		case "/Lawyer_Locator/About_Lawyer_Locator/locator_about.xml":
			hb_pn="content";
			hb_mlc="/lawyer+locator";
			break;
		case "TBD":
			hb_pn="agp content";
			hb_mlc="TBD";
			break;
		case "/Lawyer_Locator/Search_Lawyer_Locator/aop_intro.xml":
			hb_pn="";
			hb_mlc="";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doProducts(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Products/products_intro.xml":
			hb_pn="products+home";
			hb_mlc="/Products";
			break;
		case "/Products/mdale/mdale_com.xml":
			hb_pn="products+martindale.com";
			hb_mlc="/Products";
			break;
		case "/Products/lawyers/lawyers_com.xml":
			hb_pn="products+lawyers.com";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/law_directory.xml":
			hb_pn="products+law+directories";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/CD-ROM/ld_cdrom.xml":
			hb_pn="products+law+directories+cdrom";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/lexis_com/ld_lexis.xml":
			hb_pn="products+law+directories+ln";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/ld_print.xml":
			hb_pn="products+law+directories+print";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/parker.xml":
			hb_pn="products+law+directories+parker";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/ld_corporate.xml":
			hb_pn="products+law+directories+corporate";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/canada_ld.xml":
			hb_pn="products+law+directories+canandian";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Butterworth's/BLD.xml":
			hb_pn="products+law+directories+butterworths";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Directories/Print/intnl_ld.xml":
			hb_pn="products+law+directories+intl";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Digest/law_digest.xml":
			hb_pn="products+law+digest";
			hb_mlc="/Products";
			break;
		case "/Products/Law_Digest/law_digest_ack.xml":
			hb_pn="products+law+digest+acknowledgements";
			hb_mlc="/Products";
			break;
		case "/Products/Bar_Register/bar_register.xml":
			hb_pn="products+bar+register";
			hb_mlc="/Products";
			break;
		case "/Products/Bar_Register/bar_register_areasofpractice.xml":
			hb_pn="products+bar+register+aops";
			hb_mlc="/Products";
			break;
		case "/Products/Buyers_Guide/buyers_guide.xml":
			hb_pn="products+buyers+guide";
			hb_mlc="/Products";
			break;
		case "/Products/DRD/iadrd.xml":
			hb_pn="products+drd";
			hb_mlc="/Products";
			break;
		case "http://dispute.martindale.com/":
			hb_pn="products+intl+drd";
			hb_mlc="/Products";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doProfResources(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Professional_Resources/resources_intro.xml":
			hb_pn="professional+home";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/LegalBiz_Online/legalbiz_online.xml":
			hb_pn="professional+legal+biz+online+home";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Legal_Marketing/marketing_intro.xml":
			hb_pn="professional+legal+biz+online+marketing";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Law_Library/library_intro.xml":
			hb_pn="professional+legal+biz+online+library";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Legal_Administration/administration_intro.xml":
			hb_pn="professional+legal+biz+online+admin";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Practice_Management/management_intro.xml":
			hb_pn="professional+legal+biz+online+practice+mgmt";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Technology/technology_intro.xml":
			hb_pn="professional+legal+biz+online+technology";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/About_LegalBiz_Online/about_lbo.xml":
			hb_pn="professional+legal+biz+online+-+about";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Publish_in_LegalBiz_Online/submission_intro.xml":
			hb_pn="professional+legal+biz+online+-+publish";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/LegalBiz_Online/Contact_LegalBiz_Online/contact_lbo.xml":
			hb_pn="professional+legal+biz+online+-+contact";
			hb_mlc="/Professional/Legal+Biz+Content";
			break;
		case "/Professional_Resources/Meetings_and_conferences/meetings.xml":
			hb_pn="professional+meetings+and+conferences";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Continuing_Legal_Education/cle_intro.xml":
			hb_pn="professional+continuing+legal+educ";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Check_Conflicts_of_Interest/DCA.xml":
			hb_pn="professional+check+conflicts";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Small_Firm_Resources/smallfirm_intro.xml":
			hb_pn="professional+small+firm+resources";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Law_Schools/lawschools_index.xml":
			hb_pn="professional+law+schools";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Law_Schools/lawschools_alpha.xml":
			hb_pn="professional+law+school+index";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Bar_Associations/bar_assoc_intro.xml":
			hb_pn="professional+bar+assoc.";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Bar_Associations/International/bar_assoc_intnl_list.xml":
			hb_pn="professional+intl+bar+assoc";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Bar_Associations/State/bar_alpha.xml":
			hb_pn="professional+state+bar+index";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Professional_Associations/prof_assoc_intro.xml":
			hb_pn="professional+prof+assoc";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Law_Firm_Associations/lawfirm_assoc_intro.xml":
			hb_pn="professional+law+firm+assoc.";
			hb_mlc="/Professional";
			break;
		case "/Professional_Resources/Law_Digest/lawdigest_login.xml":
			hb_pn="professional+law+digest";
			hb_mlc="/Professional/Law+Digest+content";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doServices(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Services/Legal_network.xml":
			hb_pn="services";
			hb_mlc="Services";
			break;
		case "/Services/mdale/mdale_com.xml":
			hb_pn="services+martindale.com";
			hb_mlc="Services";
			break;
		case "/Services/lawyers/lawyers_com.xml":
			hb_pn="services+lawyers.com";
			hb_mlc="Services";
			break;
		case "/Services/lawyers/lawyers_com_ban.xml":
			hb_pn="services+lawyers.com+banners";
			hb_mlc="Services";
			break;
		case "/Services/lawyers/lsbr.xml":
			hb_pn="services+lawyers.com+lsbr";
			hb_mlc="Services";
			break;
		case "/Services/Web_Services/web_services_intro.xml":
			hb_pn="services+web+services";
			hb_mlc="Services";
			break;
		case "/Services/lawyers/lawyers_com_lhp.xml":
			hb_pn="services+web+services+lhp";
			hb_mlc="Services";
			break;
		case "/Services/Web_Services/canada_lhp.xml":
			hb_pn="services+web+services+canadian+lhp";
			hb_mlc="Services";
			break;
		case "/Services/Web_Services/Intnl_lhp.xml":
			hb_pn="services+web+services+intl+lhp";
			hb_mlc="Services";
			break;
		case "/Services/Locator_UK/lluk.xml":
			hb_pn="services+lawyer+locator+uk";
			hb_mlc="Services";
			break;
		case "/Services/iadrd/iadrd.xml":
			hb_pn="services+intl+dispute+resol.";
			hb_mlc="Services";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	
	}
}
function doSiteInfo(){
	selfUrl=pathName.substring(pathName.indexOf("/Martindale")+11);
	switch(selfUrl)
	{
		case "/Site_Info/terms.xml":
			hb_pn="site+info+terms";
			hb_mlc="/Site+Info";
			break;
		case "/Site_Info/site_info_intro.xml":
			hb_pn="site+info+home";
			hb_mlc="/Site+Info";
			break;
		case "/Site_Info/site_map.xml":
			hb_pn="site+info+site+map";
			hb_mlc="/Site+Info";
			break;
		case "/Site_Info/advertising.xml":
			hb_pn="site+info+advertising";
			hb_mlc="/Site+Info";
			break;
		case "/Site_Info/alliances.xml":
			hb_pn="site+info+alliances";
			hb_mlc="/Site+Info";
			break;
		case "/Site_Info/links_intro.xml":
			hb_pn="site+info+links";
			hb_mlc="/Site+Info/links";
			break;
		case "http://www2.martindale.com/links/home.cfm":
			hb_pn="site+info+links+terms";
			hb_mlc="/Site+Info/links+terms";
			break;
		case "http://www2.martindale.com/links/linktous_mail.cfm":
			hb_pn="site+info+links+terms+confirm";
			hb_mlc="/Site+Info/links+terms+confirm";
			break;
		case "http://www2.martindale.com/links/contact.cfm":
			hb_pn="site+info+links+contact";
			hb_mlc="/Site+Info/links+contact";
			break;
		case "http://www2.martindale.com/links/contact_mail.cfm":
			hb_pn="site+info+links+contact+confirm";
			hb_mlc="/Site+Info/links+contact+confirm";
			break;
		default:
			hb_mlc=subSectionName;
			UrlArr=selfUrl.split("/");
			fileElement=UrlArr.length - 1;
			hb_pn=UrlArr[fileElement];
	}
}
function doTop10(){
	
	hb_mlc="top-10-law-firm-lists";	
					
	var UrlArr=pathName.split("/");
	var pnArr	=	UrlArr[UrlArr.length-1].split("."); //remove extension	
	hb_pn=pnArr[0];				
}
function doLawFirm(){
	
	hb_mlc="law_firm";	
					
	var UrlArr=pathName.split("/");
	var pnArr	=	UrlArr[UrlArr.length-1].split("."); //remove extension	
	if ((pnArr[0].split("-").length == 1)&&(pnArr[0] != "snapshot")){
		hb_pn=pnArr[0] + "-overview";
	}else if (pnArr[0] == "snapshot"){
		var args 			= location.search.substr(1).split("?");	
		var arParams		= args[0].split("&");
		var arVals			=	"";
		for(var i = 0; i < arParams.length; i++){
			arVals = arParams[i].split("=");
			if (arVals[0] == "lid"){
				hb_pn = arVals[1] + "-snapshot";
				break;
			}	
		}	
	}else{
		hb_pn=pnArr[0];		
	}		
}
function doOverview(flid){
	var str = hb_pn.split("-");
	if(str.length > 1){
		if(str[1] != "overview"){
			hb_mlc="law_firm";
			hb_pn = flid + "-overview";			
			hbe_func();
		}
	}else{
		hb_mlc="law_firm";
		hb_pn = flid + "-overview";
		hbe_func();
	}
}
//alert("hb_mlc= " + hb_mlc + "  hb_pn = " + hb_pn);
function hbe_func(){
	//get new values from dropdown for Advanced Search dynamic form
	_pn=replace_bad_chars(hb_pn);//page name(s)
	_mlc=replace_bad_chars(hb_mlc);	//multi-level content category
	//hbx.js,HBX1.5,COPYRIGHT 1997-2005 WEBSIDESTORY,INC. ALL RIGHTS RESERVED. U.S.PATENT No.6,393,479B1 & 6,766,370. INFO:http://websidestory.com/privacy
//alert("_pn = " + _pn);
var _vjs="HBX0150.01u";
var _dl=".exe,.zip,.wav,.wmv,.mp3,.mov,.mpg,.avi,.doc,.pdf,.xls,.ppt,.gz";
function _NA(a){return new Array(a?a:0)}function _NO(){return new Object()}
var _mn=_hbq="",_hbA=_NA(),_hud="undefined",_lv=_NO(),_ec=_if=_ll=_hec=_hfs=_hfc=_fvf=_ic=_pC=_fc=_pv=0,_hbi=new Image(),_hbin=_NA(),_pA=_NA();
_lv.id=_lv.pos=_lv.l="";_hbE=_D("hbE")?_hbE:"";_hbEC=_D("hbEC")?_hbEC:0;var _ex="expires=Wed, 1 Jan 2020 00:00:00 GMT",_lvm=150,_lidt="lid",_lpost="lpos";
function _D(v){return(typeof eval("window._"+v)!=_hud)?eval("window._"+v):""}function _DD(v){return(typeof v!=_hud)?1:0}
function _A(v,c){return escape((_D("lc")=="y"&&_DD(c))?_TL(v):v)}
function _B(){return 0}function _GP(){return location.protocol=="https:"?"https://":"http://"}
function _IC(a,b,c){return a.charAt(b)==c?1:0}function _II(a,b,c){return a.indexOf(b,c?c:0)}function _IL(a){return a!=_hud?a.length:0}
function _IF(a,b,c){return a.lastIndexOf(b,c?c:_IL(a))}function _IP(a,b){return a.split(b)}
function _IS(a,b,c){return b>_IL(a)?"":a.substring(b,c!=null?c:_IL(a))}
function _RP(a,b,c,d){d=_II(a,b);if(d>-1){a=_RP(_IS(a,0,d)+","+_IS(a,d+_IL(b),_IL(a)),b,c)}return a}
function _TL(a){return a.toLowerCase()}function _TS(a){return a.toString()}function _TV(){_hbSend()}function _SV(a,b,c){_hbSet(a,b,c)}
function _VS(a,b){eval("_"+a+"='"+b+"'")}
function _VC(a,b,c,d){b=_IP(a,",");for(c=0;c<_IL(b);c++){d=_IP(b[c],"|");_VS(d[0],(_D(d[0]))?_D(d[0]):d[1]?d[1]:"")}}
function _VL(a,b){for(a=0;a<_hbEC;a++){_pv=_hbE[a];if(_pv._N=="pv"){for(b in _pv){if(_EE(b)){_VS(b,_pv[b])}}}}
_VC("pn|PUT+PAGE+NAME+HERE,mlc|CONTENT+CATEGORY,elf|n,dlf|n,dft|n,pndef|title,ctdef|full,cp|null,hcn|")}_VL();
function _ER(a,b,c){_hbi.src=_GP()+_gn+"/HG?hc="+_mn+"&hb="+_A(_acct)+"&hec=1&vjs="+_vjs+"&vpc=ERR&ec=1&err="+((typeof a=="string")?_A(a+"-"+c):"Unknown")}
function _EE(a){return(a!="_N"&&a!="_C")?1:0}_EV(window,"error",_ER);
function _hbSend(c,a,i){a="";_hec++;for(i in _hbA)if(typeof _hbA[i]!="function")a+="&"+i+"="+_hbA[i];_Q(_hbq+"&hec="+_hec+a+_hbSendEV());_hbA=_NA()}
function _hbSet(a,b,c,d,e){d=_II(_hbq,"&"+a+"=");if(d>-1){e=_II(_hbq,"&",d+1);e=e>d?e:_IL(_hbq);if(a=="n"||a=="vcon"){_hbq=_IS(_hbq,0,d)+"&"+a+"="+b+
_IS(_hbq,e);_hec=-1;if(a=="n"){_pn=b}else{_mlc=b}}else{_hbq=_IS(_hbq,0,d)+_IS(_hbq,e)}}if((a!="n")&&(a!="vcon"))_hbA[a]=(c==0)?b:_A(b)}
function _hbRedirect(a,b,c,d,e,f,g){_SV("n",a);_SV("vcon",b);if(_DD(d)&&_IL(d)>0){d=_IC(d,0,"&")?_IS(d,1,_IL(d)):d;e=_IP(d,"&");for(f=0;f<_IL(e);
f++){g=_IP(e[f],"=");_SV(g[0],g[1])}}_TV();if(c!=""){_SV("hec",0);setTimeout("location.href='"+c+"'",500)}}
function _hbSendEV(a,b,c,d,e,f,x,i){a='',c='',e=_IL(_hbE);for(b=0;b<e;b++){c=_hbE[b];for(var d in c){if(_EE(d)&&c[d].match){x=c[d].match(/\[\]/g);
if(x!=null&&_IL(x)>c._C)c._C=_IL(x)}}for(d in c){if(_EE(d)&&c[d].match){x=c[d].match(/\[\]/g);x=(x==null)?0:_IL(x);for(i=x;i<c._C;i++)c[d]+="[]"}}}
for(b=0;b<e;b++){c=_hbE[b];for(f=b+1;f<e;f++){if(_hbE[f]!=null&&c._N==_hbE[f]._N){for(d in c){if(_EE(d)&&_hbE[f]!=null)c[d]+="[]"+_hbE[f][d];
_hbE[f][d]=""}}}for(d in c){if(_EE(d)&&c._N!=""&&c._N!="pv"){a+="&"+c._N+"."+d+"="+_RP(_A(c[d]),"%5B%5D",",")}}}_hbE=_NA();_hbEC=0;return a}
function _hbM(a,b,c,d){_SV('n',a);_SV('vcon',b);if(_IL(c)>0)_SV(c,d);_TV()}
function _hbPageView(p,m){_hec=-1;_hbM(p,m,"")}function _hbExitLink(n){_hbM(_pn,_mlc,"el",n)}function _hbDownload(n){_hbM(_pn,_mlc,"fn",n)}
function _hbVisitorSeg(n,p,m){_SV("n",p);_SV("vcon",m);_SV("seg",n,1);_TV()}function _hbCampaign(n,p,m){_hbM(p,m,"cmp",n)}
function _hbFunnel(n,p,m){_hbM(p,m,"fnl",n)}function _hbGoalPage(n,p,m){_hbM(p,m,"gp",n)}
function _hbLink(a,b,c){_SV("lid",a);if(_DD(b))_SV("lpos",b);_TV()}
function _LE(a,b,c,d,e,f,g,h,i,j,k,l){b="([0-9A-Za-z\\-]*\\.)",c=location.hostname,d=a.href,h='',i='';eval("__f=/"+b+"*"+b+"/");if(_DD(__f)){__f.exec(c);
j=(_DD(_elf))?_elf:"";if(j!="n"){if(_II(j,"!")>-1){h=_IS(j,0,_II(j,"!"));i=_IS(j,_II(j,"!")+1,_IL(j))}else{h=j}}k=0;if(_DD(_elf)&&_elf!="n"){
if(_IL(i)){l=_IP(i,",");for(g=0;g<_IL(l);g++)if(_II(d,l[g])>-1)return}if(_IL(h)){l=_IP(h,",");for(g=0;g<_IL(h);g++)if(_II(d,l[g])>-1)k=1}}
if(_II(a.hostname,RegExp.$2)<0||k){	e=_IL(d)-1;return _IC(d,e,'/')?_IS(d,0,e):d}}}
function _LD(a,b,c,d,e,f){b=a.pathname,d='',e='';b=_IS(b,_IF(b,"/")+1,_IL(b));c=(_DD(_dlf))?_dlf:"";if(c!="n"){if(_II(c,"!")>-1){d=","+
_IS(c,0,_II(c,"!"));e=","+_IS(c,_II(c,"!")+1,_IL(c))}else{d=","+c}}f=_II(b,"?");b=(f>-1)?_IS(b,0,f):b;if(_IF(b,".")>-1){f=_IS(b,_IF(b,"."),_IL(b));
if(_II(_dl+d,f)>-1&&_II(e,f)<0){var dl=b;if(_DD(_dft)){if(_dft=="y"&&a.name){dl=a.name}else if(_dft=="full"){dl=a.pathname}}return dl}}}
function _LP(a,b,c){for(c=0;c<_IL(a);c++){if(b==0){if(_IL(_lv.l)<_lvm)_LV(a[c]);else break}else if(b==1)_EV(a[c],'mousedown',_LT)}}
function _LV(a,b,c){b=_LN(a);c=b[0]+b[1];if(_IL(c)){_lv.id+=_A(b[0])+",";_lv.pos+=_A(b[1])+",";_lv.l+=c}}
function _LN(a,b,c,d){b=a.href;b+=a.name?a.name:"";c=_LVP(b,_lidt);d=_LVP(b,_lpost);return[c,d]}
function _LT(e){if((e.which&&e.which==1)||(e.button&&e.button==1)){var a=document.all?window.event.srcElement:this;for(var i=0;i<4;i++){if(a.tagName&&
_TL(a.tagName)!="a"&&_TL(a.tagName)!="area"){a=a.parentElement}}var b=_LN(a),c='',d='';a.lid=b[0];a.lpos=b[1];if(_D("lt")&&_lt!="manual"){if((a.tagName&&
_TL(a.tagName)=="area")){if(!_IL(a.lid)){if(a.parentNode){if(a.parentNode.name)a.lid=a.parentNode.name;else a.lid=a.parentNode.id}}if(!_IL(a.lpos))
a.lpos=a.coords}else{if(_IL(a.lid)<1)a.lid=_LS(a.text?a.text:a.innerText?a.innerText:"");if(!_IL(a.lid)||_II(_TL(a.lid),"<img")>-1)a.lid=_LI(a)}}
if(!_IL(a.lpos)&&_D("lt")=="auto_pos"&&a.tagName&&_TL(a.tagName)!="area"){c=document.links;for(d=0;d<_IL(c);d++){if(a==c[d]){a.lpos=d+1;break}}}
var _f=0,j='',k='',l=(a.protocol)?_TL(a.protocol):"";
if(l&&l!="mailto:"&&l!="javascript:"){j=_LE(a),k=_LD(a);if(_DD(k))a.fn=k;else if(_DD(j))a.el=j}
if(_D("lt")&&_IC(_lt,0,"n")!=1&&_DD(a.lid)&&_IL(a.lid)>0){_SV("lid",a.lid);if(_DD(a.lpos))_SV("lpos",a.lpos);_f=1}if(_DD(a.fn)){_SV("fn",a.fn);_f=2}
else if(_DD(a.el)){_SV("el",a.el);_f=1}if(_f>0){_TV()}}}
function _LVP(a,b,c,d,e){c=_II(a,"&"+b+"=");c=c<0?_II(a,"?"+b+"="):c;if(c>-1){d=_II(a,'&',c+_IL(b)+2);e=_IS(a,c+_IL(b)+2,d>-1?d:_IL(a));
if(!_ec){if(!(_II(e,"//")==0))return e}else return e}return ""}
function _LI(a){var b=""+a.innerHTML,bu=_TL(b),i=_II(bu,"<img");if(bu&&i>-1){eval("__f=/ src\s*=\s*['\"]?([^'\" ]+)['\"]?/i");__f.exec(b);
if(RegExp.$1)b=RegExp.$1}return b}
function _LSP(a,b,c,d){d=_IP(a,b);return d.join(c)}
function _LS(a,b,c,d,e,f,g){c=_D("lim")?_lim:100;b=(_IL(a)>c)?_A(_IS(a,0,c)):_A(a);b=_LSP(b,"%0A","%20");b=_LSP(b,"%0D","%20");b=_LSP(b,"%09","%20");
c=_IP(b,"%20");d=_NA();e=0;for(f=0;f<_IL(c);f++){g=_RP(c[f],"%20","");if(_IL(g)>0){d[e++]=g}}b=d.join("%20");return unescape(b)}
function _EM(a,b,c,d){a=_D("fv");b=_II(a,";"),c=parseInt(a);d=3;if(_TL(a)=="n"){d=999;_fv=""}else if(b>-1){d=_IS(a,0,b);_fv=_IS(a,b+1,_IL(a))}
else if(c>0){d=c;_fv=""}return d}
function _FF(e){var a=(_bnN)?this:_EVO(e);_hlf=(a.lf)?a.lf:""}
function _FU(e){if(_hfs==0&&_IL(_hlf)>0&&_fa==1){_hfs=1;if(_hfc){_SV("sf","1")}else if(_IL(_hlf)>0){_SV("lf",_hlf)}_TV();_hlf="",_hfs=0,_hfc=0}}
function _FO(e){var a=true;if(_DD(this._FS))eval("try{a=this._FS()}catch(e){}");if(a!=false)_hfc=1;return a}
function _FA(a,b,c,d,e,f,g,h,i,ff,fv,s){b=a.forms;ff=new Object();f=_EM();for(c=0;c<_IL(b);c++){ff=b[c],d=0,s=0,e=ff.elements,fv=eval(_D("fv"));
if(_DD(fv)&&_TL(_TS(fv))!="n"&&fv!=""&&typeof fv=="function"){_fv=new Function("if("+_fv+"()){_fvf=0;_hfc=1}");_EV(ff,"submit",_fv),_fvf=1,_fa=1}
g=ff.name?ff.name:"forms["+c+"]";for(h=0;h<_IL(e);h++){if(e[h].type&&"hiddenbuttonsubmitimagereset".indexOf(e[h].type)<0&&d++>=f)break}if(d>=f){_fa=1;
for(h=0;h<_IL(e);h++){i=e[h];if(i.type&&"hiddenbuttonsubmitimagereset".indexOf(i.type)<0){i.lf=g+".";i.lf+=(i.name&&i.name!="")?i.name:"elements["+h+"]";
_EV(i,"focus",_FF)}}ff._FS=null;ff._FS=ff.onsubmit;if(_DD(ff._FS)&&ff._FS!=null){ff.onsubmit=_FO}else if(!(_bnN&&_bv<5)&&_hM&&!(_bnI&&!_I5)){if((!_bnI)||
(_II(navigator.userAgent,"Opera")>-1)){ff.onsubmit=_FO}else{_EV(ff,"submit",_FO);
eval("try{document.forms["+c+"]._FS=document.forms["+c+"].submit;document.forms["+c+"].submit=_FO;throw ''}catch(E){}")}}}}}
function _GR(a,b,c,d){if(!_D("hrf"))return a;if(_II(_hrf,"http",0)>-1)return _hrf;b=window.location.search;b=_IL(b)>1?_IS(b,1,_IL(b)):"";
c=_II(b,_hrf+"=");if(c>-1){ d=_II(b,"&",c+1);d=d>c?d:_IL(b);b=_IS(b,c+_IL(_hrf)+1,d)}return(b!=_hud&&_IL(b)>0)?b:a}
function _PO(a,b,c,d,e,f,g){d=location,e=d.pathname,f=_IS(e,_IF(e,"/")+1),g=document.title;if(a&&b==c){return(_pndef=="title"&&g!=""&&g!=d&&
!(_bnN&&_II(g,"http")>0))?g:f?f:_pndef}else{return b==c?(e==""||e=="/")?"/":_IS(e,(_ctdef!="full")?_IF(e,"/",_IF(e,"/")-2):_II(e,"/"),_IF(e,"/"))
:(b=="/")?b:((_II(b,"/")?"/":"")+(_IF(b,"/")==_IL(b)-1?_IS(b,0,_IL(b)-1):b))}}
function _PP(a,b,c,d){return ""+(c>-1?_PO(b,_IS(a,0,c),d)+";"+_PP(_IS(a,c+1),b,_II(_IS(a,c+1),";")):_PO(b,a,d))}
_mlc=_PP(_mlc,0,_II( _mlc,";"),"CONTENT+CATEGORY");_pn=_PP(_pn,1,_II(_pn,";"),"PUT+PAGE+NAME+HERE");
function _NN(a){return _D(a)!="none"}if(_NN("lt")){_LP(document.links,0)}
function _E(a){var b="";var d=_IP(a,",");for(var c=0;c<_IL(d);c++)b+="&"+d[c]+"="+_A(_D(d[c]));return b}
function _F(a,b){return(!_II(a,"?"+b+"="))?0:_II(a,"&"+b+"=")}function _G(a,b,c,d){var e=_F(a,b);if(d&&e<0&&top&&window!=top){e=_F(_tls,b);
if(e>-1)a=_tls};return(e>-1)?_IS(a,e+2+_IL(b),(_II(a,"&",e+1)>-1)?_II(a,"&",e+1):_IL(a)):c}
function _H(a,b,c){if(!a)a=c;if(_I5||_N6){eval("try{_vv=_G(location.search,'"+a+"','"+b+"',1)}"+__c+"{}")}else{_vv=_G(location.search,a,b,1)}return unescape(_vv)}
function _I(a,b,c,d){__f=_IS(a,_II(a,"?"));if(b){if(_I5||_N6){eval("try{_hra=_G(__f,_hqsr,_hra,0)}"+__c+"{}")}else{_hra=_G(__f,_hqsr,_hra,0)}};
if(c&&!_hra){if(_I5||_N6){eval("try{_hra=_G(location.search,_hqsp,_hra,1)}"+__c+"{}")}else{_hra=_G(location.search,_hqsp,_hra,1)}};
if(d&&!_hra)_hra=d;return _hra}function _J(a,b,c,d){c=_II(a,"CP=");d=_II(a,b,c+3);return(c<0)?"null":_IS(a,c+3,(d<0)?_IL(a):d)}
var __r=".referrer",_rf=_A(eval("document"+__r)),_et=0,_oe=0,_we=0,_ar="",_hM=(!(_II(navigator.userAgent,"Mac")>-1)),_tls="";
_bv=parseInt(navigator.appVersion);_bv=(_bv>99)?(_bv/100):_bv;var __f,_hrat=_D("hra"),_hra="",__c="catch(_e)",_hbi=new Image(),_fa=0,_hlfs=0,_hoc=0,
_hlf='',_ce='',_ln='',_pl='',_bn=navigator.appName,_bn=(_II(_bn,"Microsoft")?_bn:"MSIE"),_bnN=(_bn=="Netscape"),_bnI=(_bn=="MSIE"),
_hck="*; path=/; "+(_D("cpd")&&_D("cpd")!=""?(" domain=."+_D("cpd")+"; "):"")+_ex,_N6=(_bnN&&_bv>4),_I5=false,_ss="na",_sc="na",_sv=11,_cy="u",_hp="u",
_tp=_D("ptc");if(_bn=="MSIE"){var _nua=navigator.userAgent,_is=_II(_nua,_bn),_if=_II(_nua,".",_is);if(_if>_is)_I5=_nua.substring(_is+5,_if)>=5}
if(_N6||_I5)eval("try{_tls=top.location.search}catch(_e){}")
function _PV(){_dcmpe=_H(_D("dcmpe"),_D("dcmpe"),"DCMPE");_dcmpre=_H(_D("dcmpre"),_D("dcmpre"),"DCMPRE");_vv="";_cmp=_H(_D("cmpn"),_D("cmp"),"CMP");
_gp=_H(_D("gpn"),_D("gp"),"GP");_dcmp=_H(_D("dcmpn"),_D("dcmp"),"DCMP");if(_II(_cmp,"SFS-")>-1){document.cookie="HBCMP="+_cmp+"; path=/;"+
(_D("cpd")&&_D("cpd")!=""?(" domain=."+_D("cpd")+"; "):"")+_ex}if(_bnI&&_bv>3)_ln=navigator.userLanguage;
if(_bnN){if(_bv>3)_ln=navigator.language;if(_bv>2)for(var i=0;i<_IL(navigator.plugins);i++)_pl+=navigator.plugins[i].name+":"};_cp=_D("cp");
if(location.search&&_TL(_cp)=="null")_cp=_J(location.search,"&");if(_II(document.cookie,"CP=")>-1){
_ce="y";_hd=_J(document.cookie,"*");if(_TL(_hd)!="null"&&_cp=="null"){_cp=_hd}else{document.cookie="CP="+_cp+_hck}}else{document.cookie="CP="+_cp+_hck;
_ce=(_II(document.cookie,"CP=")>-1)?"y":"n"};if(window.screen){_sv=12;_ss=screen.width+"*"+screen.height;_sc=_bnI?screen.colorDepth:screen.pixelDepth;
if(_sc==_hud)_sc="na"};_ra=_NA();if(_ra.toSource||(_bnI&&_ra.shift))_sv=13;if(_I5&&_hM){if(_II(""+navigator.appMinorVersion,"Privacy")>-1)_ce="p";
if(document.body&&document.body.addBehavior){document.body.addBehavior("#default#homePage");_hp=document.body.isHomePage(location.href)?"y":"n";
document.body.addBehavior("#default#clientCaps");_cy=document.body.connectionType}};var _hcc=(_DD(_hcn))?_D("hcv"):"";if(!_D("gn"))_gn="ehg.hitbox.com";
if(_D("ct")&&!_D("mlc"))_mlc=_ct;_ar=_GP()+_gn+"/HG?hc="+_mn+"&hb="+_A(_acct)+"&cd=1&hv=6&n="+_A(_pn,1)+"&con=&vcon="+_A(_mlc,1)+"&tt="+_D("lt")+
"&ja="+(navigator.javaEnabled()?"y":"n")+"&dt="+(new Date()).getHours()+"&zo="+(new Date()).getTimezoneOffset()+"&lm="+Date.parse(document.lastModified)
+(_tp?("&pt="+_tp):"")+_E((_bnN?"bn,":"")+"ce,ss,sc,sv,cy,hp,ln,vpc,vjs,hec,pec,cmp,gp,dcmp,dcmpe,dcmpre,cp,fnl")+"&seg="+_D("seg")+"&epg="+_D("epg")+
"&cv="+_A(_hcc)+"&gn="+_A(_D("hcn"))+"&ld="+_A(_D("hlt"))+"&la="+_A(_D("hla"))+"&c1="+_A(_D("hc1"))+"&c2="+_A(_D("hc2"))+"&c3="+_A(_D("hc3"))+"&c4="+
_A(_D("hc4"))+"&customerid="+_A(_D("ci")?_ci:_D("cid"))+"&lv.id="+_lv.id+"&lv.pos="+_lv.pos+"&ttt="+_lidt+","+_lpost;
if(_I5||_N6){eval("try{_rf=_A(top.document"+__r+")+''}"+__c+"{_rf=_A(document"+__r+")+''}")}
else{if(top.document&&_IL(parent.frames)>1){_rf=_A(eval("document"+__r))+""}else if(top.document){_rf=_A(eval("top.document"+__r))+""}}if((_rf==_hud)||
(_rf==""))_rf="bookmark";_rf=unescape(_rf);_rf=_GR(_rf);_hra=_I(_rf,_D("hqsr"),_D("hqsp"),_hrat);_ar+="&ra="+_A(_hra)+"&rf="+_A(_IS(_rf,0,500))+
"&pl="+_A(_pl)+_hbSendEV();if(_D("onlyMedia")!="y")_hbi.src=_ar+"&hid="+Math.random();_hbq=_IS(_ar,0,_II(_ar,"&hec"));_hbE=_NA()}_PV();
function _Q(a){var b="";b=new Image();b.src=a+"&hid="+Math.random()}
function __X(a){if(_ec==0){_ec=1;a=document;if(_NN("lt")||_NN("dlf")||_NN("elf")){_LP(a.links,1)}if(_NN("fv"))_FA(a)}}
function _EV(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else if(a.attachEvent){a.attachEvent("on"+b,c)}}
function _EVO(e){return document.all?window.event.srcElement:this} 
_EV(window,"load",__X);_EV(window,"unload",_FU);eval('setTimeout("__X()",3000)');
}
