// JavaScript Document 
// backgroundColor switch v1.0mg
// 01.25.09

 <!--  
  function backgroundColor(color) {
    /* if (color == "black") {
	  var tag=document.getElementById("home");
	  tag.style.backgroundColor = "#000000";
	  tag.style.backgroundImage = "none";
	} */
	// easier to write this as a switch for the 12 images
	var tag=document.getElementById("intro");
	// add changeColor function to change the font color on dark bkds - tbd
	var tag_a=document.getElementsByTagName("a");
	switch(color) {
	  case "black":
	    tag.style.backgroundColor = "#000000";
		tag.style.backgroundImage = "none";
		break
	  case "charcoal":
	    tag.style.backgroundColor = "#333333";
	    tag.style.backgroundImage = "none";
	    break
	  case "gray":
	    tag.style.backgroundColor = "#666666";
	    tag.style.backgroundImage = "none";
		break
	  case "ltgray":
	    tag.style.backgroundColor = "#cccccc";
		tag.style.backgroundImage = "none";
		break
	  case "white":
	    tag.style.backgroundColor = "#ffffff";
		tag.style.backgroundImage = "none";
		break
	  case "brown":
	    tag.style.backgroundColor = "#473e26";
		tag.style.backgroundImage = "none";
		break
	  case "navy":
	    tag.style.backgroundColor = "#00234c";
		tag.style.backgroundImage = "none";
		break
	  case "blue":
	    tag.style.backgroundColor = "#0154a2";
		tag.style.backgroundImage = "none";
		break
	  case "crimson":
	    tag.style.backgroundColor = "#990002";
		tag.style.backgroundImage = "none";
		break
	  case "green":
	    tag.style.backgroundColor = "#8ba122";
		tag.style.backgroundImage = "none";
		break
	  case "orange":
	    tag.style.backgroundColor = "#ff770b";
		tag.style.backgroundImage = "none";
		break
	  case "yellow":
	    tag.style.backgroundColor = "#f7cb10";
		tag.style.backgroundImage = "none"; 
	  default:   
	}
  }
  // -->
