function closeWindow() {
window.close();}

/* Copyright 1997-2004 Omniture, Inc. */

/* s.pageName="" */

/*s.prop1="<SW_ISSUE>"*/

s.prop5=document.title

s.channel="news"

s.campaign=""

s.events="event5"

s.products=""

if (myPage==undefined) {var myPage="";}

var url=location.href;



/*Begin prop1 (Issue in SW)*/

if (url.indexOf("/nurses") != -1) {s.prop1="Favorite Nurse entry"; s.channel="Favorite Nurse";

if (url.indexOf("/nurses/rule") != -1) {s.prop1="Favorite Nurse rules";}}



if (url.indexOf("aspe") != -1) {s.prop1="Aspen Hill";}



if (url.indexOf("rock") != -1) {s.prop1="Rockville";}



if (url.indexOf("mont") != -1 && url.indexOf("/montgomery/") == -1) {s.prop1="Montgomery village";}



if (url.indexOf("gait") != -1) {s.prop1="Gaithersburg";}



if (url.indexOf("bowi") != -1) {s.prop1="Bowie";}



if (url.indexOf("beth") != -1) {s.prop1="Bethesda";}



if (url.indexOf("chev") != -1) {s.prop1="Chevy Chase";}



if (url.indexOf("kens") != -1) {s.prop1="Kensington";}



if (url.indexOf("fred") != -1 && url.indexOf("frederickcounty") == -1) {s.prop1="Frederick";}



if (url.indexOf("germ") != -1) {s.prop1="Germantown";}



if (url.indexOf("pool") != -1) {s.prop1="Poolesville";}



if (url.indexOf("silv") != -1) {s.prop1="Silver Spring";}



if (url.indexOf("tako") != -1) {s.prop1="Takoma Park";}



if (url.indexOf("whea") != -1) {s.prop1="Wheaton";}



if (url.indexOf("dama") != -1) {s.prop1="Damascus";}



if (url.indexOf("olne") != -1) {s.prop1="Olney";}



if (url.indexOf("moun") != -1) {s.prop1="Mount Airy";}



if (url.indexOf("walk") != -1) {s.prop1="Walkersville";}



if (url.indexOf("thur") != -1) {s.prop1="Thurmont";}



if (url.indexOf("midd") != -1) {s.prop1="Middletown";}



if (url.indexOf("brun") != -1) {s.prop1="Brunswick";}



if (url.indexOf("burt") != -1) {s.prop1="Burtonsville";}



if (url.indexOf("poto") != -1) {s.prop1="Potomac";}



if (url.indexOf("laur") != -1) {s.prop1="Laurel";}



if (url.indexOf("coll") != -1) {s.prop1="College Park";}



if (url.indexOf("gree") != -1) {s.prop1="Greenbelt";}



if (url.indexOf("hyat") != -1) {s.prop1="Hyattsville";}



if (url.indexOf("port") != -1) {s.prop1="Port Towns";}



if (url.indexOf("syke") != -1) {s.prop1="Sykesville";}



if (url.indexOf("elde") != -1) {s.prop1="Eldersburg";}



if (url.indexOf("newc") != -1) {s.prop1="New Carrollton";}



if (url.indexOf("land") != -1) {s.prop1="Landover";}



if (url.indexOf("clin") != -1) {s.prop1="Clinton";}



if (url.indexOf("uppe") != -1) {s.prop1="Upper Marlboro";}



if (url.indexOf("fort") != -1) {s.prop1="Fort Washington";}



if (url.indexOf("newm") != -1) {s.prop1="New Market";}



if (url.indexOf("urba") != -1) {s.prop1="Urbana";}



if (url.indexOf("larg") != -1) {s.prop1="Largo";}



if (url.indexOf("lanh") != -1) {s.prop1="Lanham";}



if (url.indexOf("carroll") != -1) {s.prop1="Carroll County";}



if (url.indexOf("prince") != -1) {s.prop1="Prince George's County";}



if (url.indexOf("frederickcounty") != -1) {s.prop1="Frederick County";}



if (url.indexOf("montgomery/") != -1) {s.prop1="Montgomery County";}



if (url.indexOf("poli") != -1) {s.prop1="Politics";}

if (url.indexOf("brea") != -1) {s.prop1="Breaking News";}



if (url.indexOf("home") != -1) {s.prop1="Homes";}

/*End prop1 (Issue in SW)*/



/*Begin channel (Story Type in SW)*/

if (url.indexOf("spo") != -1) {s.channel="Sports";}



if (url.indexOf("cal") != -1) {s.channel="Calendar";}


if (url.indexOf("ent") != -1) {s.channel="Entertainment";}



if (url.indexOf("bus") != -1) {s.channel="Business";}



if (url.indexOf("sch") != -1) {s.channel="Schools";}



if (url.indexOf("pol") != -1 && url.indexOf("poli") == -1) {s.channel="Police";}



if (url.indexOf("edi") != -1) {s.channel="Editorials";}



if (url.indexOf("col") != -1) {s.channel="Columns";}



if (url.indexOf("lee") != -1) {s.channel="Lee";}



if (url.indexOf("let") != -1) {s.channel="Letters";}



if (url.indexOf("ras") != -1) {s.channel="Rascovar";}



if (url.indexOf("rep") != -1) {s.channel="Reporter";}



if (url.indexOf("car") != -1) {s.channel="Cartoon";}



if (url.indexOf("busidat") != -1) {s.channel="Business Data";}



if (url.indexOf("flo") != -1) {s.channel="Frederick County";}



if (url.indexOf("mlo") != -1) {s.channel="Montgomery County";}



if (url.indexOf("plo") != -1) {s.channel="Prince George's County";}



if (url.indexOf("clo") != -1) {s.channel="Carroll County";}

if (url.indexOf("calendar.gazette.net") != -1) {s.channel="Calendar";}

//FOR PAGES THAT HAVE MYPAGE VARIABLE, WHICH IS MORE RELIABLE THAN USING THE URL. OLD PAGES DON'T HAVE IT SO WE TEST FOR IT FIRST*********************************************

if (typeof(window['myPage']) != "undefined") {

if (myPage=="teacherpages") {

	var teachurl=url.split("/teacher");

	var teachtown="";

	if (teachurl[1] && teachurl[1]!="/") {var teachurl2=teachurl[1].split("/"); teachtown="Teacher/"+teachurl2[1];}

	var teachname="";

	if (teachtown=="Teacher/" || teachtown=="" || teachtown=="Teacher/index.shtml") {teachtown="Teacher Home Page";}

	if (teachtown!="Teacher Home Page") {var teachurl3=teachurl2[2].split("."); teachname=teachurl3[0];}

	if (teachname=="index"){teachname="";}

	s.channel="My Favorite Teacher"; s.prop1=teachtown; s.prop2=teachname;}

	if (myPage.indexOf("couponpage")!= -1) {s.channel="Coupons"
	if (myPage.indexOf("couponpage--")!= -1) {var tempprop1=myPage.split("--"); s.prop1=tempprop1[1];}
	}
	
	if (myPage.toLowerCase().indexOf("neighborhood") != -1) {s.channel="Neighborhoods"; if (typeof(window['mainNeighborhood']) != "undefined") {s.prop1=mainNeighborhood;}}
	
	if (myPage=="MLS") {s.channel="MLS"; if (s.getQueryParam('COUNTY')) {s.prop1="MLS_" + s.getQueryParam('COUNTY');} else {if (url.indexOf("header_") != -1) {var whatCounty1=url.split("header_"); var whatCounty2=whatCounty1[1].split("."); s.prop1="MLS_" + whatCounty2[0];}} if (s.prop1=="MLS_") {s.prop1="MLS";}}

}

	//alert (s.channel);

/*End channel (Story Type in SW)*/



/* s.eVar1="" */

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/

var s_code=s.t();if(s_code)document.write(s_code)

