// JavaScript Document
var globalVariable = "true";

function changeColor(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";
	element.style.cursor = "default";
	//return color = "rgb(0,0,0)";
}
//MAKE STATEMENT if click occurs, do not change color so stay black, like if onclick()==false
function changeBack(id){
	element = document.getElementById(id);
	element.style.color = "rgb(153,153,153)";
}
function changeColor2(id){
	element = document.getElementById(id);
	element.style.color = "rgb(153,153,153)";
	element.style.cursor = "pointer";	
}
function changeBack2(id){
	element = document.getElementById(id);
	element.style.color = "rgb(255,255,255)";
}	
/*function changeColor3(id){
	element = document.getElementById(id);
	element.style.color = "rgb(153,153,153)";
	element.style.cursor = "pointer";	
}
function changeBack3(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";
}	
function clickEvent(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";

	//subWork.style.display="none"; etc., make sure if one table is open, close everything and open the other one simultaneously
	/*if (id=="sideText")
	{
		//document.write("yay!")
		subOffice.style.display = 'block';
		//return true;
	}
	else if (id=="sideText2")
	{
		//document.write("nay!")
		subWork.style.display = 'block';
		//return true;
	}
}
function chosen(id){
	element = document.getElementById(id);
	element.style.cursor = "default";
	//return color = "rgb(0,0,0)";
}
function photoMarcus(id){
	element = document.getElementById(id);
	if(element=="proPhoto") {
    element.style.height = '100px';
    element.style.width = '200px';
	element.clientTop = '75';
	element.clientLeft = '600';
	}
	else if(element=="proPhoto2") {
    element.style.height = '100px';
    element.style.width = '200px';
	element.clientTop = '75';
	element.clientLeft = '600';
	}
}*/
function photoSetSwap(set){	
	if(set=="buttonSet1"){
	document.getElementById('photoSet1').style.display = 'none';
	document.getElementById('photoSet2').style.display = 'block';
	}
	else if(set=="buttonSet2"){
	document.getElementById('photoSet1').style.display = 'block';
	document.getElementById('photoSet2').style.display = 'none';
	}
}


function photoChangeHAMG(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG6_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG7_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG9_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG8_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG10_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Marcus Garvey/HAMG11_Large.jpg";
	}	
}
function photoChangeNSC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/New Spirit/NSC3_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/New Spirit/NSC7_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/New Spirit/NSC6_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/New Spirit/NSC1_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/New Spirit/NSC4_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/New Spirit/NSC2_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/New Spirit/NSC5_Large.jpg";
	}	
}
function photoChangeWCC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Williamsburg/WCC6_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Williamsburg/WCC7_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Williamsburg/WCC5_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Williamsburg/WCC4_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Williamsburg/WCC1_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Williamsburg/WCC2_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Williamsburg/WCC3_Large.jpg";
	}	
}
function photoChangeCHACC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Central Harlem/CHACC4_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Central Harlem/CHACC7_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Central Harlem/CHACC1_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Central Harlem/CHACC2_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Central Harlem/CHACC5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Central Harlem/CHACC3_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Central Harlem/CHACC6_Large.jpg";
	}	
}
function photoChangeDCEO(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/DeSimone/DCEO7_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/DeSimone/DCEO6_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/DeSimone/DCEO4_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/DeSimone/DCEO5_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/DeSimone/DCEO3_Large.jpg";
	}	
}
function photoChangeMPEG(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Motion Picture/MPEG1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Motion Picture/MPEG6_Large.jpg";	
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Motion Picture/MPEG4_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Motion Picture/MPEG7_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Motion Picture/MPEG5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Motion Picture/MPEG2_Large.jpg";
	}
	
	
}
function photoChangeHHH(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Heritage Health/HHH1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Heritage Health/HHH8_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Heritage Health/HHH9_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Heritage Health/HHH7_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Heritage Health/HHH2_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Heritage Health/HHH5_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Heritage Health/HHH3_Large.jpg";
	}	
	else if(id=="smallPhoto8"){
	document.largePhoto.src="Photos/Heritage Health/HHH11_Large.jpg";
	}
	else if(id=="smallPhoto9"){
	document.largePhoto.src="Photos/Heritage Health/HHH16_Large.jpg";
	}
	else if(id=="smallPhoto10"){
	document.largePhoto.src="Photos/Heritage Health/HHH12_Large.jpg";
	}
	else if(id=="smallPhoto11"){
	document.largePhoto.src="Photos/Heritage Health/HHH13_Large.jpg";	
	}
	else if(id=="smallPhoto12"){
	document.largePhoto.src="Photos/Heritage Health/HHH15_Large.jpg";
	}
	else if(id=="smallPhoto13"){
	document.largePhoto.src="Photos/Heritage Health/HHH14_Large.jpg";
	}
	else if(id=="smallPhoto14"){
	document.largePhoto.src="Photos/Heritage Health/HHH10_Large.jpg";
	}
}
function photoChangeISH(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Intergen/ISH2_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Intergen/ISH7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Intergen/ISH6_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Intergen/ISH5_Large.jpg";	
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Intergen/ISH1_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Intergen/ISH4_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Intergen/ISH3_Large.jpg";
	}	
}
function photoChangeTGH(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Three Generations/TGH2_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Three Generations/TGH4_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Three Generations/TGH1_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Three Generations/TGH7_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Three Generations/TGH5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Three Generations/TGH3_Large.jpg";
	}

}
function photoChangeHV(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/House Vermont/HV8_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/House Vermont/HV3_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/House Vermont/HV9_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/House Vermont/HV6_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/House Vermont/HV5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/House Vermont/HV1_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/House Vermont/HV10_Large.jpg";
	}	
}
function photoChangeHS(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Hybrid/HS6_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Hybrid/HS7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Hybrid/HS4_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Hybrid/HS3_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Hybrid/HS5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Hybrid/HS2_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Hybrid/HS1_Large.jpg";
	}	
}
function photoChangeJKCC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Jennie/JKCC4_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Jennie/JKCC3_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Jennie/JKCC1_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Jennie/JKCC2_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Jennie/JKCC5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Jennie/JKCC8_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Jennie/JKCC9_Large.jpg";
	}	
}
function photoChangeMLK(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/MLK/MLK1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/MLK/MLK7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/MLK/MLK3_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/MLK/MLK2_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/MLK/MLK4_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/MLK/MLK5_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/MLK/MLK6_Large.jpg";
	}	
}
function photoChangeNYTC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC5_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC1_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC2_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC3_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC4_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC6_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/NYT Capsule/NYTC7_Large.jpg";
	}	
}
function photoChangeLAHM(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM6_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM5_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM7_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM3_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM2_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Louis Armstrong/LAHM4_Large.jpg";
	}	
}
function photoChangeQMA(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Queens Museum/QMA6_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Queens Museum/QMA1_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Queens Museum/QMA2_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Queens Museum/QMA7_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Queens Museum/QMA5_Large.jpg";
	}

}
function photoChangeWKS(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Weeksville/WKS2_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Weeksville/WKS7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Weeksville/WKS4_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Weeksville/WKS5_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Weeksville/WKS3_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Weeksville/WKS6_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Weeksville/WKS1_Large.jpg";
	}	
}
function photoChangeSEAL(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Starr Library/SEAL1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Starr Library/SEAL7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Starr Library/SEAL4_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Starr Library/SEAL3_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Starr Library/SEAL2_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Starr Library/SEAL5_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Starr Library/SEAL6_Large.jpg";
	}	
}
function photoChangeGTP(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Greenport/GTP1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Greenport/GTP7_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Greenport/GTP6_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Greenport/GTP5_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Greenport/GTP2_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Greenport/GTP3_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Greenport/GTP4_Large.jpg";
	}	
}
function photoChangeQTiP(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/QTiP/QTiP1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/QTiP/QTiP8_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/QTiP/QTiP9_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/QTiP/QTiP20_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/QTiP/QTiP19_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/QTiP/QTiP10_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/QTiP/QTiP12_Large.jpg";
	}
	else if(id=="smallPhoto8"){
	document.largePhoto.src="Photos/QTiP/QTiP15_Large.jpg";
	}
	else if(id=="smallPhoto9"){
	document.largePhoto.src="Photos/QTiP/QTiP11_Large.jpg";
	}
	else if(id=="smallPhoto10"){
	document.largePhoto.src="Photos/QTiP/QTiP14_Large.jpg";
	}
	else if(id=="smallPhoto11"){
	document.largePhoto.src="Photos/QTiP/QTiP13_Large.jpg";
	}
	else if(id=="smallPhoto12"){
	document.largePhoto.src="Photos/QTiP/QTiP16_Large.jpg";
	}
	else if(id=="smallPhoto13"){
	document.largePhoto.src="Photos/QTiP/QTiP18_Large.jpg";
	}
	else if(id=="smallPhoto14"){
	document.largePhoto.src="Photos/QTiP/QTiP17_Large.jpg";
	}	
}
function photoChangeNYUP(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/NYU Plant/NYUP5_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/NYU Plant/NYUP1_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/NYU Plant/NYUP7_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/NYU Plant/NYUP4_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/NYU Plant/NYUP3_Large.jpg";
	}

}
function photoChangeBMCC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/BMCC/BMCC1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/BMCC/BMCC2_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/BMCC/BMCC9_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/BMCC/BMCC12_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/BMCC/BMCC11_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/BMCC/BMCC10_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/BMCC/BMCC8_Large.jpg";
	}	
}
function photoChangeGCC(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Grace/GCC1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Grace/GCC3_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Grace/GCC6_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Grace/GCC4_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Grace/GCC5_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Grace/GCC2_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Grace/GCC7_Large.jpg";
	}	
}
function photoChangeAT(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Apollo/AT1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Apollo/AT4_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Apollo/AT3_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Apollo/AT2_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Apollo/AT6_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Apollo/AT5_Large.jpg";
	}
	
}
function photoChangeCPH(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Cooper Houses/CPH7_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Cooper Houses/CPH6_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Cooper Houses/CPH1_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Cooper Houses/CPH4_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Cooper Houses/CPH3_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Cooper Houses/CPH5_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Cooper Houses/CPH2_Large.jpg";
	}	
}
function photoChangeLHG(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Lehman Houses/LHG1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Lehman Houses/LHG6_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Lehman Houses/LHG5_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Lehman Houses/LHG2_Large.jpg";
	}	
}
function photoChangeHHS(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Howard Haber/HHS2_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Howard Haber/HHS6_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Howard Haber/HHS1_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Howard Haber/HHS3_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Howard Haber/HHS4_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Howard Haber/HHS5_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Howard Haber/HHS7_Large.jpg";
	}	
}
function photoChangeOLB(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Olivebridge/OLB1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Olivebridge/OLB2_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Olivebridge/OLB3_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Olivebridge/OLB4_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Olivebridge/OLB7_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Olivebridge/OLB8_Large.jpg";
	}
	else if(id=="smallPhoto7"){
	document.largePhoto.src="Photos/Olivebridge/OLB5_Large.jpg";
	}	
}
function photoChangeSR(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Sutton/SR3_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Sutton/SR4_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Sutton/SR6_Large.jpg";
	}
	else if(id=="smallPhoto4"){
	document.largePhoto.src="Photos/Sutton/SR2_Large.jpg";
	}
	else if(id=="smallPhoto5"){
	document.largePhoto.src="Photos/Sutton/SR7_Large.jpg";
	}
	else if(id=="smallPhoto6"){
	document.largePhoto.src="Photos/Sutton/SR5_Large.jpg";
	}
}
function photoChangeTWH(id){
	if(id=="smallPhoto"){
	document.largePhoto.src="Photos/Taylor Wythe/TWH1_Large.jpg";
	}
	else if(id=="smallPhoto2"){
	document.largePhoto.src="Photos/Taylor Wythe/TWH2_Large.jpg";
	}
	else if(id=="smallPhoto3"){
	document.largePhoto.src="Photos/Taylor Wythe/TWH3_Large.jpg";
	}
}
/*need to swap all the text in order to reset it to original color and then make the correct one black
http://www.hotscripts.com/forums/javascript/25158-text-swap-script-anywhere.html*/


/*
function ChangeColor(elementclass)
{
  document.getElementByClass('sidetext').style.color = rgb(0,0,0);
}

function ChangeColorBack(elementid)
{
  document.getElementById(elementid).style.background = "Black";
  document.getElementById(elementid).style.color = "White";
}
function ChangeItemAEvent()
{
  document.getElementById("ItemA").onmouseover = function() {

    document.getElementById("ItemA").style.background = "Black";
  document.getElementById("ItemA").style.color = "White";

  };
}



function changeColor(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";
	element.style.cursor = "default";
}
function changeBack(id){
	element = document.getElementById(id);
	element.style.color = "rgb(153,153,153)";
}
function clickEvent(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";
	if (id=="sideText")
	{
		subOffice.style.display = "block";
	}
	else if (id=="sideText2")
	{
	}
	
}*/
/*
function bioChange(id){
	
	if(id=="nameText"){
	document.bioImage.src="Photos/LAHM.jpg";
	}
	else if(id=="nameText2"){
	document.bioImage.src="Photos/QTiP.jpg";	
	}
	else if(id=="nameText3"){
	document.bioImage.src="Photos/Marcus Garvey.jpg";
	}
}*/
function highlight(id){
	element = document.getElementById(id);
	element.style.color = "rgb(0,0,0)";
	
}
function swapBio(name1){
	highlight(name1);
	if(name1=="nameText"){
		document.bioImage.src="Photos/LAHM.jpg";
		document.getElementById('person1').style.display = 'block';
		document.getElementById('person2').style.display = 'none';
		document.getElementById('person3').style.display = 'none';		
	}
	else if(name1=="nameText2"){
		document.bioImage.src="Photos/QTiP.jpg";
		document.getElementById('person1').style.display = 'none';
		document.getElementById('person2').style.display = 'block';
		document.getElementById('person3').style.display = 'none';		
	}
	else if(name1=="nameText3"){
		document.bioImage.src="Photos/Marcus Garvey.jpg";
		document.getElementById('person1').style.display = 'none';
		document.getElementById('person2').style.display = 'none';
		document.getElementById('person3').style.display = 'block';		
	}
}	






function changeProject(id){
	if(id=="proText3"){
		document.getElementById('Marcus Garvey').style.display = 'block';
		document.getElementById('NSC').style.display = 'none';

	}
	else if(id=="proText6"){
		document.getElementById('Marcus Garvey').style.display = 'none';
		document.getElementById('NSC').style.display = 'block';
	}

	/*
	else if(name1=="nameText3"){
		document.getElementById(name1).style.display = 'none';
		document.getElementById(name2).style.display = 'none';
		document.getElementById(name3).style.display = 'block';
	}*/
}
function findProject(id){
	//if(document.getElementsByTagName){  
    var project = document.getElementById(id);     
    var rows = table.getElementsByTagName("tr");     
    for(i = 0; i < rows.length; i++){              
      if(rows[i].id == "Marcus"){  
	  rows[i].style.color="rgb(0,0,0"; 
	  rows[i].style.cursor = "default";
	  rows[i].onmouseout="chosen(id)";
      }else{ 
        rows[i].style.color="rgb(200,220,220"; ; 
      }      
    }  
 // }   
}

