function N_expand()
{
with (this)
	{
	opened=1;
	aname_1=f_name_1;
	aname_2=f_name_2;
	aname_3=f_name_3;
	}
}

function N_collapse()
{
with (this)
	{
	opened=0;
	aname_1=of1;
	aname_2=of2;
	aname_3=of3;
	}
}


function Node(Name,id,is_end,is_opened,expanded,flag_1,flag_2,flag_3,f_name_1,f_name_2,f_name_3,of_name_1,of_name_2,of_name_3)
{
//Properties Def-on
this.Name=Name;
this.id=id;
this.iend=is_end;
this.opened=is_opened;
this.f1=flag_1;
this.f2=flag_2;
this.f3=flag_3;
this.f_name_1=f_name_1;
this.f_name_2=f_name_2;
this.f_name_3=f_name_3;
this.of1=of_name_1;
this.of2=of_name_2;
this.of3=of_name_3;
this.aname_1="";
this.aname_2="";
this.aname_3="";
this.expanded=expanded;
//Method Def-on

this.collapse=N_collapse;
this.expand=N_expand;
}