var host = window.location.hostname; var qs = window.location.search; var sections = window.location.pathname.split("/"); var nao_server = ""; var nao_tail = ""; var mcc_tail = ""; var third_party = 0; if (sections[1].match(/^(sun|mon|tues|wednes|thurs|fri|satur)day$/)) {sections.splice(1,1);} // Begin PHP-Selected Variable inclusion: // End PHP-Selected Variable inclusion. if (third_party == 1) {override_prop6 = mcc_tail;var override_channel = nao_tail;var override_server = nao_server;} else { switch(override_channel){ case "digest": case "opinion": case "_front": case "front": case "_news": case "_features": case "edwards": case "_sports": case "business": case "preps": case "football": case "community": case "hurricanes": case "entertainment": case "_editorials": case "sports": case "coverage": case "chapelhill": case "_business": case "Stockcar racing": case "womens_basketball": case "legislature": case "ncpolitics": case "ncelections": case "unc": case "wup": case "duke": case "multimedia": case "news": case "Front": case "columnist": case "college": case "ourlives": case "schedule": case "Features": case "ncnews": case "technology": case "Election": case "nation": case "columnists": case "panthers": case "issues": case "wfu": case "Mens basketball": case "jackson": case "bloom": case "Business": case "Tours": case "traffic": case "outdoors": case "gell": case "hotlists": case "Nfl": case "communities": case "Galleries": case "sheehan": case "rogers": case "ncsports": case "storm": case "kinstonfire": case "holly": case "dining": case "letters": case "pros": case "olf": case "24hour": case "iraq_2004": case "saunders": case "acc_2004": case "previews": case "Mlb": case "cockshutt": case "nfl": case "science": case "phipps": case "stevens": case "nascar": case "Golf": case "decock": case "investigation": case "dome": case "other_sports": case "bookclub": case "arts": case "2003": case "world": case "isabel": case "opinions": case "triangle": case "ecu": case "iraq": case "snow": case "Game 4 FSU vs. N.C. State (7 p.m.)": case "/front": override_channel = 'MISCELLANEOUS - Obsolete Channel'; override_prop6 = 'NO|Other'; break; case "POLITICS": override_channel = 'MISCELLANEOUS - Politics'; override_prop6 = 'NO|NAO|News|Nation_World'; break; case "THINGS TO DO": override_channel = 'LIFESTYLES'; override_prop6 = 'NO|NAO|News'; break; case "NEWS - Triangle/NC News": override_channel = 'NEWS - Local & State'; override_prop6 = 'NO|NAO|News|Local'; } if (!override_prop6) {override_prop6 = "NO|Unknown";} } var default_pageName=''; var default_server=''; var default_channel=''; var default_pageType=''; var default_pageValue=''; var default_product=''; var default_URL=document.location.href; var href_array_local = document.location.href.split("/"); var fileandtag_local = href_array_local[href_array_local.length-1]; var tagstrip_local = fileandtag_local.split("\#"); var fileandquery_local = tagstrip_local[0]; var querystrip_local = fileandquery_local.split("\?"); var filename_local = querystrip_local[0]; if (filename_local == "" || filename_local == "index.html" || filename_local == "index.htm"){var override_prop9 = default_URL;} var default_version=''; var default_pagelevel=''; var default_content_source=''; var default_prop5=''; var default_prop6=''; var default_prop7=''; var default_prop8=''; var default_prop9=''; var default_prop10=''; var default_prop11=''; var default_dynamicAccountSelection=false; var default_dynamicAccountList='nmtracking,nmtesttest=docs.nandomedia'; var default_dynamicAccountMatch='docs.nandomedia'; var reserve_popular_stories=false; var popular_headline_min_length=20; var popular_root_url1=''; var popular_root_url2=''; var default_trackDownloadLinks=false; var default_linkDownloadFileTypes='aif,aiff,aifc,au,avi,dif,doc,dv,exe,mid,midi,mov,mpg,mp2,mp3,mpeg,mpv2,msg,pdf,ppt,pps,qtl,ra,ram,rm,rpm,rv,txt,vbe,wav,wm,wma,wmv,wvx,xls,zip'; var default_trackExternalLinks=false; var default_linkInternalFilters=""; var default_channels_by_server=false; var default_pages_by_channel=false; var default_pages_by_server=true; var prefix_spacer_prepage=' -- '; var prefix_spacer_prechannel=' | ';