var TreeDef =
{
	"style" :
	{
		"css" : "bold1",
		"size"	 : [100, 20],
		"bgcolor" : "#FCFCF9",
		"color" : "#666666",
		"itemoffset" : {
		"x" : "5", "y" : "7"
		}
	},
	"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;",
		"action" : {"url" : "/indexp.php?pageType=genartlover"},
		"id" : "1",
		"style" : {
			"imgitem" : "images/newuser.gif"
		}
	},
	/*{
		"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;Artstocks Market",
		"id" : "3",
		"style" : {
			"imgdir" : "images/engine.gif",
			"imgdiropen" : "images/engine.gif",
			"itemoffset" : {
				"x" : "5", "y" : "0"
				}
		},
		"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;Wiki Art",
		"id" : "2",
		"style" : {
			"imgdir" : "images/picture_pencil.png",
			"imgdiropen" : "images/picture_pencil.png",
			"itemoffset" : {
				"x" : "5", "y" : "0"
				}
		},
		"menu" : {
			"items"	 : [
			{
				"text" : "My Alerts",
				"action" : {"url" : "/indexp.php?pageType=myalerts"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Add Basic Info",
				"action" : {"url" : "/indexw.php?pageType=step0"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Add Additional Info",
				"action" : {"url" : "/indexw.php?pageType=addinfo"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "My Basic Info Entries",
				"action" : {"url" : "/indexw.php?pageType=artlexhb"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "My Additional Info Entries",
				"action" : {"url" : "/indexw.php?pageType=myaddinfo"},
				"style" : { "css" : "space1"}
			}  ]
		}
	},	
	{
		"text" : "&nbsp;Objects Interchange",
		"id" : "3",
		"style" : {
			"imgdir" : "images/box__arrow.png",
			"imgdiropen" : "images/box__arrow.png",
			"itemoffset" : {
					"x" : "5", "y" : "0"
					}
		},
		"menu" : {
			"items"	 : [
			{
				"text" : "My orders",
				"action" : {"url" : "/indexp.php?pageType=myorders"},
				"style" : { "css" : "space1"}
			},
			{
				"text" : "Offer Object",
				"action" : {"url" : "/indexp.php?pageType=sendobject"},
				"style" : { "css" : "space1"}
			} ]
		}
	},	
	{
		"text" : "&nbsp;Ads Manager",
		"action" : {"url" : "/indexw.php?pageType=adsmgr"},
		"id" : "4",
		"style" : { "imgitem" : "images/blog__pencil.png" }
	},	
	{
		"text" : " &nbsp; Logout &nbsp;",
		"action" : {"url" : "/indexp.php?pageType=logout"},
		"id" : "5",
		"style" : { "imgitem" : "images/door_arrow.png" }
	}]
}; 

