function ns_object(obj)
{
		this.style = obj;
		this.hide = hide_me;
		this.show = show_me;
		this.set_left = set_left;
		this.get_visibility = get_visibility;
}
function hide_me()
{
		this.style.visibility = "hidden";
}
function show_me()
{
		this.style.visibility = "inherit";
}
function set_left(left)
{
		this.style.left = left;
}
function get_visibility()
{
		return this.style.visibility;
}
function setup()
{
		thegroup = new Array(document.layers.length);
		thenamedgrp = new Array(document.layers.length);
		for (i = 0; i < document.layers.length; i++)
		{
				thegroup[i] = new ns_object(document.layers[i]);
				thenamedgrp[document.layers[i].id] = new ns_object(document.layers[i]);
		}
}