/* 
	the format of the tree definition and
	the link definitions
*/

var LINKS = [
	'/tt_e_cont.htm|content|/timbatec_head_e.htm|header',
	'/tt_e_cont.htm|content|/timbatec_head_e.htm|header',
	'/news_new/english/news_cont.htm|content|/timbatec_head_e.htm|header',
	'/algiz7_cont_e.htm|content|/tt_algiz7_head_e.htm|header',
	'/algiz7_produkt_cont_e.htm|content|/tt_algiz7_head_e.htm|header',
	'/image_galleries/tt_galleries9_en.htm|content|/tt_algiz7_head_e.htm|header',
	'/downloads/english/downloads2_cont2.htm|content|/tt_algiz7_head_e.htm|header',
	'/accessories/english/accessories_cont1.htm|content|/tt_algiz7_head_e.htm|header',
	'/tt_algiz8_e_cont.htm|content|/tt_algiz8_head_e.htm|header',
	'/ttalgiz_hw_e_cont.htm|content|/tt_algiz8_head_e.htm|header',
	'/image_galleries/tt_galleries19_en.htm|content|/tt_algiz8_head_e.htm|header',
	'/downloads/english/downloads2_cont3.htm|content|/tt_algiz8_head_e.htm|header',
	'/accessories/english/accessories_cont2.htm|content|/tt_algiz8_head_e.htm|header',
	'/tt_algiz10_e_cont.htm|content|/tt_algiz10_head_e.htm|header',
	'/ttalgiz10_hw_e_cont.htm|content|/tt_algiz10_head_e.htm|header',
	'/image_galleries/tt_galleries20_en.htm|content|/tt_algiz10_head_e.htm|header',
	'/downloads/english/downloads2_cont4.htm|content|/tt_algiz10_head_e.htm|header',
	'/accessories/english/accessories_cont3.htm|content|/tt_algiz10_head_e.htm|header',
	'/ttm3_e_cont.htm|content|/tt_m3_head_e.htm|header',
	'/ttm3_hw_e_cont.htm|content|/tt_m3_head_e.htm|header',
	'/image_galleries/tt_galleries17_en.htm|content|/tt_m3_head_e.htm|header',
	'/downloads/english/downloads2_cont5.htm|content|/tt_m3_head_e.htm|header',
	'/accessories/english/accessories_cont4.htm|content|/tt_m3_head_e.htm|header',
	'/ttm3mobile_e_cont.htm|content|/tt_m3mob_head_e.htm|header',
	'/ttm3mobile_hw_e_cont.htm|content|/tt_m3mob_head_e.htm|header',
	'/image_galleries/tt_galleries16_en.htm|content|/tt_m3mob_head_e.htm|header',
	'/downloads/english/downloads2_cont6.htm|content|/tt_m3mob_head_e.htm|header',
	'/accessories/english/accessories_cont5.htm|content|/tt_m3mob_head_e.htm|header',
	'/nautizx5_cont_e.htm|content|/tt_nautizx5_head_e.htm|header',
	'/nautizx5_produkt_cont_e.htm|content|/tt_nautizx5_head_e.htm|header',
	'/image_galleries/tt_galleries15_en.htm|content|/tt_nautizx5_head_e.htm|header',
	'/downloads/english/downloads2_cont7.htm|content|/tt_nautizx5_head_e.htm|header',
	'/accessories/english/accessories_cont6.htm|content|/tt_nautizx5_head_e.htm|header',
	'/nautizx7_cont_e.htm|content|/tt_nautizx7_head_e.htm|header',
	'/nautizx7_produkt_cont_e.htm|content|/tt_nautizx7_head_e.htm|header',
	'/image_galleries/tt_galleries10_en.htm|content|/tt_nautizx7_head_e.htm|header',
	'/downloads/english/downloads2_cont8.htm|content|/tt_nautizx7_head_e.htm|header',
	'/accessories/english/accessories_cont7.htm|content|/tt_nautizx7_head_e.htm|header',
	'/tds_recon_cont_e.htm|content|/tds_recon_head_e.htm|header',
	'/tds_recon_produkt_cont_e.htm|content|/tds_recon_head_e.htm|header',
	'/image_galleries/tt_galleries13_en.htm|content|/tds_recon_head_e.htm|header',
	'/downloads/english/downloads2_cont9.htm|content|/tds_recon_head_e.htm|header',
	'/accessories/english/accessories_cont8.htm|content|/tds_recon_head_e.htm|header',
	'/tt_nomad_e_cont.htm|content|/tds_nomad_head_e.htm|header',
	'/ttnomad_hw_e_cont.htm|content|/tds_nomad_head_e.htm|header',
	'/image_galleries/tt_galleries14_en.htm|content|/tds_nomad_head_e.htm|header',
	'/downloads/english/downloads2_cont10.htm|content|/tds_nomad_head_e.htm|header',
	'/accessories/english/accessories_cont9.htm|content|/tds_nomad_head_e.htm|header',
	'/tds_ranger_cont_e.htm|content|/tds_ranger_head_e.htm|header',
	'/tds_ranger_produkt_cont_e.htm|content|/tds_ranger_head_e.htm|header',
	'/image_galleries/tt_galleries12_en.htm|content|/tds_ranger_head_e.htm|header',
	'/downloads/english/downloads2_cont11.htm|content|/tds_ranger_head_e.htm|header',
	'/accessories/english/accessories_cont10.htm|content|/tds_ranger_head_e.htm|header',
	'/yuma_cont_e.htm|content|/tds_yuma_head_e.htm|header',
	'/yuma_produkt_cont_e.htm|content|/tds_yuma_head_e.htm|header',
	'/image_galleries/tt_galleries11_en.htm|content|/tds_yuma_head_e.htm|header',
	'/downloads/english/downloads2_cont12.htm|content|/tds_yuma_head_e.htm|header',
	'/accessories/english/accessories_cont11.htm|content|/tds_yuma_head_e.htm|header',
	'/tt_extechapex_e_cont.htm|content|/tt_extech_head_e.htm|header',
	'/tt_extechapex_hw_e_cont.htm|content|/tt_extech_head_e.htm|header',
	'/image_galleries/tt_galleries18_en.htm|content|/tt_extech_head_e.htm|header',
	'/downloads/english/downloads_cont1.htm|content|/timbatec_head_e.htm|header',
	'/contacts/english/contacts_cont.htm|content|/timbatec_head_e.htm|header',
	'/partners/english/partners_cont.htm|content|/timbatec_head_e.htm|header'
]

function ols (o_item) {
	hrefArr = LINKS[o_item.n_id].split("|");
	// content must be last entry in history
	if (eval("top." + hrefArr[3] + ".location.pathname!='" + hrefArr[2] + "'")) {
		eval("top." + hrefArr[3] + ".location.replace('" + hrefArr[2] + "')");
	}
	if (eval("top." + hrefArr[1] + ".location.pathname!='" + hrefArr[0] + "'")) {
		eval("top." + hrefArr[1] + ".location.href='" + hrefArr[0] + "'");
	}
	onItemSelectHandler(o_item);
	return true;
}

var TREE2_ITEMS = [
	['TimbaTec', null, {'hs':'ols','hc':'rootNoClose'},
		['Home/Campaign', null, {'hs':'ols'}, null],
		['News', null, {'hs':'ols'}, null],
		['ALGIZ 7', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['ALGIZ 8', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['ALGIZ 10', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['M3+/M3+ eTicket', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['M3+ Mobile', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['Nautiz X5', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['Nautiz X7', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['TDS Recon', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['TDS Nomad', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['TDS Ranger', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['TDS Yuma', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null],
			['Downloads', null, {'hs':'ols'}, null],
			['Accessories', null, {'hs':'ols'}, null]
		],
		['EXTECH APEX Series', null, {'hs':'ols'},
			['Product', null, {'hs':'ols'}, null],
			['Image Download', null, {'hs':'ols'}, null]
		],
		['Downloads', null, {'hs':'ols'}, null],
		['Representatives', null, {'hs':'ols'}, null],
		['Links', null, {'hs':'ols'}, null]
	]
];

var TREE1_ITEMS = [
	['Latschbacher', 'http://www.latschbacher.com/index_e.htm', {'tw':'_top','hc':'rootNoClose'},
		['SignuMat', 'http://www.signumat.com/index_e.htm', {'tw':'_top'}],
		['Winforst Pro', 'http://www.winforstpro.com', {'tw':'_top'}],
                ['Tough Systems', 'http://www.toughsystems.at', {'tw':'_blank'}]
	]
];
