/**
	 * launches the whole website!
	 */
	function launchWholeSite() {
	  $variations = createDBCArray("variations", "VARIATION_ID", "1");
	  foreach ($variations as $variation) {
	  	launchMenuTree(0, $variation);
	  }
	}
		if (value("action") != "0") {
			if ($action == $lang->get("sp_launch") || $action == $lang->get('launch_tree') || $action == $lang->get("sp_rltree", "Refresh Tree")) {
				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");