var colOver="#dddacc";
var colOut ="#fffaee";
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 mOver(id){
  if (!DHTML) return;
  var x = new getObj(id);
  x.style.background=colOver;
  return;
}
function mOut(id){
  if (!DHTML) return;
  var x = new getObj(id);
  x.style.background=colOut;
  return;
}
function invi(flag,id){
	if (!DHTML) return;
	var x = new getObj(id);
	x.style.visibility = (flag) ? 'hidden' : 'visible'
}
function newImage(imagename) {
   var newfile = imagename;
   newscreen=window.open(imagename,'photo','toolbar=no,location=no,directories=no,status=no,   screenX=100, screenY=30, left=100, top=30, scrollbars=no, resizable=no, copyhistory=no, width=600, height=450');
}




