dialog.js 860 Bytes
function divShow (id, num)
{		  
	if(bGlobals.browser=='IE')
		layers[num].style.visibility='visible';
	else if(bGlobals.browser=='NS')
		window.document.layers[num].visibility='visible';
	else
		document.getElementById(id).style.visibility='visible';
}

function divHide (id, num)
{
	if(bGlobals.browser=='IE')
		layers[num].style.visibility='hidden';
	else if(bGlobals.browser=='NS')
		window.document.layers[num].visibility='hidden';
	else
		document.getElementById(id).style.visibility='hidden';
}

function divSetWidth (id, _size)
{
	var size = (_size > 0) ? _size : bGlobals.innerWidth () + _size;
	var div = document.getElementById (id);
	div.style.width = size + 'px';
}

function divSetHeight (id, _size)
{
	var size = (_size > 0) ? _size : bGlobals.innerHeight () + _size;
	var div = document.getElementById (id);
	div.style.height = size + 'px';
}