var objSlider = null;
var objMyImage = null;	

function init() {
		objSlider = new SlidingContent('objSlider','mydiv',50,50,25,100);
		objSlider.updateLayer();

		objMyImage = new OpacityObject('mydiv','back');
		objMyImage.setBackground();
}

function show(divname) { document.getElementById(divname).style.display = "inline"; } 
function hide(divname) { document.getElementById(divname).style.display = "none"; }
function showhide(a) {
		a=document.getElementById(a); 
		if (a.style.display=="inline")
		{
			a.style.display="none";
		} else
		{
		a.style.display="inline";
		}
}
function showdiv(a)
{ 
	var i=1;
	while (div = document.getElementById('f'+i))
		{
			div.style.display="none";
			i++;
		}
		a=document.getElementById(a); 
		if (a.style.display=="inline")
		{
			a.style.display="none";
		} else
		{
		a.style.display="inline";
		}
}
function admitere() {

var rows = document.getElementsByTagName('tr');
for (var i = 0; i < rows.length; i++) {
rows[i].onmouseover = function() {
this.className += ' hilite';
}
rows[i].onmouseout = function() {
this.className = this.className.replace('hilite', '');
}
}

}