x = 20;
y = 70;

function setVisible(obj_item,hide)
{
	obj_item = document.getElementById(obj_item);
	//obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';

	if(obj_item.style.visibility == 'visible'){
		hideAll(hide);
	}
	else{
		hideAll(hide);
		obj_item.style.visibility = 'visible';

	}

}


function hideAll(hide){

	var i;
	var item = hide;
	arr_item = item.split(",");
    for (i in arr_item)
	{
		if (arr_item[i] != '') {
			obj = document.getElementById(arr_item[i]);
			obj.style.visibility = 'hidden';
		}
	}


}
/*
function placeIt(obj)
{
	obj = document.getElementById(obj);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft += x;
	theTop += y;

	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	setTimeout("placeIt('layer1')",500);
}
window.onscroll = setTimeout("placeIt('layer1')",500);
*/
