var TreeDef =
{
	"style" :
	{
		"css" : "bold1",
		"size"	 : [160, 20],
		"bgcolor" : "#FCFCF9",
		"color" : "#666666"
	},
	"styleover" : {
		"color" : "#009999"
	},
	"items" : [{
		"text" : " &nbsp; My page &nbsp;",
		"action" : {"url" : "javascript:mypage();"},
		"id" : "0",
		"style" : { "imgitem" : "images/blog.png" }
	},
	{
		"text" : " &nbsp; My Profile &nbsp;",
		"id" : "1",
		"style" : {
			"imgdir" : "images/newuser.gif",
			"imgdiropen" : "images/newuser.gif"
		},
		"menu" : {
			"items"	 : [
			{
				"text" : "General info",
				"action" : {"url" : "/indexp.php?pageType=genartlover"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Change password",
				"action" : {"url" : "/indexp.php?pageType=chpassartlov"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Biography",
				"action" : {"url" : "/indexp.php?pageType=bioartlov"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Links",
				"action" : {"url" : "/indexp.php?pageType=linksartlov"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Upload images",
				"action" : {"url" : "/indexp.php?pageType=imgartlov"},
				"style" : { "css" : "space1"}
			} ]
		}
	},
	{
		"text" : " &nbsp; Artstocks Market &nbsp; ",
		"id" : "2",
		"style" : {
			"imgdir" : "images/artstck.gif",
			"imgdiropen" : "images/artstck.gif"
		},
		"menu" : {
			"items"	 : [
			{
				"text" : "My artstocks",
				"action" : {"url" : "/indexp.php?pageType=myartstocks"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Add artstocks",
				"action" : {"url" : "/indexp.php?pageType=addartstocks"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "My votes",
				"action" : {"url" : "/indexp.php?pageType=myvotesart"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Secundary Market",
				"style" : { "css" : "space1"}
			} ,
			{
				"text" : "My Bids",
				"style" : { "css" : "space1"}
			} ,
			{
				"text" : "My Posts",
				"style" : { "css" : "space1"}
			} ,
			{
				"text" : "Responses to my Posts",
				"style" : { "css" : "space1"}
			} ,
			{
				"text" : "Transactions in process",
				"style" : { "css" : "space1"}
			}  ]
		}
	},
	{
		"text" : " &nbsp; Reference Market ",
		"id" : "3",
		"style" : {
			"imgdir" : "images/engine.gif",
			"imgdiropen" : "images/engine.gif"
		},
		"menu" : {
			"items"	 : [
			{
				"text" : "My portfolio",
				"action" : {"url" : "/indexp.php?pageType=myportaf"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "My votes",
				"action" : {"url" : "/indexp.php?pageType=myvotesref"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Transactions",
				"action" : {"url" : "/indexp.php?pageType=transacref"},
				"style" : { "css" : "space1"}
			} ]
		}
	},
		{
		"text" : " &nbsp; Logout &nbsp;",
		"action" : {"url" : "/indexp.php?pageType=logout"},
		"id" : "0",
		"style" : { "imgitem" : "images/door_arrow.png" }
	}]
}; 
