//Don't edit this file
function eget(id) {
	if (document.all) {
		var el = document.getElementById(id) ? document.getElementById(id) : document.all[id];
	} else {
		var el = document.getElementById(id);
	}

	if (el) {
		return el;
	} else {
		return null;
	}
}

function show1(id) {
alert (id);
/*
var arr = array("about", "portoflio");

	for (var i = 0; i < arr.length; i++) {
	{
		alert (arr[i]);
		try {
			eget(arg).className = "on";
			eget("sub"+arg).style.display = "block";
		}
		catch (){
		}
	}

return true;
*/
}

function unfold(arg) {
	try { eget(arg).className = "on"; } catch(el){}
	try { eget("sub"+arg).style.display = "block"; } catch(el){}
/**
setTimeout(function(){eget("sub"+arg).style.display = "block"}, 200);
**/
}

function fold1() {
	try { if (eget("menu_about").className != "on2") {eget("menu_about").className = "";} } catch(el){}
	try { eget("submenu_about").style.display = "none"; } catch(el){}	try { if (eget("menu_portfolio").className != "on2") {eget("menu_portfolio").className = "";} } catch(el){}
	try { eget("submenu_portfolio").style.display = "none"; } catch(el){}	try { if (eget("menu_project").className != "on2") {eget("menu_project").className = "";} } catch(el){}
	try { eget("submenu_project").style.display = "none"; } catch(el){}	try { if (eget("menu_furniture").className != "on2") {eget("menu_furniture").className = "";} } catch(el){}
	try { eget("submenu_furniture").style.display = "none"; } catch(el){}	try { if (eget("menu_contacts").className != "on2") {eget("menu_contacts").className = "";} } catch(el){}
	try { eget("submenu_contacts").style.display = "none"; } catch(el){}}

function fold2() {
	try { if (eget("menu_living_rooms").className != "on2") {eget("menu_living_rooms").className = "";} } catch(el){}
	try { eget("submenu_living_rooms").style.display = "none"; } catch(el){}
	try { if (eget("menu_bedrooms").className != "on2") {eget("menu_bedrooms").className = "";} } catch(el){}
	try { eget("submenu_bedrooms").style.display = "none"; } catch(el){}
	try { if (eget("menu_offices").className != "on2") {eget("menu_offices").className = "";} } catch(el){}
	try { eget("submenu_offices").style.display = "none"; } catch(el){}
	try { if (eget("menu_nurseries").className != "on2") {eget("menu_nurseries").className = "";} } catch(el){}
	try { eget("submenu_nurseries").style.display = "none"; } catch(el){}
	try { if (eget("menu_halls").className != "on2") {eget("menu_halls").className = "";} } catch(el){}
	try { eget("submenu_halls").style.display = "none"; } catch(el){}
	try { if (eget("menu_kitchens").className != "on2") {eget("menu_kitchens").className = "";} } catch(el){}
	try { eget("submenu_kitchens").style.display = "none"; } catch(el){}
	try { if (eget("menu_bathrooms").className != "on2") {eget("menu_bathrooms").className = "";} } catch(el){}
	try { eget("submenu_bathrooms").style.display = "none"; } catch(el){}
	try { if (eget("menu_shops").className != "on2") {eget("menu_shops").className = "";} } catch(el){}
	try { eget("submenu_shops").style.display = "none"; } catch(el){}
	try { if (eget("menu_etc").className != "on2") {eget("menu_etc").className = "";} } catch(el){}
	try { eget("submenu_etc").style.display = "none"; } catch(el){}
	try { if (eget("menu_restaurants").className != "on2") {eget("menu_restaurants").className = "";} } catch(el){}
	try { eget("submenu_restaurants").style.display = "none"; } catch(el){}
}

