function show(id)
{
  if (document.getElementById)
  {
    obj = document.getElementById(id);
    obj.style.display = "";
  }
}

function hide(id)
{
  if (document.getElementById)
  {
    obj = document.getElementById(id);
    obj.style.display = "none";
  }
}

function white(id)
{
  if (document.getElementById)
  {
    obj = document.getElementById(id);
    obj.style.color = "#ffffff";
    obj.style.backgroundColor = "#cc3300";
  }
}

function black(id)
{
  if (document.getElementById)
  {
    obj = document.getElementById(id);
    obj.style.color = "#666666";
    obj.style.backgroundColor = "#eeccaa";
  }
}

function grey(id)
{
  if (document.getElementById)
  {
  obj = document.getElementById(id);
  if (obj.style.backgroundColor == "")
    {
	obj.style.backgroundColor = "#fff";
	obj.style.border = "1px solid #999";
	obj.style.borderBottom = "none";
	obj.style.color = "#000";
	obj.style.width = "178px";
	obj.style.height = "19px";
    }
    else 
    {
	obj.style.backgroundColor = "";
	obj.style.border = "";
	obj.style.color = "#666";
	obj.style.width = "180px";
	obj.style.height = "20px";
    }
  }
}

function showhide(id)
{
  if (document.getElementById)
  {
  obj = document.getElementById(id);
  if (obj.style.display == "none")
    {
    obj.style.display = "";
    }
    else 
    {
    obj.style.display = "none";
    }
  }
}

function rock(id, sauce)
{
   document[id].src = sauce;
}

function spammy(email1, email2, email3, email4)
{
   emailE = email1 + email2 + '@' + email3 + email4;
   document.write('<a href="mailto:' + emailE + '">' + emailE + '</a>')
};
