/**
	 * Launches a complete Menutree
	 *
	 * @param integer ID of the start-node from where to launch.
	 * @param integer ID of the Variation you want to launch
	 */
	function launchMenuTree($menuId, $variation) {
		global $c;

		ini_set("max_execution_time", $c["timeout"]);
		$launchArray = getPageTree($menuId);

		for ($i = 0; $i < count($launchArray); $i++) {
			launchSitepage($launchArray[$i], 10, $variation);
		}
	}
				if ($spid != "")
					$title = getDBCell("sitepage_names", "NAME", "VARIATION_ID = $variation AND SPID = $spid");

				if ($title != "") {
					includePGNSources();

					if ($action == $lang->get("sp_rltree", "Refresh Tree") && $aclf->checkAccessToFunction("B_RELAUNCH_TREE")) {
						$mymenu = getDBCell("sitepage", "MENU_ID", "SPID=$spid");

						relaunchMenuTree($mymenu, $variation);
					} elseif ($action == $lang->get('launch_tree') && $aclf->checkAccessToFunction("B_LAUNCH_TREE")) {
						$mymenu = getDBCell("sitepage", "MENU_ID", "SPID=$spid");

						launchMenuTree($mymenu, $variation);
					} else if ($aclf->checkAccessToFunction("B_EXPIRE_LAUNCH")) {
						launchSitepage($spid, 10, $variation);
					}
				} else {
					$clusterPanel->addToTopText($lang->get("nosptitle"));
					$clusterPanel->setTopStyle("errorheader");
				}
			} else if ($action == $lang->get("sp_expire") && $aclf->checkAccessToFunction("B_EXPIRE_LAUNCH")) {
				expireSitepage($oid, 10, $variation);
			}
			else if ($action == $lang->get("rb_cache")) {
				// rebuildCache();	
				} else if ($action == $lang->get('exp_tree') && $aclf->checkAccessToFunction("B_EXPIRE_TREE")) {
				$mymenu = getDBCell("sitepage", "MENU_ID", "SPID=$spid");

				expireMenuTree($mymenu, $variation);
			} else if ($action == $lang->get('del_tree') && $aclf->checkAccessToFunction("B_DESTROY_TREE")) {