function contactRemoveAll() {
	document.getElementById("contactMainContent").style.display = "none";
	
	// document.getElementById("contentMumbai").style.display = "none";
	// document.getElementById("contentWashington").style.display = "none";
	// document.getElementById("contentNewyork").style.display = "none";
	
	document.getElementById("contentWestport").style.display = "none";
	document.getElementById("contentLosangeles").style.display = "none";
	document.getElementById("contentMilano").style.display = "none";
	document.getElementById("contentParis").style.display = "none";
}

var gCityActive

function swapContact(city) {
	var thisCityId = "content" + city;
	var thisContent = document.getElementById(thisCityId);
	gCityActive = city;
	
	contactRemoveAll();
	
	thisContent.style.display = "block";
	if (city == "Westport") {
		document.getElementById("contactNavLosangeles").style.background = "url(./img/contact_nav_all.jpg) -207px 0 no-repeat";
		document.getElementById("contactNavMilano").style.background     = "url(./img/contact_nav_all.jpg) -414px 0 no-repeat";
		document.getElementById("contactNavParis").style.background      = "url(./img/contact_nav_all.jpg) -621px 0 no-repeat";
	}
	if (city == "Losangeles") {
		document.getElementById("contactNavWestport").style.background = "url(./img/contact_nav_all.jpg) 0 0 no-repeat";
		document.getElementById("contactNavMilano").style.background = "url(./img/contact_nav_all.jpg) -414px 0 no-repeat";
		document.getElementById("contactNavParis").style.background      = "url(./img/contact_nav_all.jpg) -621px 0 no-repeat";
	}
	if (city == "Milano") {
		document.getElementById("contactNavWestport").style.background = "url(./img/contact_nav_all.jpg) 0 0 no-repeat";
		document.getElementById("contactNavLosangeles").style.background = "url(./img/contact_nav_all.jpg) -207px 0 no-repeat";
		document.getElementById("contactNavParis").style.background      = "url(./img/contact_nav_all.jpg) -621px 0 no-repeat";
	}
	if (city == "Paris") {
		document.getElementById("contactNavWestport").style.background = "url(./img/contact_nav_all.jpg) 0 0 no-repeat";
		document.getElementById("contactNavLosangeles").style.background = "url(./img/contact_nav_all.jpg) -207px 0 no-repeat";
		document.getElementById("contactNavMilano").style.background      = "url(./img/contact_nav_all.jpg) -414px 0 no-repeat";
	}
	
}



function hoverOn(city) {
	if (city == "Westport" && gCityActive != "Westport") {
		document.getElementById("contactNavWestport").style.background = "url(./img/contact_nav_all.jpg) 0 -181px no-repeat";
	}
	if (city == "Losangeles" && gCityActive != "Losangeles") {
		document.getElementById("contactNavLosangeles").style.background = "url(./img/contact_nav_all.jpg) -207px -181px no-repeat";
	}
	if (city == "Milano" && gCityActive != "Milano") {
		document.getElementById("contactNavMilano").style.background = "url(./img/contact_nav_all.jpg) -414px -181px no-repeat";
	}
	if (city == "Paris" && gCityActive != "Paris") {
		document.getElementById("contactNavParis").style.background = "url(./img/contact_nav_all.jpg) -621px -181px no-repeat";
	}

}

function hoverOff(city) {
	/*
	if (city == "Newyork" && gCityActive != "Newyork") {
		document.getElementById("contactNavNewyork").style.background = "url(./img/contact_nav_all.jpg) 0 0 no-repeat";
	}
	*/
	if (city == "Westport" && gCityActive != "Westport") {
		document.getElementById("contactNavWestport").style.background = "url(./img/contact_nav_all.jpg) 0 0 no-repeat";
	}
	if (city == "Losangeles" && gCityActive != "Losangeles") {
		document.getElementById("contactNavLosangeles").style.background = "url(./img/contact_nav_all.jpg) -207px 0 no-repeat";
	}
	if (city == "Milano" && gCityActive != "Milano") {
			document.getElementById("contactNavMilano").style.background = "url(./img/contact_nav_all.jpg) -414px 0 no-repeat";
	}
	if (city == "Paris" && gCityActive != "Paris") {
		document.getElementById("contactNavParis").style.background = "url(./img/contact_nav_all.jpg) -621px 0 no-repeat";
	}

}




function teamReset() {
	document.getElementById("audreyPeters").style.display = "none";
	document.getElementById("bruceCrager").style.display = "none";
	document.getElementById("williamButler").style.display = "none";
	document.getElementById("edwardLawson").style.display = "none";
	document.getElementById("julianHenkin").style.display = "none";
//	document.getElementById("krishKrishnan").style.display = "none";
	document.getElementById("murdochGillespie").style.display = "none";
	document.getElementById("rositaHampton").style.display = "none";
	document.getElementById("tobyRowland").style.display = "none";
}

function teamRemoveAll() {
	document.getElementById("audreyPeters").style.display = "none";
	document.getElementById("bruceCrager").style.display = "none";
	document.getElementById("davidDunlap").style.display = "none";
	document.getElementById("williamButler").style.display = "none";
	document.getElementById("edwardLawson").style.display = "none";
	document.getElementById("julianHenkin").style.display = "none";
//	document.getElementById("krishKrishnan").style.display = "none";
	document.getElementById("murdochGillespie").style.display = "none";
	document.getElementById("rositaHampton").style.display = "none";
	document.getElementById("tobyRowland").style.display = "none";
}

function removeUnderline() {
	document.getElementById("teamNavAudrey").style.textDecoration = "none";
	document.getElementById("teamNavBruce").style.textDecoration = "none";
	document.getElementById("teamNavDavid").style.textDecoration = "none";
	document.getElementById("teamNavWilliam").style.textDecoration = "none";
	document.getElementById("teamNavEdward").style.textDecoration = "none";
	document.getElementById("teamNavJulian").style.textDecoration = "none";
//	document.getElementById("teamNavKrish").style.textDecoration = "none";
	document.getElementById("teamNavMurdoch").style.textDecoration = "none";
	document.getElementById("teamNavRosita").style.textDecoration = "none";
	document.getElementById("teamNavToby").style.textDecoration = "none";
}

function swapBio(teamMember) {
	var thisContent = document.getElementById(teamMember);
	
	teamRemoveAll();
	
	thisContent.style.display = "block";
}