// JavaScript Document

function findDiv() {
  var allDivs = document.getElementsByTagName("div"); 
 plain();
  
  function changeColor() {
  	for (i=0; i < allDivs.length; i++) {
	  if (allDivs[i].id != "wrap") {
  		document.getElementById(allDivs[i].id).style.background = "rgb(0%, 0%, 0%)";
		 if ((allDivs[i].id != "frontcambuttons") && (allDivs[i].id != "sidecambuttons") && (allDivs[i].id != "poolcambuttons") && (allDivs[i].id != "map_canvas") && (allDivs[i].id != "timeblockbuttons") && (allDivs[i].id != "controlbuttons") ) {
			document.getElementById(allDivs[i].id).style.borderStyle = "solid";
			document.getElementById(allDivs[i].id).style.borderWidth = "5px";
  			document.getElementById(allDivs[i].id).style.borderColor = "rgb(0%, 0%, 0%)";
		}
	  }
  	 }
     if (document.getElementById("frontcam")) { document.getElementById("frontcam").style.margin = "10px 5px 0px 0px" }
	 if (document.getElementById("poolcam")) { document.getElementById("poolcam").style.margin = "10px 0px 0px 5px" }
	 if (document.getElementById("anderscam1")) { document.getElementById("anderscam1").style.margin = "10px 5px 0px 0px" }
	 if (document.getElementById("anderscam2")) { document.getElementById("anderscam2").style.margin = "10px 0px 0px 5px" }
   }
   
   function plain() {
     document.body.style.backgroundColor = "rgb(0%, 0%, 0%)";
	 for (i=0; i < allDivs.length; i++) {
	 document.getElementById(allDivs[i].id).style.color = "rgb(70%, 80%, 70%)";
	 }
   }
}
