/*Genetic Calculator result
(c) 2002-2003 Martin Rasek*/

addEvent(window, "load", init);

function init(){
	var el;
	el=document.getElementById("back");	
	if (el!=null)	{
		el.onmouseover = doHover;
		el.onmouseout = undoHover;
	}	
}

function doHover(){
	this.style.borderLeftWidth="2";
	this.style.borderRightWidth="2";
}

function undoHover(){
	this.style.borderLeftWidth="1";
	this.style.borderRightWidth="1";
}

/**************************************/

function addEvent(obj, eT, fn){
  if (obj.addEventListener){
    obj.addEventListener(eT, fn, true);
    return true;
  } else if (obj.attachEvent){
	var r = obj.attachEvent("on"+eT, fn);
    return r;
  } else {
	return false;
  }
}