/******************************************************************************
 * Product Page Effects
 *****************************************************************************/
function do_highlight(id,highlight) {
	idValue = id + '_' + highlight;
  element = document.getElementById(id);
  element.id = idValue;
  if (false) {
	  alert("show_highlight: " + idValue);
	}
}

function del_highlight(id,highlight) {
	idValue = id + '_' + highlight;
  element = document.getElementById(idValue);
  element.id = id;
  if (false) {
  	alert("remove_highlight: " + id );
	}
}

function swapMainImage(imageUrl) {
  document.mainImage.src = imageUrl;
}

/******************************************************************************
 * Menus
 *****************************************************************************/
function showSubMenu(id) {
  /* productsSubMenu = document.getElementById("product_sub_menu"); */
  subMenu = document.getElementById(id);
  subMenu.className = "sub_menu_visible";
  /* alert("showSubMenu: " + id); */
}

function hideSubMenu(id) {
  /* productsSubMenu = document.getElementById("product_sub_menu"); */
  subMenu = document.getElementById(id);
  subMenu.className = "sub_menu_hidden";
  /* alert("hideSubMenu: " + id); */
}