NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
var bot, obj;

function nsshow ()
{	
    document.layers[obj].clip.bottom+=7;
    if (document.layers[obj].clip.bottom<bot)
	setTimeout ("nsshow()", 1);
}

function show(name) {
    if (NS4)
    {
	obj=name;
	bot=document.layers[name].clip.bottom;
	document.layers[name].clip.bottom=200;
	document.layers[name].visibility= "show";
	nsshow ();
    }
    else 
	document.all[name].style.visibility= "visible";
}

function hide (name) {
    if (NS4)
    {
     	document.layers[name].visibility="hide";
    }
    else
	document.all[name].style.visibility="hidden";
}

function hide_all (name) 
{
    if (name!='info')
	hide ('info');
    if (name!='services')
	hide ('services');
    if (name!='corporation')
	hide ('corporation');
    if (name!='faq')
	hide ('faq');
    if (name!='links')
	hide ('links');

    if (NS4)
    {
	if (document.layers[name].visibility=="show")
	    hide(name);
	else
	    show(name);
    }
    else
    {
	if (document.all[name].style.visibility=="visible")
	    hide(name);
	else
	    show(name);
    }
}

