// JavaScript Document 
// backgroundImage switch v 1.0mg
// 01.25.09

 <!--  
  function backgroundImage(image) {
	// easier to write this as a switch for the 12 images
	var tag=document.getElementById("masthead");
	// add changeColor function to change the font color on dark bkds - tbd
	var tag_a=document.getElementsByTagName("a");
	switch(image) {
	  case "blocks":
		tag.style.backgroundImage = "url('../options/mastheads/blocks.jpg')";
		tag.style.height = "248px";
		break
	  case "book_heart":
	  	tag.style.backgroundImage = "url('../options/mastheads/book_heart.jpg')";
		tag.style.height = "229px";
	    break
	  case "city_view":
	    tag.style.backgroundImage = "url('../options/mastheads/city_view.jpg')";
		tag.style.height = "219px";
		break
	  case "laptop_fishbowl":
	    tag.style.backgroundImage = "url('../options/mastheads/laptop_fishbowl.jpg')";
		tag.style.height = "250px";
		break
	  case "mountain_view":
	    tag.style.backgroundImage = "url('../options/mastheads/mountain_view.jpg')";
		tag.style.height = "175px";
		break
	  case "success":
	    tag.style.backgroundImage = "url('../options/mastheads/success.jpg')";
		tag.style.height = "288px";
		break
	  case "sunset":
	    tag.style.backgroundImage = "url('../options/mastheads/sunset.jpg')";
		tag.style.height = "166px";
		break
	  default:   
	}
  }
  // -->
