﻿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 showevent(info){
	window.document.getElementById('events').innerHTML = info;
}

function toggleshow2(show, hide, o){
	var ie = navigator.userAgent.toLowerCase();
	ie = (ie.indexOf('msie') + 1);
	if((ie) && o == 'table-cell'){
		o = "block";
	}
		
	lb = new getObj(hide);
	cb = new getObj(show);
	cb.style.display = o;
	lb.style.display = "none";
}
function ovr(info){
	c = new getObj(info);
	c.style.overflow = "visible";
}
function ouut(info){
	c = new getObj(info);
	c.style.overflow = "hidden";
}
