function imgset(idname,imgname)
{
	document.getElementById(idname).src=imgname;
}

var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function invi(flag)
{
	if (!DHTML) return;
	var x = new getObj('text');
	x.style.visibility = (flag) ? 'hidden' : 'visible'
}

var texttop = 400;

function move(idname, amount)
{
	if (!DHTML) return;
	var x = new getObj(idname);
	texttop += amount;
	x.style.top = texttop;
}


function changeColor(idname, col)
{
	if (!DHTML) return;
	var x = new getObj(idname);
	x.style.color = col;
}
