function showFieldByObj(field, span)
{
	document.getElementById(field).style.display = span;
}

function showFieldById(field, span)
{
	document.getElementById(field.id).style.display = span;
}

function getElementId(element)
{
	return element.id
}

function drawBackgroundCanvas(color, easing_time)
{
	//alert(easing_time);
	document["flbackground"].drawBackgroundCanvas(color, easing_time);
}

function updateBack(easing_time)
{
	document["flbackground"].updateBack(easing_time);
}

function getFlashMovieObject(movieName)
{
	
  if (window.document[movieName]) 
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function changeValue(element, value)
{
	alert(String(element));
}
